@extends('backend.layouts.app') @section('title') {{ __($module_title) }} @endsection @section('content')
{{ optional($billingAddress)->address_line_1 }}, {{ optional($billingAddress)->city }}, {{ optional($billingAddress)->state }}, {{ optional($billingAddress)->country }}
{{ __('booking.services') }}/{{ __('booking.products') }} | {{ __('booking.unit_price') }} | QTY{{ __('booking.qty') }} | {{ __('booking.total_price') }} |
---|---|---|---|
{{ $value->service_name }} |
{{ \Currency::format($value->service_price) }} | 1 | {{ \Currency::format($value->service_price) }} |
{{ $value->product_name }} |
@php
$price = $value->product_price;
$delPrice = false;
$discountType = $value->discount_type;
$discountValue = $value->discount_value . ($discountType == 'percent' ? '%' : '');
if($price != $value->discounted_price) {
$delPrice = $price;
$price = $value->discounted_price;
}
$productPrice=($price * $value->product_qty)+$productPrice
@endphp
{{ \Currency::format($price) }}
|
{{ $value->product_qty }} | {{ \Currency::format($price * $value->product_qty) }} |
{{ __('booking.sub_total') }}: |
{{ \Currency::format($data->services_total_amount + $productPrice )}} | ||
{{ __('booking.tips') }}: |
{{ \Currency::format(optional($data->booking_transaction)->tip_amount) }} |
{{ __('booking.tax') }}: |
{{ \Currency::format($data->tax_amount) }} | @if($data->coupon_discount>0)
{{ __('booking.coupondiscount') }}: |
{{ \Currency::format($data->coupon_discount) }} | ||
{{ __('booking.grand_total') }}: |
{{ \Currency::format($data->grand_total) }} |