@extends('layouts.main') @section('page-title') {{ __('Manage Bills') }} @endsection @section('page-breadcrumb') {{ __('Bill') }} @endsection @section('page-action')
@endsection @push('css') @endpush @section('content')| {{ __('Bill') }} | @if (!\Auth::user()->type != 'vendor'){{ __('Vendor') }} | @endif{{ __('Bill Date') }} | {{ __('Due Date') }} | {{ __('Due Amount') }} | {{ __('Status') }} | @if (Gate::check('bill edit') || Gate::check('bill delete') || Gate::check('bill show') || Gate::check('bill duplicate')){{ __('Action') }} | @endif
|---|---|---|---|---|---|---|
| @can('bill show') {{ Modules\Account\Entities\Bill::billNumberFormat($bill->bill_id) }} @else {{ Modules\Account\Entities\Bill::billNumberFormat($bill->bill_id) }} @endif | @if (!\Auth::user()->type != 'vendor'){{ !empty($bill->vendor) ? $bill->vendor->name : '' }} | @endif{{ company_date_formate($bill->bill_date) }} |
@if ($bill->due_date < date('Y-m-d'))
{{ company_date_formate($bill->due_date) }} @else {{ company_date_formate($bill->due_date) }} @endif |
{{ currency_format_with_sym($bill->getDue()) }} | @if ($bill->status == 0) {{ __(Modules\Account\Entities\Bill::$statues[$bill->status]) }} @elseif($bill->status == 1) {{ __(Modules\Account\Entities\Bill::$statues[$bill->status]) }} @elseif($bill->status == 2) {{ __(Modules\Account\Entities\Bill::$statues[$bill->status]) }} @elseif($bill->status == 3) {{ __(Modules\Account\Entities\Bill::$statues[$bill->status]) }} @elseif($bill->status == 4) {{ __(Modules\Account\Entities\Bill::$statues[$bill->status]) }} @endif | @if (Gate::check('bill edit') || Gate::check('bill delete') || Gate::check('bill show') || Gate::check('bill duplicate'))@can('bill duplicate') @endcan @can('bill show') @endcan @if (module_is_active('ProductService') && $bill->bill_module == 'taskly' ? module_is_active('Taskly') : module_is_active('Account')) @can('bill edit') @endcan @endif @can('bill delete') @endcan | @endif