From 682118ef451f63db4901aaeccc8111ece092f415 Mon Sep 17 00:00:00 2001 From: Kenta420 Date: Wed, 4 Oct 2023 11:41:20 +0700 Subject: [PATCH] update modal --- client/src/app/core/models/recipe.model.ts | 6 +- .../shared/modal/recipe-modal.component.html | 95 +++++++++++++------ .../shared/modal/recipe-modal.component.ts | 16 ++++ 3 files changed, 83 insertions(+), 34 deletions(-) diff --git a/client/src/app/core/models/recipe.model.ts b/client/src/app/core/models/recipe.model.ts index 2a95696..cbfe306 100644 --- a/client/src/app/core/models/recipe.model.ts +++ b/client/src/app/core/models/recipe.model.ts @@ -32,13 +32,13 @@ export interface Recipe01 { TextForWarningBeforePay: string[]; cashPrice: number; changerecipe: string; - disable: string; + disable: boolean; disable_by_cup: string; disable_by_ice: string; EncoderCount: string; id: string; - isUse: string; - isShow: string; + isUse: boolean; + isShow: boolean; name: string; nonCashPrice: string; otherDescription: string; diff --git a/client/src/app/shared/modal/recipe-modal.component.html b/client/src/app/shared/modal/recipe-modal.component.html index c0a8003..01e3870 100644 --- a/client/src/app/shared/modal/recipe-modal.component.html +++ b/client/src/app/shared/modal/recipe-modal.component.html @@ -17,50 +17,83 @@ -