Skip to content

Commit

Permalink
FIX function not found
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Mar 22, 2019
1 parent d892b92 commit a92ff42
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions htdocs/core/class/commoninvoice.class.php
Expand Up @@ -598,6 +598,7 @@ public function calculate_date_lim_reglement($cond_reglement = 0)
// 2 : application de la règle, le N du mois courant ou suivant
elseif ($cdr_type == 2 && !empty($cdr_decalage))
{
include_once DOL_DOCUMENT_ROOT.'/core/lib/date.lib.php';
$datelim = $this->date + ($cdr_nbjour * 3600 * 24);

$date_piece = dol_mktime(0, 0, 0, date('m', $datelim), date('d', $datelim), date('Y', $datelim)); // Sans les heures minutes et secondes
Expand Down

0 comments on commit a92ff42

Please sign in to comment.