@include('livewire.modal.modal_purchase_request')

Purchase Request

{{-- create purchase request start--}}

{{ empty($PRS_transaction_no) ? 'Create' : 'Edit' }} Purchase Request

@csrf @if(auth()->user()->UserType->TypeOfUser->name=== 'Super Administrator' || auth()->user()->UserDepartment->Department->name == 'IT')
@if(Session::get('warehouse') == 'all')
@error('PurchaseRequest_warehouse') {{ $errors->first('PurchaseRequest_warehouse') }} @enderror
@endif
@error('PRS_department') {{ $errors->first('PRS_department') }} @enderror
@elseif(auth()->user()->UserType->TypeOfUser->name=== 'Administrator' || auth()->user()->UserType->TypeOfUser->name=== 'Operation Manager')
@error('PRS_department') {{ $errors->first('PRS_department') }} @enderror
@endif
@error('PurchaseRequest_create_items_category') {{ $errors->first('PurchaseRequest_create_items_category') }} @enderror
@error('PurchaseRequest_create_items_classification') {{ $errors->first('PurchaseRequest_create_items_classification') }} @enderror
@error('PurchaseRequest_create_items_particular') {{ $errors->first('PurchaseRequest_create_items_particular') }} @enderror
@error('PurchaseRequest_create_items') {{ $errors->first('PurchaseRequest_create_items') }} @enderror
@error('PurchaseRequest_create_onhand_quantity') {{ $errors->first('PurchaseRequest_create_onhand_quantity') }} @enderror
@error('PurchaseRequest_create_order_quantity') {{ $errors->first('PurchaseRequest_create_order_quantity') }} @enderror
@error('PurchaseRequest_create_date') {{ $errors->first('PurchaseRequest_create_date') }} @enderror
{{--
--}}
@error('PurchaseRequest_create_remarks') {{ $errors->first('PurchaseRequest_create_remarks') }} @enderror
{{-- create purchase request end --}}

Request List

@if(empty($PRS_transaction_no)) @else @endif
@push('scripts') @endpush