FG after order qty

This commit is contained in:
Raman Marikanti 2026-02-11 12:12:58 +05:30
parent 0ca4e94507
commit 796a8e1e17
1 changed files with 1 additions and 1 deletions

View File

@ -187,7 +187,7 @@ export class CustomerOrderStatusGrid extends Component {
fg_qty: parseFloat(row.fg_qty) || 0,
remaining_to_produce: Math.max(0, parseFloat(row.order_qty) - (parseFloat(row.produced_qty) + parseFloat(row.fg_qty))),
remaining_dispatch_qty: Math.max(0, parseFloat(row.order_qty) - parseFloat(row.dispatched_qty)),
completion_rate: parseFloat(row.produced_qty) > 0 ? ((parseFloat(row.produced_qty) / parseFloat(row.order_qty)) * 100) : 0
completion_rate: parseFloat(row.dispatched_qty) > 0 ? ((parseFloat(row.dispatched_qty) / parseFloat(row.order_qty)) * 100) : 0
};
});