Merge pull request #128 from simnandez/develop
New: [ task #156 ] Create an invoice from a delivery receipt
This commit is contained in:
commit
e1f0725348
@ -739,6 +739,7 @@ if ($action == 'add' && $user->rights->facture->creer)
|
||||
if ($element == 'propal') { $element = 'comm/propal'; $subelement = 'propal'; }
|
||||
if ($element == 'contract') { $element = $subelement = 'contrat'; }
|
||||
if ($element == 'inter') { $element = $subelement = 'ficheinter'; }
|
||||
if ($element == 'shipping') {$element = $subelement = 'expedition'; }
|
||||
|
||||
$object->origin = $_POST['origin'];
|
||||
$object->origin_id = $_POST['originid'];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user