@extends('layouts.admin') @section('page-title') {{__('Invoice Detail')}} @endsection @push('css-page') @endpush @push('script-page') @endpush @section('breadcrumb')
{{__('Created on ')}}{{\Auth::user()->dateFormat($invoice->bill_date)}}
@can('edit invoice') {{__('Edit')}} @endcan@if($invoice->status!=0) {{__('Sent on')}} {{\Auth::user()->dateFormat($invoice->send_date)}} @else @can('send invoice') {{__('Status')}} : {{__('Not Sent')}} @endcan @endif
@if($invoice->status==0) @can('send bill') {{__('Send')}} @endcan @endif{{__('Status')}} : {{__('Awaiting payment')}}
@if($invoice->status!=0) @can('create payment invoice') {{__('Add Payment')}}# | {{__('Product')}} | {{__('Quantity')}} | {{__('Rate')}} | {{__('Tax')}} | @if($invoice->discount_apply==1){{__('Discount')}}@endif | {{__('Description')}} | {{__('Price')}} {{__('before tax & discount')}} |
||
---|---|---|---|---|---|---|---|---|---|
{{$key+1}} | {{!empty($iteam->product())?$iteam->product()->name:''}} | {{$iteam->quantity}} | {{\Auth::user()->priceFormat($iteam->price)}} |
@if(!empty($iteam->tax))
|
@if($invoice->discount_apply==1) {{\Auth::user()->priceFormat($iteam->discount)}} @endif | {{!empty($iteam->description)?$iteam->description:'-'}} | {{\Auth::user()->priceFormat(($iteam->price*$iteam->quantity))}} | ||
{{__('Total')}} | {{$totalQuantity}} | {{\Auth::user()->priceFormat($totalRate)}} | {{\Auth::user()->priceFormat($totalTaxPrice)}} | @if($invoice->discount_apply==1) {{\Auth::user()->priceFormat($totalDiscount)}} @endif | |||||
{{__('Sub Total')}} | {{\Auth::user()->priceFormat($invoice->getSubTotal())}} | ||||||||
{{__('Discount')}} | {{\Auth::user()->priceFormat($invoice->getTotalDiscount())}} | ||||||||
{{$taxName}} | {{ \Auth::user()->priceFormat($taxPrice) }} | ||||||||
{{__('Total')}} | {{\Auth::user()->priceFormat($invoice->getTotal())}} | ||||||||
{{__('Paid')}} | {{\Auth::user()->priceFormat(($invoice->getTotal()-$invoice->getDue())-($invoice->invoiceTotalCreditNote()))}} | ||||||||
{{__('Credit Note')}} | {{\Auth::user()->priceFormat(($invoice->invoiceTotalCreditNote()))}} | ||||||||
{{__('Due')}} | {{\Auth::user()->priceFormat($invoice->getDue())}} |
{{__('Date')}} | {{__('Amount')}} | {{__('Description')}} | @if(Gate::check('edit credit note') || Gate::check('delete credit note')){{__('Action')}} | @endif
---|---|---|---|
{{\Auth::user()->dateFormat($creditNote->date)}} | {{\Auth::user()->priceFormat($creditNote->amount)}} | {{$creditNote->description}} | @can('edit credit note') @endcan @can('delete credit note') @endcan |
{{__('No Data Found')}} |