@extends('layouts.admin') @section('page-title') {{ __('Retainer Detail') }} @endsection @php $settings = App\Models\Utility::settings(); @endphp @push('css-page') @endpush @push('script-page') @endpush @section('breadcrumb') @if (\Auth::guard('customer')->check())
{{ __('Created on ') }}{{ \Auth::user()->dateFormat($retainer->issue_date) }}
@can('edit invoice') {{ __('Edit') }} @endcan@if ($retainer->status != 0) {{ __('Sent on') }} {{ \Auth::user()->dateFormat($retainer->send_date) }} @else @can('send invoice') {{ __('Status') }} : {{ __('Not Sent') }} @endcan @endif
@if ($retainer->status == 0) @can('send bill') {{ __('Send') }} @endcan @endif{{ __('Status') }} : {{ __('Awaiting payment') }}
@if ($retainer->status != 0 && $retainer->is_convert == 0) @can('create payment invoice') {{ __('Add Payment') }}| # | {{ __('Product') }} | {{ __('Quantity') }} | {{ __('Rate') }} | {{ __('Discount') }} | {{ __('Tax') }} | {{ __('Description') }} | {{ __('Price') }} {{ __('before tax & discount') }} |
||
|---|---|---|---|---|---|---|---|---|---|
| {{ $key + 1 }} | {{ !empty($iteam->product) ? $iteam->product->name : '' }} | {{ $iteam->quantity }} ({{ $iteam->product->unit->name }}) | {{ \Auth::user()->priceFormat($iteam->price) }} | {{ \Auth::user()->priceFormat($iteam->discount) }} |
@if (!empty($iteam->tax))
|
{{ !empty($iteam->description) ? $iteam->description : '-' }} | {{ \Auth::user()->priceFormat($iteam->price * $iteam->quantity) }} | ||
| {{ __('Total') }} | {{ $totalQuantity }} | {{ \Auth::user()->priceFormat($totalRate) }} | {{ \Auth::user()->priceFormat($totalDiscount) }} | {{ \Auth::user()->priceFormat($totalTaxPrice) }} | |||||
| {{ __('Sub Total') }} | {{ \Auth::user()->priceFormat($retainer->getSubTotal()) }} | ||||||||
| {{ __('Discount') }} | {{ \Auth::user()->priceFormat($retainer->getTotalDiscount()) }} | ||||||||
| {{ $taxName }} | {{ \Auth::user()->priceFormat($taxPrice) }} | ||||||||
| {{ __('Total') }} | {{ \Auth::user()->priceFormat($retainer->getTotal()) }} | ||||||||
| {{ __('Paid') }} | {{ \Auth::user()->priceFormat($retainer->getTotal() - $retainer->getDue()) }} | ||||||||
| {{ __('Credit Note') }} | {{--{{\Auth::user()->priceFormat(($retainer->invoiceTotalCreditNote()))}} | --}}||||||||
| {{ __('Due') }} | {{ \Auth::user()->priceFormat($retainer->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')}} |
|||