Suspend
@csrf {{-- Permission Php --}} @php $choosePermission = []; if (auth()->user()->permission) { $decodedPermissions = json_decode(auth()->user()->permission, true); if (json_last_error() === JSON_ERROR_NONE) { $choosePermission = $decodedPermissions; } } @endphp {{-- End Php --}}
{{--
--}}
POS Number
Date
{{ trans('Payment OverDue Date') }}
{{--
{{ trans('Payment Methods') }}
payment_method == 'Cash' ? 'selected' : '' }}>Cash
payment_method == 'K Pay' ? 'selected' : '' }}>K Pay
payment_method == 'Wave' ? 'selected' : '' }}>Wave
payment_method == 'Others' ? 'selected' : '' }}>Others
--}}
{{ trans('Search Customer Name & Phone No.') }}
Add
{{ trans('Name') }}
{{ trans('Phone Number') }}
{{ trans('Customer Type') }}
{{ trans('Address') }}
@if (auth()->user()->is_admin == '1')
{{ trans('Location') }}
@foreach ($warehouses as $branch) @if ($branch->id == $invoice->branch)
{{ $branch->name }}
@endif @endforeach @foreach ($warehouses as $warehouse)
{{ $warehouse->name }}
@endforeach
@else
{{ trans('Location') }}
@php $userPermissions = auth()->user()->level ? json_decode(auth()->user()->level) : []; @endphp @foreach ($warehouses as $branch) @if ($branch->id == $invoice->branch)
{{ $branch->name }}
@endif @endforeach @foreach ($warehouses as $branch) @if (in_array($branch->id, $userPermissions))
{{ $branch->name }}
@endif @endforeach
@endif
{{ trans('Search Item Name ') }}
{{ trans('Search Item Barcode') }}
{{ trans('Sale Price Category') }}
{{ $invoice->sale_price_category }}
Default
Whole Sale
Retail
{{ trans('No') }}
{{ trans('Item Name') }}
{{ trans('Descriptions') }}
{{ trans('Qty') }}
{{ trans('Unit') }}
{{ trans('လက်ကားစျေး') }}
{{ trans('လက်လီစျေး') }}
{{ trans('Discounts') }}
{{ trans('Expiry') }}
{{ trans('Amount') }} ({{ config('currency.symbol') }})
@foreach ($sells as $key => $sell)
{{ $key + 1 }}
Remove
@endforeach
{{ trans('Add row') }}
Calculate
@if (in_array('Item', $choosePermission) || auth()->user()->is_admin == '1')
Item Search
@endif
@if (isset($employees[0])) {{ trans('general.employee') }}
{{ $logged_in_user->first_name }}
@foreach ($employees as $employee)
{{ $employee->first_name }} {{ $employee->last_name }}
@endforeach
@endif
Total Purchase
Sub Total
Overall Discount
Item Discount
Total
@forelse ($payment_method as $index => $payment)
@if ($index === 0)
Payment Method
@endif
payment_method === 'Cash' ? 'selected' : '' }}> Cash
payment_method === 'K Pay' ? 'selected' : '' }}> K Pay
payment_method === 'Wave' ? 'selected' : '' }}> Wave
payment_method === 'Others' ? 'selected' : '' }}> Others
@if ($index === 0)
@else
@endif
@empty
Payment Method
Cash
K Pay
Wave
Others
@endforelse
Cash
Change Due
Remark
{{ $invoice->remark }}
Confirm
Cancel
{{-- --}}