@assets @endassets @if ($showFilters) @include('common_area_bills.filters') @endif
@if($showActions) @if(user_can('Delete Common Area Bills')) @lang('app.delete') @endif @lang('app.pay') @endif
@forelse ($commonAreaBillData as $item) @empty @endforelse
@lang('modules.settings.billType') @lang('modules.utilityBills.billDate') @lang('modules.utilityBills.billAmount') @lang('modules.settings.status') @lang('modules.utilityBills.billPaymentDate') @lang('app.action')
{{ $item->billType->name ?? '--' }} {{ \Carbon\Carbon::parse($item->bill_date)->format('d F Y') }} {{ currency_format($item->bill_amount) }} @if($item->status === 'paid') {{ __('app.' . $item->status) }} @else {{ __('app.' . $item->status) }} @endif @if($item->status == "paid" ) {{ \Carbon\Carbon::parse($item->bill_payment_date)->format('d F Y') }} @else

--

@endif
@lang('app.view') @if(user_can('Update Common Area Bills')) @lang('app.update') @endif @if($item->status == "paid") @lang('app.download') @lang('modules.utilityBills.print') @endif @if($item->status == "unpaid") @if(user_can('Delete Common Area Bills')) @lang('app.delete') @endif @lang('app.pay') @endif @if ($item->bill_proof) @lang('app.billDownload') @endif
{{ $commonAreaBillData->links() }}
{{ __("modules.commonAreaBill.showEditCommonAreaBill") }} @if ($commonAreaBill) @livewire('forms.editCommon-area-bill', ['commonAreaBill' => $commonAreaBill], key(str()->random(50))) @endif {{ __('Close') }} {{ __("modules.commonAreaBill.showCommonAreaBill") }} @if ($commonAreaBill) @livewire('forms.showCommon-area-bill', ['commonAreaBill' => $commonAreaBill], key(str()->random(50))) @endif {{ __('Close') }} {{ __("modules.commonAreaBill.showCommonAreaBill") }} @if ($commonAreaBill) @livewire('forms.showCommonAreaBill', ['commonAreaBill' => $commonAreaBill], key(str()->random(50))) @endif {{ __('Close') }} @lang('modules.commonAreaBill.deleteCommonAreaBill') @lang('modules.commonAreaBill.deleteutilityBillsMessage') {{ __('Cancel') }} @if ($commonAreaBill) {{ __('Delete') }} @endif {{ __("modules.commonAreaBill.addPaymentDetail") }} @if ($commonAreaBill) @livewire('forms.Common-area-bill-pay',['commonAreaBill' => $commonAreaBill], key(str()->random(50))) @endif {{ __('Close') }} {{ __("modules.commonAreaBill.addPaymentDetail") }}
@csrf
@lang('app.save')
{{ __('Close') }}
@lang('modules.commonAreaBill.deleteCommonAreaBill') @lang('messages.deleteMessage') {{ __('Cancel') }} {{ __('Delete') }}