@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)
user-imageavatar)) 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 : ''}} @else '' @endif " @endif @endif>
@if($posPayment->customer_id == 0) {{ ucfirst('Walk-in Customer') }} @else @if(module_is_active('Account')) {{ ucfirst(!empty($posPayment->customer) ? $posPayment->customer->name : '') }} @else {{ ucfirst('-') }} @endif @endif
@endif @endforeach
@endsection