Commit a09643b6 by Wyh

10.15 廚房單顯示頭單、統計數

Signed-off-by: Wyh <1239658231>
parent 5e45c2a8
......@@ -179,18 +179,18 @@ public class PrintPrjKitchen extends PrinterRoot {
} else {
tvTakeTime.setVisibility(View.GONE);
}
// if (RestaurantExpandInfoUtils.getValue(ExpandConstant.PrintFirstOrder, false)) {
// tvFirstOrder.setText("<頭單>");
// tvFirstOrder.setVisibility(prjBean.getIsFirstSendOrder() == 1 ? View.VISIBLE : View.GONE);
// } else {
// tvFirstOrder.setVisibility(View.GONE);
// }
//
// if (RestaurantExpandInfoUtils.getValue(ExpandConstant.PrintStatisticsAmount, false)) {
// tvPrintQuantity.setText(prjBean.getQuantity() + "");
// } else {
// tvPrintQuantity.setVisibility(View.GONE);
// }
if (RestaurantExpandInfoUtils.getValue(ExpandConstant.PrintFirstOrder, false)) {
tvFirstOrder.setText("<頭單>");
tvFirstOrder.setVisibility(prjBean.getIsFirstSendOrder() == 1 ? View.VISIBLE : View.GONE);
} else {
tvFirstOrder.setVisibility(View.GONE);
}
if (RestaurantExpandInfoUtils.getValue(ExpandConstant.PrintStatisticsAmount, false)) {
tvPrintQuantity.setText(prjBean.getQuantity() + "");
} else {
tvPrintQuantity.setVisibility(View.GONE);
}
//開台時間
tvOpeningTime.setText(TimeUtils.parseTimeRepeat(prjBean.getOrderDetailsTime(), TimeUtils.DEFAULT_DATE_MDHM));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment