@extends('frontLayout.frontlayout') @section('content') @php use App\Models\Frontend\ContentManagement; $lang = session('language') ? session('language') : 'en'; $videoPayTitle = ContentManagement::getLike('video_pay_title','video_payment'); $videoSubPayTitle = ContentManagement::getLike('video_pay_sub_title','video_payment'); $videoMiniPayTitle = ContentManagement::getLike('video_pay_description','video_payment'); @endphp

3/4

{{isset($videoSubPayTitle) && !empty($videoSubPayTitle) ? __dl($videoSubPayTitle,'video_pay_sub_title'): "Complete your payment"}}

{{isset($videoMiniPayTitle) && !empty($videoMiniPayTitle) ? __dl($videoMiniPayTitle,'video_pay_description'): "-"}}

@include('frontend.partials.flash_messages')
{{ csrf_field(); }}
@if(isset($cards) && count($cards) > 0) @include('frontend.bussinessInformation.videoPackage.partials.cards') @else @include('frontend.bussinessInformation.videoPackage.partials.addCards') @endif

{{__('videoAddCard.payment_detail')}}

{{--

{{__('videoAddCard.subtotal')}}

{{ isset($package->discount) && $package->discount ? General::priceFormat($package->discount) : '' }}

--}} @if(isset($package->discount) && $package->discount && isset($package->price) && $package->price && $package->price < $package->discount)

{{__('paymentSellBusiness.discount')}}

-{{ isset($package->discount) && $package->discount ? (isset($package->price) && $package->price ? General::priceFormat($package->discount-$package->price) : '') : '' }}

@endif

{{__('videoAddCard.grand_total')}}

{{ isset($package->discount) && $package->discount ? General::priceFormat($package->discount) : General::priceFormat($package->price) }}

@endsection