mirror of
https://github.com/InvoiceShelf/InvoiceShelf.git
synced 2026-04-07 21:44:51 +00:00
Setup pint & run code style fix
This commit is contained in:
@@ -2,23 +2,22 @@
|
||||
|
||||
namespace InvoiceShelf\Http\Controllers\V1\Admin\Report;
|
||||
|
||||
use PDF;
|
||||
use Carbon\Carbon;
|
||||
use InvoiceShelf\Models\Company;
|
||||
use InvoiceShelf\Models\Expense;
|
||||
use InvoiceShelf\Models\Payment;
|
||||
use InvoiceShelf\Models\Currency;
|
||||
use Illuminate\Http\Request;
|
||||
use InvoiceShelf\Models\CompanySetting;
|
||||
use Illuminate\Support\Facades\App;
|
||||
use InvoiceShelf\Http\Controllers\Controller;
|
||||
use InvoiceShelf\Models\Company;
|
||||
use InvoiceShelf\Models\CompanySetting;
|
||||
use InvoiceShelf\Models\Currency;
|
||||
use InvoiceShelf\Models\Expense;
|
||||
use InvoiceShelf\Models\Payment;
|
||||
use PDF;
|
||||
|
||||
class ProfitLossReportController extends Controller
|
||||
{
|
||||
/**
|
||||
* Handle the incoming request.
|
||||
*
|
||||
* @param \Illuminate\Http\Request $request
|
||||
* @param string $hash
|
||||
* @return \Illuminate\Http\JsonResponse
|
||||
*/
|
||||
@@ -28,7 +27,7 @@ class ProfitLossReportController extends Controller
|
||||
|
||||
$this->authorize('view report', $company);
|
||||
|
||||
$locale = CompanySetting::getSetting('language', $company->id);
|
||||
$locale = CompanySetting::getSetting('language', $company->id);
|
||||
|
||||
App::setLocale($locale);
|
||||
|
||||
@@ -52,7 +51,6 @@ class ProfitLossReportController extends Controller
|
||||
$to_date = Carbon::createFromFormat('Y-m-d', $request->to_date)->format($dateFormat);
|
||||
$currency = Currency::findOrFail(CompanySetting::getSetting('currency', $company->id));
|
||||
|
||||
|
||||
$colors = [
|
||||
'primary_text_color',
|
||||
'heading_text_color',
|
||||
|
||||
Reference in New Issue
Block a user