Add un specific link to late invoices
Before : $response->url_late always == $response->url After : if $response->nbtodolate >= 1 : $response->url_late redirects to list with only late unpaid customer invoices.
This commit is contained in:
parent
ecaacc9543
commit
4cb423e5c7
@ -3902,6 +3902,7 @@ class Facture extends CommonInvoice
|
|||||||
|
|
||||||
if ($generic_facture->hasDelay()) {
|
if ($generic_facture->hasDelay()) {
|
||||||
$response->nbtodolate++;
|
$response->nbtodolate++;
|
||||||
|
$response->url_late=DOL_URL_ROOT.'/compta/facture/list.php?search_option=late&mainmenu=billing&leftmenu=customers_bills';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user