|
|
@@ -643,6 +643,12 @@ void CPosPrinter::PrintWaimaiOrderShouyin(CWaimaiOrder& order)
|
|
|
setting_printer_phone_big = true;
|
|
|
}
|
|
|
|
|
|
+ //看看电话是否要脱敏
|
|
|
+ if (order.m_show_whole_phone == "1")
|
|
|
+ {
|
|
|
+ order.m_phone.replace(3, 4, 4, '*');
|
|
|
+ }
|
|
|
+
|
|
|
string phone = "电话:" + CLewaimaiString::UTF8ToANSI(order.m_phone);
|
|
|
POS_TextOut(phone, false, setting_printer_phone_big);
|
|
|
POS_FeedLine();
|