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:
Pierre Ardoin 2020-01-27 09:49:49 +01:00 committed by GitHub
parent ecaacc9543
commit 4cb423e5c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3902,6 +3902,7 @@ class Facture extends CommonInvoice
if ($generic_facture->hasDelay()) {
$response->nbtodolate++;
$response->url_late=DOL_URL_ROOT.'/compta/facture/list.php?search_option=late&mainmenu=billing&leftmenu=customers_bills';
}
}