refactor(order): status fixed di pai

This commit is contained in:
Yoga Pangestu 2025-11-11 09:06:37 +07:00
parent 0019633886
commit f38252cd34

View File

@ -38,7 +38,8 @@
<flux:error name="form.channel" />
</flux:field>
<flux:field>
{{-- Belum Dibutuhkan --}}
{{-- <flux:field>
<flux:label>Status <span class="text-red-500 ms-1">*</span></flux:label>
<flux:select variant="listbox" searchable placeholder="Pilih Status"
wire:model.live.debounce.500ms="form.status">
@ -48,6 +49,16 @@
@endforeach
</flux:select>
<flux:error name="form.status" />
</flux:field> --}}
<flux:field>
<flux:label>Status <span class="text-red-500 ms-1">*</span></flux:label>
<flux:select variant="listbox" wire:model="form.status">
<flux:select.option value="{{ \App\Enums\OrderStatus::PAID }}">
{{ \App\Enums\OrderStatus::PAID->label() }}
</flux:select.option>
</flux:select>
<flux:error name="form.status" />
</flux:field>
<flux:field>