count on pickup_type : "car" in the restaurant details, for change the service label name and adding car plate number

This commit is contained in:
2025-11-12 23:40:52 +03:00
parent c60c562613
commit 3865a96682
4 changed files with 6 additions and 2 deletions

View File

@@ -36,6 +36,7 @@ export default function RestaurantServices() {
is_booking_enabled,
delivery,
is_schedule_order_enabled,
pickup_type,
} = restaurant || {};
const services = [
@@ -57,7 +58,7 @@ export default function RestaurantServices() {
...((pickup && [
{
id: OrderType.Pickup,
title: t("common.pickup"),
title: pickup_type === "car" ? t("common.car") : t("common.pickup"),
description: t("home.services.pickup"),
icon: (
<PickupIcon