@extends('layouts.main') @section('page-title') {{ __('Manage Bills') }} @endsection @section('page-breadcrumb') {{ __('Bill') }} @endsection @section('page-action')
@stack('addButtonHook') @if (module_is_active('ProductService')) @permission('bill create') @endpermission @endif
@endsection @push('css') @if (module_is_active('Signature')) @endif @include('layouts.includes.datatable-css') @endpush @push('scripts') @include('layouts.includes.datatable-js') {{ $dataTable->scripts() }} @endpush @section('content')
{{ Form::label('bill_date', __('Date'), ['class' => 'form-label']) }} {{ Form::date('bill_date', isset($_GET['bill_date']) ? $_GET['bill_date'] : null, ['class' => 'form-control form-control flatpickr-to-input', 'placeholder' => 'Select Date']) }}
@if (\Auth::user()->type != 'vendor')
{{ Form::label('vendor', __('Vendor'), ['class' => 'form-label']) }} {{ Form::select('vendor', $vendor, isset($_GET['vendor']) ? $_GET['vendor'] : '', ['class' => 'form-control ', 'placeholder' => 'Select Vendor']) }}
@endif
{{ Form::label('status', __('Status'), ['class' => 'form-label']) }} {{ Form::select('status', $status, isset($_GET['status']) ? $_GET['status'] : '', ['class' => 'form-control ', 'placeholder' => 'Select Status']) }}
{{ $dataTable->table(['width' => '100%']) }}
@endsection @push('scripts') @endpush