@extends('backend.layouts_backend.master2') @section('title') All Assets Hire Records @endsection @section('content') {{-- header --}}

All Assets Hire Records

@if (Auth::user()->can('studio-asset-hire-create')) @endif
{{-- end header --}}
@include('backend.includes.message_alerts')
@foreach ($asset_hires as $key => $hire_record) {{-- view details modal --}} {{-- end of view modal --}} @endforeach
#Id Client Branch Rental Fee Deposit Paid Balance Payment Status Hire Status Action
{{ $key + 1 ?? '' }} {{ $hire_record->client->first_name ?? '' }} {{ $hire_record->client->last_name ?? '' }} {{ $hire_record->client->other_names ?? '' }} {{ $hire_record->branch->branch_name ?? '' }} {{ $hire_record->rental_total_amount ?? '' }} {{ $hire_record->rental_deposit_made ?? '' }} {{ $hire_record->balance ?? '' }} {!! get_payment_status_badge($hire_record->payment_status ?? '') !!} {!! get_hire_status_badge($hire_record->hire_status ?? '') !!}
@if (Auth::user()->can('studio-asset-hire-show')) @endif @if (Auth::user()->can('studio-asset-hire-edit')) @endif @if (Auth::user()->can('studio-asset-hire-delete'))
@csrf @method('DELETE')
@endif

@endsection