Invoice Edit
@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 --}}
Invoice Number
Date
{{ trans('Payment OverDue Date') }}
Register Mode
balance_due == 'Invoice') selected @endif> Invoice
balance_due == 'Po Return') selected @endif> Po Return
{{ trans('Search Customer Name & Phone No.') }}
Add
{{--
--}}
{{ trans('Name') }}
{{ trans('Phone Number') }}
{{ trans('Customer Type') }}
{{ trans('Address') }}
{{ trans('Sale Price Category') }}
{{ $invoice->sale_price_category }}
Default
Whole Sale
Retail
{{-- @if (Auth::user()->is_admin == '1' || Auth::user()->type == 'Admin') --}} @if (auth()->user()->is_admin == '1')
{{ trans('Location') }}
@foreach ($warehouses as $warehouse)
branch == $warehouse->id ? 'selected' : '' }}> {{ $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
{{ trans('No') }}
{{ trans('Item Name') }}
{{ trans('Descriptions') }}
{{ trans('Qty') }}
{{ trans('Unit') }}
{{ trans('လက်ကားစျေး') }}
{{ trans('လက်လီစျေး') }}
{{ trans('Discounts') }}
{{ trans('Expiry') }}
{{ trans('Amount') }} ({{ config('currency.symbol') }})
@foreach ($sell as $key => $sell)
{{ $key + 1 }}
{{--
--}} {{--
status == 1 ? 'checked' : '0' }} />
--}} {{--
--}}
{{--
--}} {{--
--}}
@endforeach
{{ trans('Add row') }}
Calculate
@if (in_array('Invoice Delete', $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
@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
Deposit
Remaining Balance
Remark
{{ $invoice->remark }}
Save
Cancel
{{-- --}}