21 lines
496 B
PHP
21 lines
496 B
PHP
<?php
|
|
|
|
namespace App\Admin\Controllers;
|
|
|
|
use App\Http\Controllers\Controller;
|
|
use App\Services\ShippingService;
|
|
use Dcat\Admin\Layout\Content;
|
|
|
|
class HomeController extends Controller
|
|
{
|
|
public function index(Content $content)
|
|
{
|
|
$shippingService = new ShippingService();
|
|
$amount = $shippingService->countShippingAmount(3560, 2000, 1, 2225);
|
|
dd($amount);
|
|
return $content
|
|
->header('Dashboard')
|
|
->description('Description...');
|
|
}
|
|
}
|