Add a new "terminalName" on PosTerminal entity and then show it on web pos login (Issue OFBIZ-1981)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@701675 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -81,7 +81,9 @@
|
||||
-->
|
||||
|
||||
<!-- use this one when the scheduled PUSH service is not enabled -->
|
||||
<PosTerminal posTerminalId="pos-1" facilityId="MyRetailStore"/>
|
||||
<PosTerminal posTerminalId="pos-1" terminalName="Pos Terminal 1" facilityId="MyRetailStore"/>
|
||||
<PosTerminal posTerminalId="pos-2" terminalName="Pos Terminal 2" facilityId="MyRetailStore"/>
|
||||
<PosTerminal posTerminalId="pos-3" terminalName="Pos Terminal 3" facilityId="MyRetailStore"/>
|
||||
|
||||
<!-- NOTE: this should be commented out for testing the POS without inventory, but should be included on PSS and MCS machines to handle inventory issuance -->
|
||||
<!-- <InventoryItem facilityId="MyRetailStore" inventoryItemId="9100" inventoryItemTypeId="NON_SERIAL_INV_ITEM" productId="GZ-1001"/>
|
||||
|
||||
@@ -45,6 +45,7 @@ under the License.
|
||||
<field name="posTerminalId" type="id-ne"></field>
|
||||
<field name="facilityId" type="id"></field>
|
||||
<field name="pushEntitySyncId" type="id"></field>
|
||||
<field name="terminalName" type="name"></field>
|
||||
<prim-key field="posTerminalId"/>
|
||||
</entity>
|
||||
<entity entity-name="PosTerminalLog"
|
||||
|
||||
@@ -31,7 +31,4 @@ under the License.
|
||||
<Enumeration description="Petty Cash out" enumCode="CASH_OUT_REASON" enumId="CASH_OUT_REASON" sequenceId="03" enumTypeId="POS_PAID_REASON_OUT"/>
|
||||
|
||||
<ProductStorePaymentSetting productStoreId="9100" paymentMethodTypeId="PERSONAL_CHECK" paymentServiceTypeEnumId="PRDS_PAY_EXTERNAL" paymentService=""/>
|
||||
|
||||
<PosTerminal posTerminalId="pos-2" facilityId="MyRetailStore"/>
|
||||
<PosTerminal posTerminalId="pos-3" facilityId="MyRetailStore"/>
|
||||
</entity-engine-xml>
|
||||
@@ -53,7 +53,7 @@ under the License.
|
||||
<td>
|
||||
<select name="posTerminalId" id="posTerminalId">
|
||||
<#list posTerminals as posTerminal>
|
||||
<option value="${posTerminal.posTerminalId}">${posTerminal.posTerminalId}</option>
|
||||
<option value="${posTerminal.posTerminalId}">${posTerminal.terminalName}</option>
|
||||
</#list>
|
||||
</select>
|
||||
</td>
|
||||
|
||||
Reference in New Issue
Block a user