@extends('invoice/app') {{-- Web site Title --}} @section('title') Quotation Form :: @parent @stop @section('content')
Download Template Download PDF Delete Quotation Add new row Save
@if (isset($status))
@endif @if (count($errors) > 0)
There were some problems adding client.
@endif
{!! Form::open( [ 'method' => 'put', 'id' => "quotation_form", 'class' =>"form" ]) !!}

Quotation #
{!! Form::text('uid', isset($quotation) && $quotation->uid ? $quotation->uid : old('uid'), ['class' => 'form-control', 'id' => 'uid']) !!}

{!! Form::label('client_id', 'Client') !!} {!! Form::select('client_id', $clients, isset($client) && $client->id ? $client->id : old('client_id'), ['class' => 'form-control select2', 'id' => 'client_id']) !!}
{!! Form::label('address_id', 'Ship Address') !!} {!! Form::select('address_id', $addresses, isset($address) && $address->id ? $address->id : old('address_id'), ['class' => 'form-control select2', 'id' => 'address_id']) !!}
{!! Form::label('contact_person', 'Contact Person') !!} {!! Form::text('contact_person', isset($quotation) && $quotation->contact_person ? $quotation->contact_person : old('contact_person'), ['class' => 'form-control', 'id' => 'contact_person']) !!}
{!! Form::label('contact_number', 'Contact Number') !!} {!! Form::text('contact_number', isset($quotation) && $quotation->contact_number ? $quotation->contact_number : old('contact_number'), ['class' => 'form-control', 'id' => 'contact_number']) !!}
{!! Form::close() !!}
{!! Form::open( [ 'method' => 'post', 'id' => "quotation_form_excel", 'class' =>"form", 'url' => 'quotation/'.$quotation->id.'/upload-excel', 'files' => 'true', 'enctype'=>'multipart/form-data' ]) !!} {!! Form::label('file', 'Upload File') !!} {!! Form::close() !!}
{!! Form::open( [ 'method' => 'put', 'id' => "invoice_form", 'class' =>"form" ]) !!}
@foreach($items as $item) @endforeach
Item Description Quantity Unit Price Total Amount
Item
HSN/SAC Code
Quantity
Unit Price
Description
Unit
@if($item->sgst > 0) SGST: @currency($item->sgst)
@endif @if($item->cgst > 0) CGST: @currency($item->cgst)
@endif @if($item->igst > 0) IGST: @currency($item->igst)
@endif Item Total: @currency($item->total)
@if($quotation->tax > 0) @endif
Item Amounts @currency($quotation->amount)
Item Taxes @currency($quotation->tax)
Transportation Charge
Total @currency($quotation->total)

Note: Invoice must be issued under {{$quotation->state->name}} Taxes
{!! Form::close() !!}
@endsection @section('scripts') @endsection