refactor: remove rejection reason display from CuttingGroupedTable for improved clarity in cutting information presentation
This commit is contained in:
parent
50f9328ebc
commit
9170e5fd1e
@ -189,9 +189,6 @@ function getGroupedMaterialUsage(materials: any[]): MaterialUsageGroup[] {
|
||||
<p v-if="cutting.description" class="text-muted-foreground text-sm">
|
||||
{{ cutting.description }}
|
||||
</p>
|
||||
<p v-if="cutting.rejection?.reason" class="text-destructive text-sm">
|
||||
Alasan ditolak: {{ cutting.rejection.reason }}
|
||||
</p>
|
||||
<div class="flex flex-wrap gap-x-4 gap-y-1 text-sm">
|
||||
<span>Total Hasil Cutting <strong class="text-primary">{{ cutting.total_result_pieces ??
|
||||
0 }} pcs</strong></span>
|
||||
@ -204,7 +201,7 @@ function getGroupedMaterialUsage(materials: any[]): MaterialUsageGroup[] {
|
||||
|
||||
<div class="flex shrink-0 items-center justify-end gap-2 sm:pt-0.5">
|
||||
<DataTableActions :cutting="cutting" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="space-y-6 p-4">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user