@extends('layouts.admin.app') @section('title', translate('Order_Settings')) @section('content')
{{ translate('messages.All order you can show & manage them from') }} {{ translate('messages.All Orders') }} {{ translate('messages.page.') }}
@csrf

{{ translate('messages.Order_Type') }}

{{ translate('messages.Which way customer order their food') }}

{{ translate('messages.All the options can\'t be turn Off at a time. At least one option must be active to work your order system properly.') }}

{{ translate('messages.Regular_Order') }}

{{ translate('messages.Setup your business time zone and format from here') }}

@php($schedule_order_slot_duration = $settings['schedule_order_slot_duration'] ?? 0) @php($schedule_order_slot_duration_time_formate = $settings['schedule_order_slot_duration_time_formate'] ?? 'min')
@php($customer_date_order_sratus = $settings['customer_date_order_sratus'] ?? 0)
@php($customer_order_date = $settings['customer_order_date'] ?? 0)
@php($order_subscription = $settings['order_subscription'] ?? 0)

{{ translate('messages.Subscription_Order') }}

{{ translate('messages.Here you can manage the necessary settings for subscription order booking') }}

{{ translate('messages.Notification_Setup') }}

{{ translate('messages.Here you can manage the notification settings for this panel') }}

{{ translate('messages.To work properly the order notification') }}
@php($admin_free_delivery_status = \App\Models\BusinessSetting::where('key', 'admin_free_delivery_status')->first())

{{ translate('messages.Free Delivery Setup') }}

{{ translate('messages.If enabled customers can filter food according to their preference from the Customer App or Website.') }}

@php($free_delivery_over = \App\Models\BusinessSetting::where('key', 'free_delivery_over')->first()) @php($admin_free_delivery_option = \App\Models\BusinessSetting::where('key', 'admin_free_delivery_option')->first())
value == 'free_delivery_by_specific_criteria' ? 'required' : '' }}>
@php($free_delivery_distance = \App\Models\BusinessSetting::where('key', 'free_delivery_distance')->first())
value == 'free_delivery_by_specific_criteria' ? 'required' : '' }}>

{{ translate('messages.Others Setup') }}

{{ translate('messages.Here you can manage other necessary settings related to Orders') }}

@php($order_confirmation_model = $settings['order_confirmation_model'] ?? 'deliveryman')

{{ translate('messages.Setup Order Cancellation Messages') }}

{{ translate('messages.Users cannot cancel an order if the Admin does not specify a cause for cancellation even though they see the ‘Cancel Order‘ option. So Admin MUST provide a proper Order Cancellation Reason and select the related user.') }}

@csrf @if ($language) @endif
@if ($language) @foreach ($language as $lang)
@endforeach @endif

{{translate('messages.order_cancellation_reason_list')}}

@foreach ($reasons as $key => $reason) @endforeach
{{ translate('messages.SL') }} {{ translate('messages.Reason') }} {{ translate('messages.type') }} {{ translate('messages.status') }} {{ translate('messages.action') }}
{{ $key + $reasons->firstItem() }} {{ Str::limit($reason->reason, 25, '...') }} @if ($reason->is_default) @endif {{ Str::title($reason->user_type) }}
@if (count($reasons) === 0)
public
{{ translate('no_data_found') }}
@endif
{!! $reasons->appends(request()->all())->links() !!}
{{ translate('View_Guideline') }}

{{ translate('messages.Orders Setup Guideline') }}

{{ translate('messages.Let’s Setup') }}
{{translate('Order Type')}}

{{ translate('messages.The Order Type feature allows customers to place orders based on how they want to receive or consume their food.') }}

  • {{ translate('messages.Home Delivery') }}
  • {{ translate('messages.Allows customers to place an order and have it delivered to their specified address. Delivery is handled by a deliveryman or third-party service. It supports real-time order tracking.') }}

  • {{ translate('messages.Take away') }}
  • {{ translate('messages.Allows customers to place an order in advance and pick it up directly from the restaurant. No delivery charge is applied. The order is prepared for pickup at the restaurant.') }}

  • {{ translate('messages.Dine-In') }}
  • {{ translate('messages.Allows customers to place orders for consumption at the restaurant premises. It supports table-based ordering. There will be no delivery or packaging charges.') }}

{{ translate('messages.Let’s Setup') }}
{{translate('Regular Order')}}

{{ translate('messages.The Regular Order Settings allow you to control how customers place orders—either for immediate processing or for a scheduled time and date. These options help restaurants and service providers manage order flow more efficiently.') }}

{{ translate('messages.Let’s Setup') }}
{{ translate('messages.Let’s Setup') }}
{{translate('Notification Setup')}}

{{ translate('messages.The Admin Notification Setup allows the administrator to configure how system notifications are sent and managed. Admin notifications can be delivered either manually or through Firebase, depending on the selected configuration.') }}

{{ translate('messages.Let’s Setup') }}
{{translate('Free Delivery Setup')}}
  • {{ translate('messages.Free delivery over ($)') }}
  • {{ translate('messages.Admin can define the exact dollar amount (USD) that an order must exceed for the customer to receive free shipping automatically.') }}

{{ translate('messages.Let’s Setup') }}
{{translate('Others Setup')}}

{{ translate('messages.Configure additional order controls, including enabling the repeat order option for quick reordering, applying delivery verification methods to ensure successful delivery, and selecting the order confirmation model to define how orders are approved and processed within the system.') }}

{{ translate('messages.Let’s Setup') }}
{{translate('Set Up Order Cancellation Messages')}}

{{ translate('messages.This section allows the admin to manage order cancellation reasons. Admin can create and configure cancellation reasons based on different user types, control their active status, and mark a reason as default. These reasons will be displayed to users for selection when they attempt to cancel an order.') }}

@endsection @push('script_2') @endpush