@extends('admin.layout.app') @section('title','Create Invoice') @push('headerscript') @endpush @section('content')

Create Invoice

{!! Form::open(['route'=>array('rentInvoice.store', $vehicle_movement->id), 'onsubmit'=>'BtnSubmit.disabled = true','method' => 'put']) !!}
{{$errors->first('invoice_number')}}
{{$errors->first('customer_name')}}
{{$errors->first('start_date')}}
{{$errors->first('receive_date')}}
{{$errors->first('number_of_days')}}
@php $i =1; @endphp @foreach($vehicle_movement_details as $vehicle_movement_detail) @php $i++; @endphp @endforeach
Description* Plate Number* Qty.* Unit Price* Amount Discount Gross Amount 5% VAT
{{$errors->first('t_gross_amount')}}
{{$errors->first('discount_amount')}}
{{$errors->first('vat_amount')}}
{{$errors->first('net_amount')}}
{!! Form::select("payment_type", [''=>'select payment method','cash'=>'Cash','card'=>'Card'], old('payment_type'), ['class'=>'form-control' ,'id' => 'payment_type','required'=>'required'] ) !!}
{{$errors->first('payment_type')}}
{{$errors->first('paid_amount')}}
{!! Form::close() !!}
@endsection @push('footerscript') @endpush