@extends('layouts.main') @section('page-title') {{__('Manage POS Order')}} @endsection @section('page-breadcrumb') {{__('POS Order')}} @endsection @push('css') @endpush @push('scripts') @endpush @section('page-action')
@stack('addButtonHook')
@endsection @section('content')
@if(count($posPayments) > 0) @foreach ($posPayments as $posPayment)
avatar)) src="{{(!empty($posPayment->avatar))? get_file("profile/".$posPayment->avatar): asset(url("./assets/img/clients/160x160/img-1.png"))}}" @else @if($posPayment->customer_id == 0) avatar="{{__('Walk-in Customer')}}" @else avatar="@if(module_is_active('Account')) {{!empty($posPayment->customer) ? $posPayment->customer->name : $posPayment->user->name}} @else '' @endif " @endif @endif alt="user-image" class="h-100 w-100">
@if($posPayment->customer_id == 0)

{{ ucfirst('Walk-in Customer') }}

@else @if(module_is_active('Account'))

{{ ucfirst(!empty($posPayment->customer) ? $posPayment->customer->name :$posPayment->user->name) }}

@else

{{ ucfirst(!empty($posPayment->user) ? $posPayment->user->name : '-') }}

@endif @endif {{ !empty($posPayment->warehouse_id) ? $posPayment->warehouse->name : '-' }}
@endforeach {!! $posPayments->links('vendor.pagination.global-pagination') !!} @else

{{ __('Opps...') }}

{!! __('No data Found.') !!}
@endif
@endsection