Revision 0c5a0066
Von Moritz Bunkus vor etwa 5 Jahren hinzugefügt
SL/WH.pm | ||
---|---|---|
807 | 807 |
"chargeid" => "c.id", |
808 | 808 |
"warehousedescription" => "w.description", |
809 | 809 |
"partunit" => "p.unit", |
810 |
"stock_value" => $form->{stock_value_basis} eq 'list_price' ? "p.listprice / COALESCE(pfac.factor, 1)" : "p.lastcost / COALESCE(pfac.factor, 1)",
|
|
810 |
"stock_value" => ($form->{stock_value_basis} // '') eq 'list_price' ? "p.listprice / COALESCE(pfac.factor, 1)" : "p.lastcost / COALESCE(pfac.factor, 1)",
|
|
811 | 811 |
"purchase_price" => "p.lastcost", |
812 | 812 |
"list_price" => "p.listprice", |
813 | 813 |
); |
Auch abrufbar als: Unified diff
WH: Warnungen wegen nicht initialisierten Werten vermeiden
Durch Tests getriggert, konkret: durch t/wh/transfer.t