@extends('layouts.student') @section('pageTitle','') @section('innerTitle','') @section('breadcrumb') @include('admin.partials.crumb',[ 'crumbs'=>[ route('student.dashboard')=>__lang('dashboard'), '#'=>$pageTitle ]]) @endsection @section('content')
@php if(!$loggedIn): @endphp @php endif; @endphp @php if(isset($message) && false): @endphp @php endif; @endphp
@php foreach(getCart()->getSessions() as $session): @endphp @php endforeach; @endphp
{{ __lang('item') }} {{ __lang('total') }}  
@php if($session->session_type=='c'){ $url= $this->url('course-details',['id'=>$session->session_id,'slug'=>safeUrl($session->session_name)]); } else{ $url = $this->url('session-details',['id'=>$session->session_id,'slug'=>safeUrl($session->session_name)]); } @endphp @php if(!empty($session->picture)): @endphp @php endif; @endphp

{{ $session->session_name }}

@php switch($session->session_type){ case 'b': echo __lang('training-online'); break; case 's': echo __lang('training-session'); break; case 'c': echo __lang('online-course'); break; } @endphp
{{ price($session->amount) }} {{ __lang('remove') }}
@php if(getCart()->hasItems()): @endphp
{{ __lang('coupon') }}
{{ __lang('payment-method') }}
@php $count = 0; @endphp @php foreach($paymentMethods as $method): @endphp @php $count++; @endphp @php endforeach; @endphp
@php if(getCart()->hasDiscount()): @endphp @php endif; @endphp
{{ __lang('discount') }} @php if(getCart()->discountType()=='P'): @endphp{{ getCart()->getDiscount() }}%@php else: @endphp {{ price(getCart()->getDiscount()) }} @php endif; @endphp{{ strtolower(__lang('remove')) }}

{{ __lang('total') }}

{{ price(getCart()->getCurrentTotal()) }}

@php endif; @endphp
@endsection