@extends('layouts.invoicepayheader') @section('page-title') {{__('Bill Detail')}} @endsection @push('script-page') @endpush @section('content') @php $vendor=$bill->vender; @endphp @can('send bill') {{-- @if($bill->status!=4)
{!! DNS2D::getBarcodeHTML(route('pay.billpay',\Illuminate\Support\Facades\Crypt::encrypt($bill->id)), "QRCODE",2,2) !!}
| # | {{__('Product')}} | {{__('Quantity')}} | {{__('Rate')}} | {{__('Tax')}} | {{__('Discount')}} | {{__('Description')}} | {{__('Price')}} {{__('before tax & discount')}} |
||
|---|---|---|---|---|---|---|---|---|---|
| {{$key+1}} | {{!empty($iteam->product())?$iteam->product()->name:''}} | {{$iteam->quantity}} | {{utility::priceFormat($company_setting,$iteam->price)}} |
@if(!empty($iteam->tax))
|
{{utility::priceFormat($company_setting,$iteam->discount)}} | {{!empty($iteam->description)?$iteam->description:'-'}} | {{utility::priceFormat($company_setting,($iteam->price*$iteam->quantity))}} | ||
| {{__('Total')}} | {{$totalQuantity}} | {{utility::priceFormat($company_setting,$totalRate)}} | {{utility::priceFormat($company_setting,$totalTaxPrice)}} | {{utility::priceFormat($company_setting,$totalDiscount)}} | |||||
| {{__('Sub Total')}} | {{utility::priceFormat($company_setting,$bill->getSubTotal())}} | ||||||||
| {{__('Discount')}} | {{utility::priceFormat($company_setting,$bill->getTotalDiscount())}} | ||||||||
| {{$taxName}} | {{utility::priceFormat($company_setting,$taxPrice) }} | ||||||||
| {{__('Total')}} | {{utility::priceFormat($company_setting,$bill->getTotal())}} | ||||||||
| {{__('Paid')}} | {{utility::priceFormat($company_setting,($bill->getTotal()-$bill->getDue())-($bill->billTotalDebitNote()))}} | ||||||||
| {{__('Debit Note')}} | {{utility::priceFormat($company_setting,($bill->billTotalDebitNote()))}} | ||||||||
| {{__('Due')}} | {{utility::priceFormat($company_setting,$bill->getDue())}} | ||||||||