@if (!in_array('Payment Gateway Integration', restaurant_modules()))
@else
@lang('modules.settings.paymentgatewaySettings')
@lang('modules.settings.paymentHelp')
{{-- tabs --}}
@if ($isGlobalRazorpayEnabled)
-
$activePaymentSetting != 'razorpay',
'active border-skin-base dark:text-skin-base dark:border-skin-base text-skin-base' =>
$activePaymentSetting == 'razorpay',
])>
@lang('modules.billing.razorpay')
$isRazorpayEnabled,
'bg-red-500' => !$isRazorpayEnabled,
])>
@endif
@if ($isGlobalStripeEnabled)
-
$activePaymentSetting != 'stripe',
'active border-skin-base dark:text-skin-base dark:border-skin-base text-skin-base' =>
$activePaymentSetting == 'stripe',
])>
@lang('modules.billing.stripe')
$isStripeEnabled,
'bg-red-500' => !$isStripeEnabled,
])>
@endif
@if ($isGlobalFlutterwaveEnabled)
-
$activePaymentSetting != 'flutterwave',
'active border-skin-base dark:text-skin-base dark:border-skin-base text-skin-base' =>
$activePaymentSetting == 'flutterwave',
])>
@lang('modules.billing.flutterwave')
$isFlutterwaveEnabled,
'bg-red-500' => !$isFlutterwaveEnabled,
])>
@endif
@if ($isGlobalPaypalEnabled)
-
$activePaymentSetting != 'paypal',
'active border-skin-base dark:text-skin-base dark:border-skin-base text-skin-base' =>
$activePaymentSetting == 'paypal',
])>
@lang('modules.billing.paypal')
$isPaypalEnabled,
'bg-red-500' => !$isPaypalEnabled,
])>
@endif
@if ($isGlobalPayfastEnabled)
-
$activePaymentSetting != 'payfast',
'active border-skin-base dark:text-skin-base dark:border-skin-base text-skin-base' =>
$activePaymentSetting == 'payfast',
])>
@lang('modules.billing.payfast')
$isPayfastEnabled,
'bg-red-500' => !$isPayfastEnabled,
])>
@endif
@if ($isGlobalPaystackEnabled)
-
$activePaymentSetting != 'paystack',
'active border-skin-base dark:text-skin-base dark:border-skin-base text-skin-base' =>
$activePaymentSetting == 'paystack',
])>
@lang('modules.billing.paystack')
$isPaystackEnabled,
'bg-red-500' => !$isPaystackEnabled,
])>
@endif
-
$activePaymentSetting != 'offline',
'active border-skin-base dark:text-skin-base dark:border-skin-base text-skin-base' =>
$activePaymentSetting == 'offline',
])>
@lang('modules.billing.offline')
$paymentGateway->is_offline_payment_enabled || $paymentGateway->is_cash_payment_enabled,
'bg-red-500' => !$paymentGateway->is_offline_payment_enabled && !$paymentGateway->is_cash_payment_enabled,
])>
-
$activePaymentSetting != 'qr_code',
'active border-skin-base dark:text-skin-base dark:border-skin-base text-skin-base' =>
$activePaymentSetting == 'qr_code',
])>
@lang('modules.billing.qr_code')
$paymentGateway->is_qr_payment_enabled,
'bg-red-500' => !$paymentGateway->is_qr_payment_enabled,
])>
-
$activePaymentSetting != 'serviceSpecific',
'active border-skin-base dark:text-skin-base dark:border-skin-base text-skin-base' =>
$activePaymentSetting == 'serviceSpecific',
])>
@lang('modules.billing.generalSettings')
@if ($activePaymentSetting == 'razorpay')
@endif
@if ($activePaymentSetting == 'stripe')
@endif
@if($activePaymentSetting == 'flutterwave')
@endif
@if ($activePaymentSetting == 'paypal')
@endif
@if($activePaymentSetting == 'payfast')
@endif
@if($activePaymentSetting == 'paystack')
@endif
@if ($activePaymentSetting == 'offline')
@endif
{{-- qrcode Form --}}
@if ($activePaymentSetting == 'qr_code')
@endif
@if ($activePaymentSetting == 'serviceSpecific')
@if ($isRazorpayEnabled || $isStripeEnabled || $isFlutterwaveEnabled || $isPaypalEnabled || $isPayfastEnabled || $isPaystackEnabled || $enableOfflinePayment || $enableQrPayment)
@lang('modules.settings.generalSettingsUseInfo')
@else
@lang('modules.settings.enableRazorpayOrStripe')
@endif
@endif
@endif