@extends ('core.layouts.app') @section ('title', trans('labels.backend.quotes.management') . ' | ' . trans('labels.backend.quotes.create')) @section('page-header')

{{ trans('labels.backend.quotes.management') }} {{ trans('labels.backend.quotes.create') }}

@endsection @section('content')
@if($quote['status']!='canceled')
{{trans('labels.backend.quotes.edit')}} {{trans('quotes.convert_invoice')}}
@php $valid_token = token_validator('','q' . $quote['id'].$quote['tid'],true); $link=route( 'biller.print_bill',[$quote['id'],4,$valid_token,1]); $link_download=route( 'biller.print_bill',[$quote['id'],4,$valid_token,2]); $link_preview=route( 'biller.view_bill',[$quote['id'],4,$valid_token,0]); @endphp {{trans('general.preview')}} WhatsApp {{trans('general.change_status')}}
@else
  {{trans('payments.'.$quote['status'])}}  
@endif
@if($quote['currency'])
  {{trans('general.different_currency')}}  
@endif
{{trans('general.our_info')}}
company logo

  • {{(config('core.cname'))}}

{{trans('quotes.quote')}}

{{prefix(5)}} # {{$quote['tid']}}

  • {{trans('general.total')}}
  • {{amountFormat($quote['total'])}}

{{trans('invoices.bill_to')}}

@if(isset($quote->customer))
  • {{$quote->customer->name}}
  • {{$quote->customer->address}},
  • {{$quote->customer->city}},{{$quote->customer->region}}
  • {{$quote->customer->country}}-{{$quote->customer->postbox}}.
  • {{$quote->customer->email}},
  • {{$quote->customer->phone}},
  • {!! custom_fields_view(1,$quote->customer->id,false) !!}
@endif

{{trans('quotes.invoicedate')}} : {{dateFormat($quote['invoicedate'])}}

{{trans('quotes.invoiceduedate')}} : {{dateFormat($quote['invoiceduedate'])}}


{{$quote['notes']}}


{!! $quote['proposal'] !!}

@if($quote['tax_format']=='exclusive' OR $quote['tax_format']=='inclusive') @foreach($quote->products as $product) @endforeach @elseif($quote['tax_format']=='off' ) @foreach($quote->products as $product) @endforeach @endif @if($quote['tax_format']=='cgst') @foreach($quote->products as $product) @endforeach @endif @if($quote['tax_format']=='igst') @foreach($quote->products as $product) @endforeach @endif
# {{trans('products.product_des')}} {{trans('products.price')}} {{trans('products.qty')}} {{trans('general.tax')}} {{trans('general.discount')}} {{trans('general.subtotal')}}
{{ $loop->iteration }}

{{$product['product_name']}}

{!!$product['product_des'] !!}

{{amountFormat($product['product_price'])}} {{numberFormat($product['product_qty'])}} {{$product['unit']}} {{amountFormat($product['total_tax'])}} ({{numberFormat($product['product_tax'])}}%) {{amountFormat($product['total_discount'])}} {{amountFormat($product['product_subtotal'])}}
{!! custom_fields_view(3,$product['product_id'],false) !!}
# {{trans('products.product_des')}} {{trans('products.price')}} {{trans('products.qty')}} {{trans('general.discount')}} {{trans('general.subtotal')}}
{{ $loop->iteration }}

{{$product['product_name']}}

{!!$product['product_des'] !!}

@if($product['serial']){{$product['serial']}}@endif
{{amountFormat($product['product_price'])}} {{numberFormat($product['product_qty'])}} {{$product['unit']}} {{amountFormat($product['total_discount'])}} {{amountFormat($product['product_subtotal'])}}
{!! custom_fields_view(3,$product['product_id'],false) !!}
# {{trans('products.product_des')}} {{trans('products.price')}} {{trans('products.qty')}} {{trans('general.cgst')}} {{trans('general.sgst')}} {{trans('general.discount')}} {{trans('general.subtotal')}}
{{ $loop->iteration }}

{{$product['product_name']}}

{!!$product['product_des'] !!}

{{amountFormat($product['product_price'])}} {{numberFormat($product['product_qty'])}} {{$product['unit']}} {{amountFormat($product['total_tax']/2)}} ({{numberFormat($product['product_tax']/2)}}%) {{amountFormat($product['total_tax']/2)}} ({{numberFormat($product['product_tax']/2)}}%) {{amountFormat($product['total_discount'])}} {{amountFormat($product['product_subtotal'])}}
{!! custom_fields_view(3,$product['product_id'],false) !!}
# {{trans('products.product_des')}} {{trans('products.price')}} {{trans('products.qty')}} {{trans('general.igst')}} {{trans('general.discount')}} {{trans('general.subtotal')}}
{{ $loop->iteration }}

{{$product['product_name']}}

{!!$product['product_des'] !!}

{{amountFormat($product['product_price'])}} {{numberFormat($product['product_qty'])}} {{$product['unit']}} {{amountFormat($product['total_tax'])}} ({{numberFormat($product['product_tax'])}}%) {{amountFormat($product['total_discount'])}} {{amountFormat($product['product_subtotal'])}}
{!! custom_fields_view(4,$product['product_id'],false) !!}
{{trans('quotes.status')}}: {{trans('payments.'.$quote['status'])}}

{{trans('general.summary')}}

@if($quote['tax']>0) @endif @if($quote['discount']>0) @endif @if($quote['shipping']>0) @if($quote['ship_tax']>0) @endif @endif
{{trans('general.subtotal')}} {{amountFormat($quote['subtotal'])}}
{{trans('general.tax')}} {{amountFormat($quote['tax'])}}
{{trans('general.discount')}} {{amountFormat($quote['discount'])}}
{{trans('general.shipping')}} {{amountFormat($quote['shipping'])}}
{{trans('general.shipping_tax')}} ({{trans('general.'.$quote['ship_tax_type'])}}) {{amountFormat($quote['ship_tax'])}}
{{trans('general.total')}} {{amountFormat($quote['total'])}}

{{trans('general.authorized_person')}}

signature
{{$quote->user->first_name}} {{$quote->user->last_name}}
{!! custom_fields_view(2,$quote['id']) !!}

{{trans('general.attachment')}}

{{trans('general.allowed')}}:   {{$features['value1']}} 
Select files...
@foreach($quote->attachment as $row) @endforeach
{{$row['value']}}

@php $invoice=$quote; @endphp @include('focus.modal.email_model',array('category'=>4)) @include('focus.modal.sms_model',array('category'=>4)) @include("focus.modal.quote_status_model") @include("focus.modal.cancel_model") @include("focus.modal.convert_model") @endsection @section('extra-style') @endsection @section('extra-scripts') {!! Html::style('focus/jq_file_upload/css/jquery.fileupload.css') !!} {{ Html::script('focus/jq_file_upload/js/jquery.fileupload.js') }} @endsection