@extends('layouts.master') @push('head-css') @endpush @section('content') @section('content')
@endsection @php function convertToMomentFormat($phpFormat) { $replacements = [ 'd' => 'DD', 'm' => 'MM', 'Y' => 'YYYY', 'h' => 'hh', 'i' => 'mm', 'A' => 'A', 'H' => 'HH', // 24-hour format ]; return strtr($phpFormat, $replacements); } $jsDateFormat = convertToMomentFormat($settings->date_format); $jsTimeFormat = convertToMomentFormat($settings->time_format); $jsDateTimeFormat = $jsDateFormat . ' ' . $jsTimeFormat; @endphp @push('footer-js') @if($credentials->stripe_status == 'active' && !$user->is_admin) @endif @if($credentials->razorpay_status == 'active' && !$user->is_admin) @endif @if ($credentials->paystack_status == 'active' && !$user->is_admin) @endif @if (Session::has('success')) @endif @endpush