mirror of
https://github.com/InvoiceShelf/InvoiceShelf.git
synced 2026-04-08 05:54:47 +00:00
Setup pint & run code style fix
This commit is contained in:
@@ -37,7 +37,7 @@ class BulkExchangeRateController extends Controller
|
||||
'base_sub_total' => $invoice->sub_total * $currency['exchange_rate'],
|
||||
'base_total' => $invoice->total * $currency['exchange_rate'],
|
||||
'base_tax' => $invoice->tax * $currency['exchange_rate'],
|
||||
'base_due_amount' => $invoice->due_amount * $currency['exchange_rate']
|
||||
'base_due_amount' => $invoice->due_amount * $currency['exchange_rate'],
|
||||
]);
|
||||
|
||||
$this->items($invoice);
|
||||
@@ -53,7 +53,7 @@ class BulkExchangeRateController extends Controller
|
||||
'base_discount_val' => $estimate->sub_total * $currency['exchange_rate'],
|
||||
'base_sub_total' => $estimate->sub_total * $currency['exchange_rate'],
|
||||
'base_total' => $estimate->total * $currency['exchange_rate'],
|
||||
'base_tax' => $estimate->tax * $currency['exchange_rate']
|
||||
'base_tax' => $estimate->tax * $currency['exchange_rate'],
|
||||
]);
|
||||
|
||||
$this->items($estimate);
|
||||
@@ -82,18 +82,18 @@ class BulkExchangeRateController extends Controller
|
||||
}
|
||||
|
||||
$settings = [
|
||||
'bulk_exchange_rate_configured' => 'YES'
|
||||
'bulk_exchange_rate_configured' => 'YES',
|
||||
];
|
||||
|
||||
CompanySetting::setSettings($settings, $request->header('company'));
|
||||
|
||||
return response()->json([
|
||||
'success' => true
|
||||
'success' => true,
|
||||
]);
|
||||
}
|
||||
|
||||
return response()->json([
|
||||
'error' => false
|
||||
'error' => false,
|
||||
]);
|
||||
}
|
||||
|
||||
@@ -105,7 +105,7 @@ class BulkExchangeRateController extends Controller
|
||||
'base_discount_val' => $item->discount_val * $model->exchange_rate,
|
||||
'base_price' => $item->price * $model->exchange_rate,
|
||||
'base_tax' => $item->tax * $model->exchange_rate,
|
||||
'base_total' => $item->total * $model->exchange_rate
|
||||
'base_total' => $item->total * $model->exchange_rate,
|
||||
]);
|
||||
|
||||
$this->taxes($item);
|
||||
|
||||
Reference in New Issue
Block a user