Topic: Code to update due_date is ineffective I think

Hello,

In customer_invoice.php the following code is ineffective I think or may be I am not able to find the way how it works.

if (isset($_POST['_InvoiceDate_changed'])) {
    $_POST['due_date'] = get_invoice_duedate($_SESSION['Items']->payment, $_POST['InvoiceDate']);
    $Ajax->activate('due_date');
}

Reason of checking this code is that I am facing problem that when I am changing the Invoice Date then It is not changing the Due date. How shall I expect this to work?

www.boxygen.pk

Re: Code to update due_date is ineffective I think

This code is working dude. Ofcourse the due  date getting updated when the invoice date changed.

Subscription service based on FA
HRM CRM POS batch Themes