@extends('marsland::layouts.master') @section('title', _trans('About Us')) @section('marsland-content') @php $subtotal = 0; $total_discount = 0; $total = 0; @endphp
{{ count($carts) }} {{ _trans('landlord.Property in cart') }}
@forelse($carts as $cart)

{{ @$cart->property->name }}

{{ @$cart->property->size }}{{ _trans('landlord.sqft') }}
{{ $cart->start_date }} - {{ $cart->end_date }}
@php $discount_amount = calculatePercentage(@$cart->property->discount_type,@$cart->property->discount_amount,$cart->amount); $total_discount += $discount_amount; $subtotal += $cart->amount; $total += $cart->amount - $discount_amount; @endphp
{{ priceFormat($cart->amount) }} {{ priceFormat($discount_amount) }}
@empty

{{ _trans('landlord.Your cart is empty') }}

{{ _trans('landlord.Buy Property') }} @endforelse
@if(count($carts) > 0)

{{ _trans('landlord.Billing Summary') }}

  • {{ _trans('landlord.sub Total') }}

    {{ priceFormat($subtotal) }}

  • {{ _trans('landlord.Discount') }}

    {{ priceFormat($total_discount) }}

  • {{ _trans('landlord.Vat') }}

    {{ priceFormat(0) }}

  • {{ _trans('landlord.Total') }}

    {{ priceFormat($total) }}

{{ _trans('landlord.Your savings on this order') }}

{{ priceFormat($total_discount) }}
{{ _trans('landlord.Checkout') }}
@endif
@endsection @push('script') @endpush