@extends('layouts.main') @section('page-title') {{__('POS Order')}} @endsection @section('page-breadcrumb') {{__('POS Order')}} @endsection @push('css') @endpush @push('scripts') @endpush @section('page-action')
@stack('addButtonHook')
@endsection @section('content')
@forelse ($posPayments as $posPayment) @if(count($posPayment->items) > 0) @if($posPayment->customer_id == 0) @elseif(empty($posPayment->customer)) @else @endif @endif @empty @endforelse
{{__('POS ID')}} {{ __('Date') }} {{ __('Customer') }} {{ __('Warehouse') }} {{ __('Amount') }}
@can('pos show') {{ \Modules\Pos\Entities\Pos::posNumberFormat($posPayment->id) }} @else {{ \Modules\Pos\Entities\Pos::posNumberFormat($posPayment->id) }} @endcan {{ company_date_formate($posPayment->created_at)}}{{__('Walk-in Customer')}}{{!empty($posPayment->user)?$posPayment->user->name:''}}{{ !empty($posPayment->customer) ? $posPayment->customer->name : '' }} {{ !empty($posPayment->warehouse) ? $posPayment->warehouse->name : '' }} {{!empty($posPayment->posPayment)? $posPayment->posPayment->amount:0}}

{{__('No Data Found')}}

@endsection