@extends('master.front')
@section('title')
{{ __('Payment') }}
@endsection
@section('content')
{{ __('Invoice address') }} :
@php
$ship = Session::get('shipping_address');
$bill = Session::get('billing_address');
@endphp
- {{ __('Name') }}:
{{ $ship['ship_first_name'] }} {{ $ship['ship_last_name'] }}
@if (PriceHelper::CheckDigital())
- {{ __('Address') }}:
{{ $ship['ship_address1'] }} {{ $ship['ship_address2'] }}
@endif
- {{ __('Phone') }}: {{ $ship['ship_phone'] }}
{{ __('Shipping address') }} :
- {{ __('Name') }}:
{{ $bill['bill_first_name'] }}
@if (PriceHelper::CheckDigital())
- {{ __('Address') }}:
{{ $ship['ship_address1'] }} {{ $ship['ship_address2'] }}
@endif
- {{ __('Phone') }}: {{ $bill['bill_phone'] }}
@if (PriceHelper::CheckDigital() == true)
@php
$free_shipping = DB::table('shipping_services')->whereStatus(1)->whereIsCondition(1)->first();
@endphp
{{ __('Please select shipping method') }}
@error('shipping_id')
{{ $message }}
@enderror
@endif
@if (PriceHelper::CheckDigital() == true)
@if (DB::table('states')->whereStatus(1)->count() > 0)
{{ __('Please select shipping state') }}
@error('state_id')
{{ $message }}
@enderror
@endif
@endif
@php
$gateways = DB::table('payment_settings')->whereStatus(1)->get();
@endphp
@foreach ($gateways as $gateway)
@if (PriceHelper::CheckDigitalPaymentGateway())
@if ($gateway->unique_keyword != 'cod')
@endif
@else
@endif
@endforeach
@include('includes.checkout_modal')
@include('includes.checkout_sitebar', $cart)
@endsection