on 2021 Jul 02 8:43 AM
Hi dear experts.
We are trying to insert additional info in the cash balancing receipt but we have not success.
We can isnser additioanl info in cash in cash out receipts an also in sales receipts.
we check tha we can insert info in this point for all but not for cash balancing
@PluginAt(pluginClass=PrintReceiptPosService.class, method="printReceipt", where=POSITION.BEFORE)
public void printReceipt(Object porxy, Object[] args, StackTraceElement[] ste) throws BreakExecutionException { ReceiptEntity receipt = (ReceiptEntity)args[0];
receipt.addAdditionalField(new AdditionalFieldEntity("INFOCIERRE", "", "INFOTOSHOW"));
args[0] = receipt;
}
any ideas?
thanks in advance
Request clarification before answering.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.