|
|
|
@ -135,7 +135,7 @@ const printCartonLabel = (LODOP,row,icons,hz) => { |
|
|
|
LODOP.SET_PRINT_STYLEA(0, 'FontName', 'Arial') |
|
|
|
LODOP.SET_PRINT_STYLEA(0, 'FontSize', 10) |
|
|
|
|
|
|
|
LODOP.ADD_PRINT_TEXT(86, 275, 64, 20, row.weight) |
|
|
|
LODOP.ADD_PRINT_TEXT(86, 275, 64, 20, new Decimal(row.weight).toDecimalPlaces(3)) |
|
|
|
LODOP.SET_PRINT_STYLEA(0, 'FontName', 'Arial') |
|
|
|
LODOP.SET_PRINT_STYLEA(0, 'FontSize', 10) |
|
|
|
LODOP.SET_PRINT_STYLEA(0, 'Alignment', 3) |
|
|
|
@ -144,7 +144,7 @@ const printCartonLabel = (LODOP,row,icons,hz) => { |
|
|
|
LODOP.SET_PRINT_STYLEA(0, 'FontName', 'Arial') |
|
|
|
LODOP.SET_PRINT_STYLEA(0, 'FontSize', 10) |
|
|
|
if (row.showPound === 'Y'){ |
|
|
|
LODOP.ADD_PRINT_TEXT(101, 275, 64, 20, new Decimal(row.weight).mul(new Decimal(2.20462)).toDecimalPlaces(6)) |
|
|
|
LODOP.ADD_PRINT_TEXT(101, 275, 64, 20, new Decimal(row.weight).mul(new Decimal(2.20462)).toDecimalPlaces(3)) |
|
|
|
LODOP.SET_PRINT_STYLEA(0, 'FontName', 'Arial') |
|
|
|
LODOP.SET_PRINT_STYLEA(0, 'FontSize', 10) |
|
|
|
LODOP.SET_PRINT_STYLEA(0, 'Alignment', 3) |
|
|
|
|