Hello All,
Issue: deleting receipt entry blocks the page (and all receipts stored in the session are lost
)
Step to reproduce issue:
main Menu > Receivables > Enter Receipt
Add a few receipts to the batch and try to delete one : webERP is blocked after rendering the header
the line causing it in CustomerReceipt.php is
Code:
/* User hit delete the receipt entry from the batch */
$_SESSION['ReceiptBatch' . $identifier]->remove_receipt_item($_GET['Delete']);
the function
remove_receipt_item is in DefineReceiptClass.php and attempts to unset an element from an array in an object (and recalculates the entries total). Which seems to make sense, but doesn't work.
webERP 4.14, php 7.0
Thank you for your input