}
// Prepare receipt instance
- final BillableReceiptItem receiptItem = this.createReceiptInstance();
+ final BillableReceiptItem receiptItem = this.createReceiptItemInstance();
// Is the receipt already there?
if (this.receiptItemListController.isReceiptItemAdded(receiptItem)) {
* <p>
* @return Receipt item instance
*/
- private BillableReceiptItem createReceiptInstance () {
+ private BillableReceiptItem createReceiptItemInstance () {
// Init receipt instance
// @TODO Unfinished:
final BillableReceiptItem receiptItem = new FinancialReceiptItem();
}
// Copy all data
- System.out.println("receiptItem.itemEntryCreated=" + receiptItem.getItemEntryCreated());
ReceiptItems.copyReceiptItemData(receiptItem, this.getCurrentReceiptItem());
// Create updated receipt instance
this.setItemBrandName(null);
this.setItemCouponNumber(null);
this.setItemGrossPrice(null);
+ this.setItemId(null);
this.setItemIsDiscount(null);
this.setItemIsRefund(null);
this.setItemManufacturer(null);