mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Merge https://github.com/codedge/invoiceninja into codedge-#904-Unify-js-no-public-js
Conflicts: app/Http/Controllers/AccountController.php resources/lang/en/texts.php
This commit is contained in:
commit
7bb8f0ca4a
36
.codeclimate.yml
Normal file
36
.codeclimate.yml
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
engines:
|
||||||
|
csslint:
|
||||||
|
enabled: true
|
||||||
|
duplication:
|
||||||
|
enabled: true
|
||||||
|
config:
|
||||||
|
languages:
|
||||||
|
- ruby
|
||||||
|
- javascript
|
||||||
|
- python
|
||||||
|
- php
|
||||||
|
eslint:
|
||||||
|
enabled: false
|
||||||
|
fixme:
|
||||||
|
enabled: true
|
||||||
|
phpmd:
|
||||||
|
enabled: true
|
||||||
|
ratings:
|
||||||
|
paths:
|
||||||
|
- "**.css"
|
||||||
|
- "**.inc"
|
||||||
|
- "**.js"
|
||||||
|
- "**.jsx"
|
||||||
|
- "**.module"
|
||||||
|
- "**.php"
|
||||||
|
- "**.py"
|
||||||
|
- "**.rb"
|
||||||
|
exclude_paths:
|
||||||
|
- "bootstrap/cache"
|
||||||
|
- "resources/"
|
||||||
|
- "storage/"
|
||||||
|
- "tests/"
|
||||||
|
- "**.md"
|
||||||
|
- "**.min.js"
|
||||||
|
- "**.min.php"
|
||||||
|
- "**.min.css"
|
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
# Invoice Ninja
|
# Invoice Ninja
|
||||||
|
|
||||||
[](https://travis-ci.org/invoiceninja/invoiceninja)
|
[](https://travis-ci.org/invoiceninja/invoiceninja)
|
||||||
[](https://gitter.im/hillelcoren/invoice-ninja?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
[](https://gitter.im/hillelcoren/invoice-ninja?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
||||||
|
|
||||||
## [Hosted](https://www.invoiceninja.com) | [Self-hosted](https://invoiceninja.org)
|
## [Hosted](https://www.invoiceninja.com) | [Self-hosted](https://invoiceninja.org)
|
||||||
|
@ -1461,7 +1461,6 @@ class AccountController extends BaseController
|
|||||||
return trans('texts.create_invoice_for_sample');
|
return trans('texts.create_invoice_for_sample');
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @var \App\Models\Account $account */
|
|
||||||
$account = Auth::user()->account;
|
$account = Auth::user()->account;
|
||||||
$invitation = $invoice->invitations->first();
|
$invitation = $invoice->invitations->first();
|
||||||
|
|
||||||
|
@ -95,6 +95,10 @@ class DocumentController extends BaseController
|
|||||||
|
|
||||||
public function postUpload(CreateDocumentRequest $request)
|
public function postUpload(CreateDocumentRequest $request)
|
||||||
{
|
{
|
||||||
|
if (!Utils::hasFeature(FEATURE_DOCUMENTS)) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
$result = $this->documentRepo->upload($request->all(), $doc_array);
|
$result = $this->documentRepo->upload($request->all(), $doc_array);
|
||||||
|
|
||||||
if(is_string($result)){
|
if(is_string($result)){
|
||||||
|
@ -2028,6 +2028,7 @@ $LANG = array(
|
|||||||
'apply_taxes' => 'Apply taxes',
|
'apply_taxes' => 'Apply taxes',
|
||||||
'min_to_max_users' => ':min to :max users',
|
'min_to_max_users' => ':min to :max users',
|
||||||
'max_users_reached' => 'The maximum number of users has been reached.',
|
'max_users_reached' => 'The maximum number of users has been reached.',
|
||||||
|
'dwolla' => 'Dwolla',
|
||||||
'buy_now_buttons' => 'Buy Now Buttons',
|
'buy_now_buttons' => 'Buy Now Buttons',
|
||||||
'landing_page' => 'Landing Page',
|
'landing_page' => 'Landing Page',
|
||||||
'payment_type' => 'Payment Type',
|
'payment_type' => 'Payment Type',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user