cod fix
This commit is contained in:
@@ -560,8 +560,17 @@ export interface OrderRow {
|
||||
*/
|
||||
ordervalue?: number;
|
||||
orderamount?: number;
|
||||
/** Cash to collect on delivery. Shown only when > 0. */
|
||||
collectionamt?: number;
|
||||
/*
|
||||
* `collectionamt` was declared here and read by three screens. It does not
|
||||
* exist in Fiesta — `grep -rn "collectionamt" --include=*.go` returns nothing
|
||||
* — so every one of them showed a dash or zero from the day it was written.
|
||||
* Removed 2026-09-28 along with those screens.
|
||||
*
|
||||
* A type can describe a field the server has never sent, and nothing catches
|
||||
* it: the optional marker makes `undefined` legal, and `?? 0` turns it into a
|
||||
* plausible figure. That is the trap, and it is worth remembering before the
|
||||
* next optional money field is added on the strength of a field name.
|
||||
*/
|
||||
deliverycharge?: number;
|
||||
deliveryamt?: number;
|
||||
paymenttype?: number;
|
||||
|
||||
Reference in New Issue
Block a user