@extends('layouts.cart') @section('page-title',__lang('cart')) @section('content')
{{ __lang('item') }} | {{ __lang('total') }} | |
---|---|---|
@php
$url= route('course',['course'=>$session->id,'slug'=>safeUrl($session->name)]);
@endphp
@php if(!empty($session->picture)): @endphp
@php endif; @endphp
{{ $session->name }}@php switch($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->fee) }} | {{ __lang('remove') }} |
{{ $certificate->name }} | {{ price($certificate->price) }} | {{ __lang('remove') }} |
{{ __lang('discount') }} | @if(getCart()->discountType()=='P') {{ getCart()->getDiscount() }}% @else {{ price(getCart()->getDiscount()) }} @endif {{ strtolower(__lang('remove')) }} |
{{ __lang('total') }} |
{{ price(getCart()->getCurrentTotal()) }} |