Support ids on sidebars

This commit is contained in:
David Bomba 2024-10-22 06:31:13 +11:00
parent c7139d8cc8
commit dd5ba5a240
1 changed files with 1 additions and 1 deletions

View File

@ -141,7 +141,7 @@ class PurchaseOrderController extends Controller
// $data[] = [ 'title' => ctrans('texts.dashboard'), 'url' => 'client.dashboard', 'icon' => 'activity'];
if (self::MODULE_PURCHASE_ORDERS & $enabled_modules) {
$data[] = ['title' => ctrans('texts.purchase_orders'), 'url' => 'vendor.purchase_orders.index', 'icon' => 'file-text'];
$data[] = ['title' => ctrans('texts.purchase_orders'), 'url' => 'vendor.purchase_orders.index', 'icon' => 'file-text', 'id' => 'purchase_orders'];
}
// $data[] = ['title' => ctrans('texts.documents'), 'url' => 'client.documents.index', 'icon' => 'download'];