@php use App\Models\Utility; $settings = App\Models\Utility::settingsById($proposal->created_by); @endphp @extends('layouts.invoicepayheader') @section('page-title') {{__('Proposal Detail')}} @endsection @push('script-page') @endpush @section('content') @php $customer=$proposal->customer; @endphp @if(\Auth::check() && isset(\Auth::user()->type) && \Auth::user()->type=='company') @if($proposal->status!=0)
{!! DNS2D::getBarcodeHTML(route('pay.proposalpay',\Illuminate\Support\Facades\Crypt::encrypt($proposal->id)), "QRCODE",2,2) !!}
@endif| # | {{__('Product')}} | {{__('Quantity')}} | {{__('Rate')}} | {{__('Discount')}} | {{__('Tax')}} | {{__('Description')}} | {{__('Price')}} {{__('before tax & discount')}} |
||
|---|---|---|---|---|---|---|---|---|---|
| {{$key+1}} | {{!empty($iteam->product)?$iteam->product->name:''}} | {{$iteam->quantity}} | {{utility::priceFormat($company_setting,$iteam->price)}} | {{utility::priceFormat($company_setting,$iteam->discount)}} |
@if(!empty($iteam->tax))
|
{{!empty($iteam->description)?$iteam->description:'-'}} | {{utility::priceFormat($company_setting,($iteam->price*$iteam->quantity))}} | ||
| {{__('Total')}} | {{$totalQuantity}} | {{utility::priceFormat($company_setting,$totalRate)}} | {{utility::priceFormat($company_setting,$totalDiscount)}} | {{utility::priceFormat($company_setting,$totalTaxPrice)}} | |||||
| {{__('Sub Total')}} | {{utility::priceFormat($company_setting,$proposal->getSubTotal())}} | ||||||||
| {{__('Discount')}} | {{utility::priceFormat($company_setting,$proposal->getTotalDiscount())}} | ||||||||
| {{$taxName}} | {{utility::priceFormat($company_setting,$taxPrice) }} | ||||||||
| {{$tax->name}} | {{$user->priceFormat($taxPrice)}} | {{--{{$taxName}} | {{ \Auth::user()->priceFormat($taxPrice) }} | --}}||||||
| {{__('Total')}} | {{utility::priceFormat($company_setting,$proposal->getTotal())}} | ||||||||