Skip to content
Snippets Groups Projects
Commit e5f81b1f authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Merge pull request #2202 from defrance69/patch-38

Update facture.php
parents 337d0558 191d4467
No related branches found
No related tags found
No related merge requests found
...@@ -1884,6 +1884,8 @@ if ($action == 'create') ...@@ -1884,6 +1884,8 @@ if ($action == 'create')
$ref_client = (! empty($objectsrc->ref_client) ? $objectsrc->ref_client : ''); $ref_client = (! empty($objectsrc->ref_client) ? $objectsrc->ref_client : '');
$ref_int = (! empty($objectsrc->ref_int) ? $objectsrc->ref_int : ''); $ref_int = (! empty($objectsrc->ref_int) ? $objectsrc->ref_int : '');
// only if socid not filled else it's allready done upper
if (empty($socid))
$soc = $objectsrc->thirdparty; $soc = $objectsrc->thirdparty;
$cond_reglement_id = (! empty($objectsrc->cond_reglement_id)?$objectsrc->cond_reglement_id:(! empty($soc->cond_reglement_id)?$soc->cond_reglement_id:1)); $cond_reglement_id = (! empty($objectsrc->cond_reglement_id)?$objectsrc->cond_reglement_id:(! empty($soc->cond_reglement_id)?$soc->cond_reglement_id:1));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment