@extends('layouts.invoicepayheader') @section('page-title') {{ __('Invoice Detail') }} @endsection @push('css-page') @endpush {{-- {{ dd($company_payment_setting) }} --}} @push('script-page') @endpush @section('content') @php $customer=$invoice->customer; @endphp @can('send invoice') @if ($invoice->status != 4) {{--
| # | {{ __('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, $invoice->getSubTotal()) }} | ||||||||
| {{ __('Discount') }} | {{ Utility::priceFormat($company_setting, $invoice->getTotalDiscount()) }} | ||||||||
| {{ $taxName }} | {{ Utility::priceFormat($company_setting, $taxPrice) }} | ||||||||
| {{ __('Total') }} | {{ Utility::priceFormat($company_setting, $invoice->getTotal()) }} | ||||||||
| {{ __('Paid') }} | {{ Utility::priceFormat($company_setting, $invoice->getTotal() - $invoice->getDue() - $invoice->invoiceTotalCreditNote()) }} | ||||||||
| {{ __('Credit Note') }} | {{ Utility::priceFormat($company_setting, $invoice->invoiceTotalCreditNote()) }} | ||||||||
| {{ __('Due') }} | {{ Utility::priceFormat($company_setting, $invoice->getDue()) }} | ||||||||