Validate invoice before locking it#115
Conversation
|
I am getting |
|
Can't reproduce the |
|
Not me either. I guess this is good then. |
|
We should validate Fakturadato and Forfallsdato for 0000-00-00 |
…tons if any errors
Conflicts: modules/invoice/view/edit.php
|
The warning messages on top of page are printed twice. This didn't happen before. |
| } | ||
|
|
||
| if($_lib['input']->getProperty('action_invoice_lock')) { | ||
| $invoice->init(array()); |
There was a problem hiding this comment.
I don't think we need this since we call init on line 119.
|
@stoivo The error duplication does not happen on my machine, you have to show me what happens. |
|
CustomerAccountPlanID is not loaded on first load of invoice edit page and so are the City, ZipCode and Name fields. Fix this. |
|
Fixed. |
Closes #111