Total
: {{ $invoices->total() }}
{!! \App\helpers\ViewCommonHelper::headerExportButton() !!}
@endsection
@section('content')
@if($report)
# | Title | Amount | PaidAmount | Status | Actions |
---|---|---|---|---|---|
{{$invoice->id}} | {{$invoice->title}} @if($invoice->member_id) @elseif($invoice->lead_id) @endif |
@if($invoice->discountPercent)
{{$invoice->invoiceAmount}}
{{\App\helpers\CommonHelper::discountCalculate($invoice->invoiceAmount,$invoice->discountPercent)}}
{{$invoice->discountPercent}}% @else {{$invoice->invoiceAmount}} Rs @endif |
@if($invoice->object == \App\models\Invoice::ObjectMealplan) objectId)}}" title="{{$invoice->objectId}}"> {{$invoice->mealplan->title}} @else {{$invoice->object}} - Single Order @endif |
@if($invoice->status == "CANCEL"){{$invoice->status}} @else {{$invoice->status}} @endif {!! $invoice->paidDate?\App\helpers\ViewCommonHelper::getDateFormat($invoice->paidDate): ''!!} |
@if(!in_array($invoice->status,['CANCEL','VOID']))
id)}}"
data-modal-id="invoice-change-modal-{{$invoice->id}}">
@endif
id)}}"
data-modal-id="rider-change-modal-{{$invoice->id}}">
@if($invoice->rider_id)
{{$invoice->riderName}} @endif{{\App\helpers\ViewCommonHelper::getDateFormat($invoice->created_at,1)}} {{\App\helpers\ViewCommonHelper::getDateFormat($invoice->updated_at,1)}} |