@php $orderItem = $order->getItem(); $itemType = $order->getItemType(); $itemPrice = $order->getItemPrice(); @endphp
@if(in_array($itemType, ['course', 'bundle'])) @elseif($itemType == 'product') @elseif($itemType == "subscribe")
@elseif($itemType == "registrationPackage")
@endif
{{-- Badges --}} @include("design_1.panel.financial.installments.lists.grid_card.grid_card_badges") {{-- Actions --}} @if(!in_array($order->status, ['refunded', 'canceled']) or $order->isCompleted()) @include("design_1.panel.financial.installments.lists.grid_card.grid_card_actions") @endif
@if($itemType == "course" and $orderItem->isWebinar())
@endif

{{ $orderItem->title }}

{{ !empty($order->selectedInstallment->upfront) ? handlePrice($order->selectedInstallment->getUpfront($itemPrice)) : '-' }} {{ trans('update.upfront') }}
{{ handlePrice($order->remained_installments_amount) }} {{ trans('update.remained') }}
{{ $order->selectedInstallment->steps_count }} {{ trans('update.total_inst.') }}
{{ $order->remained_installments_count }} {{ trans('update.remained_inst.') }}
{{ (!empty($order->upcoming_installment)) ? handlePrice($order->upcoming_installment->getPrice($itemPrice)) : trans('public.no') }} {{ trans('update.upcoming') }}
{{ $order->overdue_count }} {{ trans('update.overdue_inst.') }}
{{-- Chart --}} @include("design_1.panel.financial.installments.lists.grid_card.grid_card_progress_chart")
{{ handlePrice($order->getCompletePrice()) }}