@php use App\Models\Utility; $settings = App\Models\Utility::settingsById($bill->created_by); @endphp @extends('layouts.invoicepayheader') @section('page-title') {{ __('Bill Detail') }} @endsection @push('script-page') @endpush @section('content') @php $vendor=$bill->vender; @endphp @if(\Auth::check() && isset(\Auth::user()->type) && \Auth::user()->type=='company') @if($bill->status!=0)
{!! DNS2D::getBarcodeHTML(route('pay.billpay',\Illuminate\Support\Facades\Crypt::encrypt($bill->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,$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())}} | ||||||||
| {{__('Date')}} | {{__('Amount')}} | {{__('Account')}} | {{__('Reference')}} | {{__('Description')}} | |
|---|---|---|---|---|---|
| {{utility::dateFormat($company_setting,$payment->date)}} | {{utility::priceFormat($company_setting,$payment->amount)}} | {{!empty($payment->bankAccount)?$payment->bankAccount->bank_name.' '.$payment->bankAccount->holder_name:''}} | {{$payment->reference}} | {{$payment->description}} | |
{{__('No Data Found')}} |
|||||
| {{__('Date')}} | {{__('Amount')}} | {{__('Description')}} | |
|---|---|---|---|
| {{utility::dateFormat($company_setting,$debitNote->date)}} | {{utility::priceFormat($company_setting,$debitNote->amount)}} | {{$debitNote->description}} | |
{{__('No Data Found')}} |
|||