@extends('layouts.app')
@push('datatable-styles')
@include('sections.datatable_css')
@endpush
@section('filter-section')
@if (!in_array('client', user_roles()))
@lang('app.client')
@endif
@lang('app.clearFilters')
@endsection
@php
$addInvoicesPermission = user()->permission('add_invoices');
$manageRecurringInvoicesPermission = user()->permission('manage_recurring_invoice');
@endphp
@section('content')
@if ($addInvoicesPermission == 'all')
@lang('modules.invoices.addInvoice')
@endif
@if ($addInvoicesPermission == 'all' || $manageRecurringInvoicesPermission == 'all')
@lang('app.invoiceRecurring')
@endif
@if ($addInvoicesPermission == 'all')
@lang('app.create') @lang('app.timeLog') @lang('app.invoice')
@endif
{!! $dataTable->table(['class' => 'table table-hover border-0 w-100']) !!}
@endsection
@push('scripts')
@include('sections.datatable_js')
@endpush