update recipe detail

This commit is contained in:
Kenta420 2023-11-27 19:58:07 +07:00
parent d52cad09fd
commit 9279ef0247
11 changed files with 58 additions and 123 deletions

View file

@ -87,36 +87,14 @@
formControlName="otherDescription"
/>
</div>
<div class="flex flex-col gap-2">
<div class="form-control w-44">
<label class="flex gap-2 cursor-pointer label">
<span class="label-text">Is Use?</span>
<input type="checkbox" class="toggle" formControlName="isUse" />
</label>
</div>
<div class="form-control w-44">
<label class="flex gap-2 cursor-pointer label">
<span class="label-text">Is Show?</span>
<input type="checkbox" class="toggle" formControlName="isShow" />
</label>
</div>
<div class="form-control w-44">
<label class="flex gap-2 cursor-pointer label">
<span class="label-text">Is Disable?</span>
<input type="checkbox" class="toggle" formControlName="disable" />
</label>
</div>
</div>
</div>
</div>
<div
class="col-span-3 overflow-auto mb-4 rounded bg-white border border-gray-200 shadow"
>
<app-recipe-list
[parentForm]="recipeDetailForm"
[productCode]="productCode"
[actionRecord]="actionRecord"
[recipeDetailOriginal]="recipeOriginalDetail"
(recipeListFormChange)="onRecipeListFormChange($event)"
></app-recipe-list>
</div>
<div class="grid grid-cols-2 gap-4 mb-4">