@extends('theme.master') @section('title', 'Cart') @section('content') @include('admin.message')

{{ __('My Cart') }}

@if($carts[0]->id != NULL) @if($carts[0]->preview_image !== NULL && $carts[0]->preview_image !== '') blog @else blog @endif @endif

Total:

  • Total Price  {{ $carts[0]->price }}
  • @php $total=$carts[0]->price; $offer=$carts[0]->discount_price; $offerprice=$total-$offer; @endphp
  • Offer Discount  {{ $offerprice }}

  • Total:{{ $carts[0]->discount_price }}
@if($carts[0]->disamount == !NULL) @if(Session::has('coupanapplied'))
@endif @endif

@php $id=$carts[0]->id; $one = App\Feesstructure::where('course_id', $id)->get(); @endphp
Pick Installment Price Total Action
@foreach($one as $plan) @if($plan->type=='one') {{$plan->type}} @endif @endforeach @foreach($one as $plan) @if($plan->type=='one') {{$plan->offer_price}} @endif @endforeach @foreach($one as $plan) @if($plan->type=='one') {{$plan->total_price}} @endif @endforeach
{{ csrf_field() }} @foreach($one as $plan) @if($plan->type=='one') @endif @endforeach

@php $id=$carts[0]->id; $two = App\Feesstructure::where('course_id', $id)->get(); @endphp
Pick Installment Price First Payment Second payment Total Pay Action
@foreach($two as $plans) @if($plans->type=='two') {{$plans->type}} @endif @endforeach @foreach($two as $plans) @if($plans->type=='two') {{$plan->offer_price}} @endif @endforeach @foreach($two as $plans) @if($plans->type=='two') {{$plans->first_pay}} @endif @endforeach @foreach($two as $plans) @if($plans->type=='two') {{$plans->second_pay}} @endif @endforeach @foreach($two as $plans) @if($plans->type=='two') {{$plans->offer_price}} @endif @endforeach @foreach($two as $plans) @if($plans->type=='two')
{{ csrf_field() }}
@endif @endforeach

@php $id=$carts[0]->id; $three = App\Feesstructure::where('course_id', $id)->get(); @endphp
Pick Installment Price First Payment Second payment Third payment Total Pay Pay Now
@foreach($three as $plant) @if($plant->type=='three') *3 @endif @endforeach @foreach($three as $plant) @if($plant->type=='three') {{$plan->offer_price}} @endif @endforeach @foreach($three as $plant) @if($plant->type=='three') {{$plant->first_pay}} @endif @endforeach @foreach($three as $plant) @if($plant->type=='three') {{$plant->second_pay}} @endif @endforeach @foreach($three as $plant) @if($plant->type=='three') {{$plant->third_pay}} @endif @endforeach @foreach($three as $plant) @if($plant->type=='three') {{$plant->offer_price}} @endif @endforeach @foreach($three as $plant) @if($plant->type=='three')
{{ csrf_field() }}
@endif @endforeach

@endsection