@extends('layouts.app') @section('title') Edit Purchase Request @stop @section('breadcrumb') @stop @section('content')

Update Purchase Request

{{csrf_field()}}
@if ($errors->has('project')) {{ $errors->first('project') }} @endif
@if ($errors->has('department')) {{ $errors->first('department') }} @endif

Item List

@if(Session::has('item_errors'))
{{ Session::get('item_errors') }}
@endif
@foreach(\App\PurchaseRequest::find($purchase_request->id)->item as $key => $item_list)
@if ($errors->has('items')) {{ $errors->first('items') }} @endif
@if ($errors->has('quantity.*')) {{ $errors->first('quantity.*') }} @endif
@if ($errors->has('price.*')) {{ $errors->first('price.*') }} @endif
@if($key > 0) @else @endif
@endforeach

Approvals

  • Select approval roles from below.
@if(Session::has('role_orders')) {{ Session::get('role_orders') }} @endif
@stop @section('js') @stop