{{ __('messages.Receipts Search') }}

  • {{ __('messages.search') }}
    {{ __('messages.Created by') }} .defer created_by_user_id @foreach (\App\Models\User::whereHas('orders')->get() as $user) @endforeach
    @foreach (\App\Models\User::whereHas('owner_receipts')->get() as $user_f) @endforeach
    {{__('messages.Account Type')}} .defer account_type
    {{__('messages.currency')}} .defer currency_id @foreach(\App\Models\Currency::all() as $currency) @endforeach
    {{ __('messages.receipt_date') }}
    {{ __('messages.Payment Method') }}
    @foreach (\App\Models\PaymentMethod::where('id', '<=', 3)->orWhere('id', '>', 7)->get() as $paymentMethod)
    @endforeach
    @if ($payment_method_id == 2)
    payment_machine_id {{ __('messages.Payment Machine') }} .defer @foreach (\App\Models\PaymentMachine::all() as $paymentMachine) @endforeach
    @endif
@can('export all receipts excel') @endcan @can('export all receipts pdf') @endcan
# {{ __('messages.Receipt No.') }} {{ __('messages.Created by') }} {{ __('messages.Created At') }} {{ __('messages.Customer') }} {{ __('messages.mobile') }} {{ __('messages.last_follow_up_by') }} {{ __('messages.Total Payment') }} {{ __('messages.Payment Method') }} {{ __('messages.statement') }} {{ __('messages.Receipt') }} {{__('messages.Total')}} {{$q_clone->count()}} {{__('messages.Receipts')}} {{ number_format( $q_clone->sum('amount') ,2)}}       @forelse ($receipts as $key =>$receipt) #{{ $receipts->firstItem() + $key }} {{ __('messages.Receipt No.') }} {{ $receipt->receipt_serial_no }} {{ __('messages.Created by') }} {{ $receipt->created_by_user ? $receipt->created_by_user->name : '-' }} {{ __('messages.Created At') }}{{ $receipt->created_at ? $receipt->created_at : '' }} {{ __('messages.Customer') }} @if ($receipt->model && $receipt->model->account_type) @if ($receipt->model->account_type == 'App\Models\Customer') {{ $receipt->model->account->name }} @php $mobile =$receipt->model->account->mobile; @endphp @else {{ $receipt->model->account->name }} @endif @endif {{ __('messages.mobile') }} @if ($receipt->model && $receipt->model->account_type) {{ $mobile ??"" }} @endif {{ __('messages.last_follow_up_by') }} @if ($receipt->model && $receipt->model->account_type) {{ $receipt->model->account->last_follow_up_by_user->name }} @endif {{ __('messages.Total Payment') }} {{ number_format((float) $receipt->amount, 2) }} {{ $receipt->currency->name }} {{ __('messages.Payment Method') }} {{ $receipt->payment_method->name }} @if ($receipt->payment_method_id == 2 ) {{($receipt->payment_machine_id)? " - " . $receipt->payment_machine->name : "" }} @elseif ($receipt->payment_method_id == 3 ) {{($receipt->bank_account_id)? " - " . $receipt->bank_account->name : "" }} @endif {{ __('messages.statement') }} {{ $receipt->statement }} {{ __('messages.Receipt') }} {{-- --}} @empty {{ __('messages.Empty Result') }} @endforelse {{ $receipts->links() }}
@can('show deleted receipts')
Trash Order Payments
# {{ __('messages.Receipt No.') }} {{ __('messages.Created by') }} {{ __('messages.Created At') }} {{ __('messages.Customer') }} {{ __('messages.last_follow_up_by') }} {{ __('messages.Total Payment') }} {{ __('messages.Payment Method') }} @can('download trashed receipt') {{ __('messages.Receipt') }} @endcan @forelse ($trashed_receipts as $key =>$receipt) #{{ $trashed_receipts->firstItem() + $key }} {{ __('messages.Receipt No.') }} {{ $receipt->receipt_serial_no }} {{ __('messages.Created by') }} {{ $receipt->created_by_user ? $receipt->created_by_user->name : '-' }} {{ __('messages.Created At') }}{{ $receipt->created_at ? $receipt->created_at : '' }} {{ __('messages.Customer') }} @if ($receipt->model && $receipt->model->account_type) @if ($receipt->model->account_type == 'App\Models\Customer') {{ $receipt->model->account->name }} @else {{ $receipt->model->account->name }} @endif @endif {{ __('messages.last_follow_up_by') }} @if ($receipt->model && $receipt->model->account_type) {{ $receipt->model->account->last_follow_up_by_user->name }} @endif {{ __('messages.Total Payment') }} {{ number_format((float) $receipt->amount, 2) }} {{ $receipt->currency->name }} {{ __('messages.Payment Method') }} {{ $receipt->payment_method->name }} {{ __('messages.Receipt') }}
@can('download trashed receipt') {{-- --}} @endcan @can('restore receipt')
{{ __('messages.Restore') }} {{__('messages.Receipt')}} {{ $receipt->receipt_serial_no}} {{ $receipt->id }} restore_item({{$receipt->id}}) mt-0
@endcan @can('hard delete receipt')
{{__('messages.Receipt')}} {{ $receipt->receipt_serial_no}} {{__('messages.permanently')}} {{$receipt->id}} delete_permanently({{$receipt->id}})
@endcan
@empty {{ __('messages.Empty Result') }} @endforelse
{{ $trashed_receipts->links() }}
@endcan