@extends('layouts.admin.app') @section('title',translate('messages.Cash_Collection')) @push('css_or_js') @endpush @section('content')
| {{ translate('messages.sl') }} | {{ translate('messages.Collected_From') }} | {{ translate('messages.User_Type') }} | {{translate('messages.Collected_At')}} | {{translate('messages.Collected_Amount')}} | {{translate('messages.Paymen_Method')}} | {{translate('messages.Reference')}} | {{translate('messages.action')}} |
|---|---|---|---|---|---|---|---|
| {{$k+$account_transaction->firstItem()}} | @if($at->restaurant) @php($data=$at->restaurant) {{ Str::limit($data->name, 20, '...') }} @elseif($at->deliveryman) @php($data=$at->deliveryman) {{ $data->f_name }} {{ $data->l_name }} @else @php($data=null) {{translate('messages.not_found')}} @endif | {{ \App\CentralLogics\Helpers::time_date_format($at->created_at) }} | {{\App\CentralLogics\Helpers::format_currency($at['amount'])}} | {{ translate($at['method']) }} | {{ $at['ref'] ? translate($at['ref']) : translate('messages.N/A') }} |