@php $services = []; if($payment->pay_type == 'service') $objP = $payment->invoice; else $objP = $payment->accessInvoice; foreach ($objP->items as $item) { if($item->itemDetails->type == 1 && $payment->pay_type == 'service'){ $services[] = $item->item_name; }else { $services[] = $item->item_name; } } @endphp
@lang('app.status')
@if ($payment->status == 'complete') @elseif ($payment->status == 'pending') @else @endif @lang('app.'.$payment->status)
@lang('app.receipt')
@if (!is_null($payment->bill)) @lang('app.view') @lang('app.receipt') @else -- @endif