refactor(tools): remove entry flow
This commit is contained in:
No files matched your search
@@ -72,7 +72,7 @@ const headerPrep: HeaderPrep = {
|
||||
},
|
||||
},
|
||||
addNav: {
|
||||
label: 'Tambah Perlengkapan',
|
||||
label: 'Tambah Peralatan',
|
||||
icon: 'i-lucide-plus',
|
||||
onClick: () => {
|
||||
isFormEntryDialogOpen.value = true
|
||||
@@ -184,11 +184,11 @@ const handleCancelConfirmation = () => {
|
||||
<div class="rounded-md border p-4">
|
||||
<Header v-model="searchInput" :prep="headerPrep" @search="handleSearch" />
|
||||
<div class="rounded-md border p-4">
|
||||
<AppEquipmentList :data="data" :pagination-meta="paginationMeta" @page-change="handlePageChange" />
|
||||
<AppToolsList :data="data" :pagination-meta="paginationMeta" @page-change="handlePageChange" />
|
||||
</div>
|
||||
|
||||
<Dialog v-model:open="isFormEntryDialogOpen" title="Tambah Peralatan" size="lg" prevent-outside>
|
||||
<AppEquipmentEntryForm :schema="DeviceSchema" :uoms="uoms" :items="items" @back="onCancelForm" @submit="onSubmitForm" />
|
||||
<AppToolsEntryForm :schema="DeviceSchema" :uoms="uoms" :items="items" @back="onCancelForm" @submit="onSubmitForm" />
|
||||
</Dialog>
|
||||
|
||||
<!-- Record Confirmation Modal -->
|
||||
|
||||
Reference in New Issue
Block a user