IDEMPIERE-4544 Payment Selection cannot be used in mobile portrait (#377)

This commit is contained in:
Carlos Ruiz 2020-11-13 11:15:52 +01:00 committed by GitHub
parent 837c04f063
commit bf4935395a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -269,6 +269,12 @@ public class WPaySelect extends PaySelect
}
row.appendChild(new Space());
row.appendChild(onlyPositiveBalance);
if (ClientInfo.maxWidth(ClientInfo.MEDIUM_WIDTH-1))
{
row.appendChild(new Space());
row = rows.newRow();
row.appendChild(new Space());
}
row.appendCellChild(chkOnePaymentPerInv);
row.appendChild(new Space());