You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
837 B
31 lines
837 B
<?php
|
|
|
|
namespace App\Http\Controllers\Web\Billing;
|
|
|
|
use App\Attributes\LayoutData;
|
|
use App\Attributes\Seo;
|
|
use App\Http\Controllers\Controller;
|
|
use App\Http\DataTables\Billing\ProductDataTable;
|
|
|
|
class ProductController extends Controller
|
|
{
|
|
/**
|
|
* Handle the incoming request.
|
|
*/
|
|
#[Seo(
|
|
title: 'domains/billing/seo.product.title',
|
|
description: 'domains/billing/seo.product.description',
|
|
keywords: 'domains/billing/seo.product.keywords'
|
|
)]
|
|
#[LayoutData(
|
|
header: 'domains/billing/seo.product.title',
|
|
breadcrumbs: [
|
|
'ui/menu.dashboard' => 'dashboard',
|
|
'domains/billing/seo.product.title' => '',
|
|
],
|
|
)]
|
|
public function __invoke(ProductDataTable $dataTable)
|
|
{
|
|
return $dataTable->render('pages.billing.products.index');
|
|
}
|
|
}
|
|
|