|
@@ -898,7 +898,17 @@ static void obtainListItemData_BedListView(ZKListView *pListView,ZKListView::ZKL
|
|
|
name->setText(customerName);
|
|
|
}
|
|
|
|
|
|
- age->setText(frameBedList[index]["customer_age_unit"].asString() + ": " + frameBedList[index]["customer_age"].asString());
|
|
|
+ if (partSetting.customerAgeHiddenOnDoor != 0) {
|
|
|
+ if (frameBedList[index]["customer_age"].asString() == "") {
|
|
|
+ age->setText("");
|
|
|
+ } else {
|
|
|
+ age->setText("*" + frameBedList[index]["customer_age_unit"].asString());
|
|
|
+ }
|
|
|
+ }
|
|
|
+ else {
|
|
|
+ age->setText(frameBedList[index]["customer_age"].asString() + frameBedList[index]["customer_age_unit"].asString());
|
|
|
+ }
|
|
|
+
|
|
|
|
|
|
// if (partSetting.customerAgeHiddenOnDoor != 0) {
|
|
|
// sex->setText("*****");
|