mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fixes for required fields
This commit is contained in:
parent
ced6588087
commit
3a8513cbaf
@ -73,6 +73,11 @@ class RequiredClientInfo extends Component
|
||||
'state',
|
||||
'postal_code',
|
||||
'country_id',
|
||||
'shipping_address1',
|
||||
'shipping_address2',
|
||||
'shipping_city',
|
||||
'shipping_state',
|
||||
'shipping_postal_code',
|
||||
'shipping_country_id',
|
||||
];
|
||||
|
||||
|
@ -116,7 +116,7 @@ class AddGatewayFee extends AbstractService
|
||||
|
||||
$this->invoice
|
||||
->ledger()
|
||||
->updateInvoiceBalance($adjustment, 'Adjustment for removing gateway fee');
|
||||
->updateInvoiceBalance($adjustment, 'Adjustment for adding gateway fee');
|
||||
}
|
||||
|
||||
return $this->invoice;
|
||||
@ -165,7 +165,7 @@ class AddGatewayFee extends AbstractService
|
||||
|
||||
$this->invoice
|
||||
->ledger()
|
||||
->updateInvoiceBalance($adjustment * -1, 'Adjustment for removing gateway fee');
|
||||
->updateInvoiceBalance($adjustment * -1, 'Adjustment for adding gateway fee');
|
||||
}
|
||||
|
||||
|
||||
|
@ -157,7 +157,7 @@ Route::group(['middleware' => ['throttle:100,1', 'api_db', 'token_auth', 'locale
|
||||
Route::post('recurring_quotes/bulk', 'RecurringQuoteController@bulk')->name('recurring_quotes.bulk');
|
||||
Route::put('recurring_quotes/{recurring_quote}/upload', 'RecurringQuoteController@upload');
|
||||
|
||||
Route::post('refresh', 'Auth\LoginController@refresh')->middleware('throttle:150,3');
|
||||
Route::post('refresh', 'Auth\LoginController@refresh')->middleware('throttle:300,3');
|
||||
|
||||
Route::post('reports/clients', 'Reports\ClientReportController');
|
||||
Route::post('reports/contacts', 'Reports\ClientContactReportController');
|
||||
|
Loading…
x
Reference in New Issue
Block a user