Setup pint & run code style fix

This commit is contained in:
gdarko
2024-01-29 04:46:01 -06:00
parent 8de34efd8c
commit 4ab92473e9
406 changed files with 1616 additions and 2026 deletions

View File

@@ -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);