@extends('gateway::layouts.payment') @section('logo', asset(config('cashondelivery.logo'))) @section('gateway', config('cashondelivery.name')) @section('content')

{{ __('Cash On Delivery') }}

@include('gateway::partial.instruction')
@php $codResponse = \App\Models\Order::checkCashOnDelivery($purchaseData); @endphp @if ($codResponse['status'] == true && $codResponse['notAvailable'] == false)
@csrf
@else
{{ __('Cash on delivery is not available for this order') }}
@endif
@endsection @section('css') @endsection