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

Edit Purchase

Add Information

{{csrf_field()}}
@if ($errors->has('bill_no')) {{ $errors->first('bill_no') }} @endif
@if ($errors->has('product')) {{ $errors->first('product') }} @endif
@if ($errors->has('supplier')) {{ $errors->first('supplier') }} @endif
@if ($errors->has('rate')) {{ $errors->first('rate') }} @endif
@if ($errors->has('qty')) {{ $errors->first('qty') }} @endif
@if ($errors->has('tax')) {{ $errors->first('tax') }} @endif
@if ($errors->has('payment_mode')) {{ $errors->first('payment_mode') }} @endif
@if($purchase->payment_mode == \App\Purchase::bank)
@if ($errors->has('bank_name')) {{ $errors->first('bank_name') }} @endif
@else @endif
@if ($errors->has('date')) {{ $errors->first('date') }} @endif
@stop @section('js') @stop