Fix : add refclient on bulk invoicing

This commit is contained in:
Maxime Kohlhaas 2019-05-31 16:33:32 +02:00
parent f2088a084f
commit d47913ed19

View File

@ -565,6 +565,7 @@ if ($massaction == 'confirm_createbills')
$objecttmp->cond_reglement_id = $cmd->cond_reglement_id;
$objecttmp->mode_reglement_id = $cmd->mode_reglement_id;
$objecttmp->fk_project = $cmd->fk_project;
if (empty($createbills_onebythird)) $objecttmp->ref_client = $cmd->ref_client;
$datefacture = dol_mktime(12, 0, 0, $_POST['remonth'], $_POST['reday'], $_POST['reyear']);
if (empty($datefacture))