@extends('layouts.app', ['page' => __('View Proposal'), 'pageSlug' => 'Proposal']) {{-- --}} @section('content')
Print

Proposal Number : {{$model->proposal_number}}

Proposal Date : {{$model->propsal_date}}

NK DECIBELS

Address : House No : 05,
Velachery,
Chennai - 600042.

Email : admin@gmail.com

Phone : 908976555

Website : https://nkdecibels.com

Proposal for : {{ $model->customer_name }}

Service Address

@if ($model->customer_service_address != "") @foreach(explode(',', $model->customer_service_address) as $info) {{$info}}
@endforeach @endif {{--{{ $model->customer_service_address }}, --}}Email : {{ $model->customer_email }},
Phone : {{ $model->customer_phone }}

{{--

We have a proposed pricing for {{ $model->customer_name }}. Products/Services and price are enlisted below. If you have any question regarding this proposal, please let us know. Thank you!

--}} {{--
--}} @php $i = 1; $sub_total = 0; @endphp @forelse($proposaldetails as $proposaldetail) @php $sub_total += $proposaldetail -> quantity * $proposaldetail -> price; @endphp @empty

No Products Added

@endforelse @php $discount_str = ""; if($model->discount_type == 1) { $discount_str = $model->discount.'%'; } else { $discount_str = "Flat ₹".$model->discount; } @endphp
SNO Product Name Qty Unit Price pdf Total
{{ $i++ }} {{ $proposaldetail -> product_name }} {{ $proposaldetail -> quantity }} ₹ {{ $proposaldetail -> price }} {{ $proposaldetail -> pdf }} ₹ {{ $proposaldetail -> quantity * $proposaldetail -> price }}
SUB TOTAL ₹ {{ $sub_total }}
Discount({{$discount_str}}) - ₹{{ $sub_total * $model->discount/100 }}
Other Tax(%) + ₹{{ $model->tax }}
Shipping/Other (+) + ₹{{ $model->shipping_other }}
Grand Total ₹{{ $model->total }}

Additional Notes:

We have a proposed pricing for {{ $model->customer_name }}. Products/Services and price are enlisted below. If you have any question regarding this proposal, please let us know. Thank you!

Terms and Conditions :

We have a proposed pricing for {{ $model->customer_name }}. Products/Services and price are enlisted below. If you have any question regarding this proposal, please let us know. Thank you!

@endsection {{-- convert to pdf and print using js --}}