@lang('rentals/contract-invoices/show-from-qr.lease_invoice')
@lang('rentals/contract-invoices/show-from-qr.date') :
{{ $resource->accrued_date_starting }}
@lang('rentals/contract-invoices/show-from-qr.document_number')
{{ $resource->id }}
@lang('rentals/contract-invoices/show-from-qr.document_status')
{{ $resource->post_status ? 'مصدّرة' : 'غير مصدّرة' }}
@lang('rentals/contract-invoices/show-from-qr.description')
{{ $resource->notice ?? '---' }}
@lang('rentals/contract-invoices/show-from-qr.tenant')
{{ $resource->contract->tenant->name }}
@lang('rentals/contract-invoices/show-from-qr.type_of_rented_place')
{{ $resource->contract->rented_place_type == 'shop' ? 'محل' : 'بوث' }}
@lang('rentals/contract-invoices/show-from-qr.location')
{{ $resource->contract->rented_place->title }}
@lang('rentals/contract-invoices/show-from-qr.invoice_value')
{{ $resource->amount }}
@lang('rentals/contract-invoices/show-from-qr.remaining_value')
{{ $resource->accrued_amount }}
@lang('rentals/contract-invoices/show-from-qr.from_account')
{{ $resource->contract->tenant->name }}
@lang('rentals/contract-invoices/show-from-qr.to_account')
@lang('rentals/contract-invoices/show-from-qr.accrued_revenue_current_liabilities')
{!! QrCode::size(100)->generate(
route('tenant.show-document', ['type' => 'rentals-invoice', 'id' => $resource->id]),
) !!}