remove name from cashier/customer title

This commit is contained in:
Thein Lin Kyaw
2020-07-30 13:06:04 +06:30
parent 7d9c2379ae
commit 05ffd6cbb5
29 changed files with 67 additions and 603 deletions

View File

@@ -13,7 +13,7 @@
<td><%= @shift.shift_started_at.utc.getlocal.strftime("%d/%m/%Y - %I:%M %p") rescue '-' %></td>
</tr>
<tr>
<td><%= t :cashier_name %></td>
<td><%= t :cashier %></td>
<td><%= @shift.employee.name rescue ''%></td>
</tr>
@@ -45,8 +45,8 @@
</div>
<div class="modal-body">
<select class="form-control show-tick sel_com_port" id="sel_com_port" >
</select>
</select>
</div>
<div class="modal-footer p-r-30">
<button type="button" class="btn btn-link btn-danger waves-effect" data-dismiss="modal">CLOSE</button>
@@ -77,7 +77,7 @@
return false;
} else {
return true;
}
}
}
function greaterThanOne(val){
@@ -182,7 +182,7 @@
if($("#loading_wrapper").is(':visible')){
resMsg = code2lab.reqBankPayment(cmd_type, payment_type, 1, "", com_port);
}
if(resMsg.includes("STATUS")){
var jobj = $.parseJSON(resMsg);