coding style

This commit is contained in:
Ludovic CANDELLIER
2023-09-13 22:53:37 +02:00
parent da48f41ec0
commit 5f215cef81
52 changed files with 122 additions and 129 deletions

View File

@@ -1,4 +1,5 @@
<?php
namespace App\Http\Controllers\Admin\Core;
use App\Http\Controllers\Controller as ParentController;

View File

@@ -19,6 +19,7 @@ class HomeController extends Controller
$start = $request->input('start');
$end = $request->input('end');
$data = Dashboards::getStats($start, $end);
// dump($data);
return view('Admin.Shop.Dashboard.index', $data);
}

View File

@@ -4,7 +4,6 @@ namespace App\Http\Controllers\Admin\Shop;
use App\Datatables\Admin\Shop\DeliveryPackagesDataTable;
use App\Repositories\Shop\DeliveryPackages;
use App\Repositories\Shop\SaleChannels;
use Illuminate\Http\Request;
class DeliveryPackageController extends Controller

View File

@@ -36,7 +36,7 @@ class DeliveryTypeCalculationController extends Controller
'calcul' => DeliveryTypeCalculations::get($id)->toArray(),
'delivery_types' => DeliveryTypes::getOptions(),
];
return view('Admin.Shop.DeliveryTypeCalculations.edit', $data);
}

View File

@@ -4,7 +4,6 @@ namespace App\Http\Controllers\Admin\Shop;
use App\Datatables\Admin\Shop\DeliveryTypesDataTable;
use App\Repositories\Shop\DeliveryTypes;
use App\Repositories\Shop\SaleChannels;
use Illuminate\Http\Request;
class DeliveryTypeController extends Controller

View File

@@ -4,8 +4,8 @@ namespace App\Http\Controllers\Admin\Shop;
use App\Datatables\Admin\Shop\OrdersDataTable;
use App\Http\Controllers\Controller;
use App\Repositories\Shop\Orders;
use App\Repositories\Shop\OrderMails;
use App\Repositories\Shop\Orders;
use Illuminate\Http\Request;
class OrderController extends Controller