Purchase Order
@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 --}}
{{ trans('Purchase Order Number') }}
{{ trans('Purchase Order Date') }}
{{ trans('Payment OverDue Date') }}
{{--
{{ trans('Payment Method') }}
Cash
K Pay
Wave
Others
--}}
@if (session('success'))
{{ session('success') }}
×
@endif @if (session('error'))
{{ session('error') }}
×
@endif
{{ trans('Supplier Name') }}
Choose Supplier
@foreach ($suppliers as $supplier)
{{ $supplier->name }}
@endforeach
@if (auth()->user()->is_admin == '1')
{{ trans('Location') }}
@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 (in_array($branch->id, $userPermissions))
{{ $branch->name }}
@endif @endforeach
@endif
Receiving Mode
PO
Sale Return (Invoice)
{{ trans('No') }}
{{ trans('Item Name') }}
{{ trans('Descriptions') }}
{{ trans('Quantity') }}
{{ trans('Unit') }}
{{ trans('Unit Price') }}
{{ trans('Discounts') }}
{{ trans('Expiry') }}
{{ trans('Amount') }} ({{ config('currency.symbol') }})
1
{{--
--}} {{--
--}} {{--
--}}
{{--
--}}
{{ config('currency.symbol') }}
{{ 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
Sub Total
Overall Discount
Item Discount
Total
Payment Method
Cash
K Pay
Wave
Others
Deposit
Remaining Balance
Remark
Save
Cancel