@php
$item_discounts = 0;
$cancel_flag = false;
@endphp
@if(isset($charge) && $charge !='' && $cancel_flag == true)
|
|
- |
{{ $charge ?? '0.00' }} |
- |
|
$0.00 |
{{ $charge ?? '0.00' }}
|
@else
@if(isset($blank_invoice_for_cancel_charge) && $blank_invoice_for_cancel_charge == 0 && isset( $appointment) && $appointment !='' || isset($charge) && $charge !='')
{{-- @if(isset( $appointment) && $appointment !='') --}}
@if( isset($appointmentType->is_gst) && $appointmentType->is_gst == "on" )
@else
@endif
@if(empty($hasinvoice))
{{-- | 1 | --}}
|
|
{{$appointmentType->code}} |
|
|
@php
$grandTotalGst = 0;
$item_discounts += 0;
@endphp
@if( isset($appointmentType->is_gst) && $appointmentType->is_gst == "on" )
@php
$itemGST = round( $appointmentType->fee/11, 2 );
$grandTotalGst += $itemGST;
$GST_Text = "10%";
@endphp
@else
@php
$itemGST = 0;
$grandTotalGst += $itemGST;
$GST_Text = "FREE";
@endphp
@endif
{{-- {{number_format( $itemGST, 2 )}} | --}}
{{$GST_Text}} |
{{$appointmentType->fee}} |
|
@endif
@endif
@if(isset($invioceproduct) && $invioceproduct != '')
@foreach($invioceproduct as $index => $ip)
@if($ip->notes_product_name->is_gst =='on')
@endif
@if( $ip->notes_product_name->is_gst == "on" )
@else
@endif
{{-- | {{$ip->quantity ?? ''}} | --}}
|
|
|
|
@php
$grandTotalGst = 0;
$item_discounts += $ip->product_discount;
@endphp
@if( $ip->notes_product_name->is_gst == "on" )
@php
$itemGST = round($ip->quantity * $ip->price/11, 2 );
$grandTotalGst += $itemGST;
$GST_Text = "10%";
@endphp
@else
@php
$itemGST = 0;
$grandTotalGst += $itemGST;
$GST_Text = "FREE";
@endphp
@endif
{{$ip->product_discount}} |
{{-- {{number_format( $itemGST, 2 )}} | --}}
{{$GST_Text}} |
{{number_format(($ip->quantity * $ip->price),2) ?? ''}}
|
|
@endforeach
@endif
@endif
@if($item)
@foreach($item as $s_index => $tid)
@if( isset( $tid->appointment_type ) )