@extends('administrator.layout.master') @push('plugin-styles') @foreach (config('assets.datatable.css') as $datatable) @endforeach @endpush @section('breadcrumb') @php $breadcrumbItems = [ ['label' => 'Invoice'], ['label' => 'Invoice Management'], ['label' => 'Invoice List', 'active' => true], ]; @endphp @endsection @section('content') @if(auth()->guard('admins')->user()->can("manager invoice"))
Add New Invoice
@php $invoiceColumns = [ ['key' => 'invoice_num', 'label' => 'Invoice #'], ['key' => 'date', 'label' => 'Date'], ['key' => 'customer', 'label' => 'Client Name'], ['key' => 'payment', 'label' => 'Payment Method'], ['key' => 'total', 'label' => 'Total'], ['key' => 'status', 'label' => 'Status'], ['key' => 'action', 'label' => 'Action'], ]; @endphp
@else
Access Denied - You are not assigned to any Invoice management department
@endif @endsection @push('plugin-scripts') @foreach (config('assets.datatable.js') as $datatable) @endforeach @endpush