FIX #9317
This commit is contained in:
parent
9042d341f0
commit
8c2eac4c93
@ -290,7 +290,7 @@ $listofreferent=array(
|
|||||||
'class'=>'SupplierProposal',
|
'class'=>'SupplierProposal',
|
||||||
'table'=>'supplier_proposal',
|
'table'=>'supplier_proposal',
|
||||||
'datefieldname'=>'date',
|
'datefieldname'=>'date',
|
||||||
'urlnew'=>DOL_URL_ROOT.'/supplier_proposal/card.php?action=create&projectid='.$id.'&socid='.$socid,
|
'urlnew'=>DOL_URL_ROOT.'/supplier_proposal/card.php?action=create&projectid='.$id, // No socid parameter here, the socid is often the customer and we create a supplier object
|
||||||
'lang'=>'supplier_proposal',
|
'lang'=>'supplier_proposal',
|
||||||
'buttonnew'=>'AddSupplierProposal',
|
'buttonnew'=>'AddSupplierProposal',
|
||||||
'testnew'=>$user->rights->supplier_proposal->creer,
|
'testnew'=>$user->rights->supplier_proposal->creer,
|
||||||
@ -550,8 +550,6 @@ print '<td align="right" width="100">'.$langs->trans("AmountHT").'</td>';
|
|||||||
print '<td align="right" width="100">'.$langs->trans("AmountTTC").'</td>';
|
print '<td align="right" width="100">'.$langs->trans("AmountTTC").'</td>';
|
||||||
print '</tr>';
|
print '</tr>';
|
||||||
|
|
||||||
$var = false;
|
|
||||||
|
|
||||||
foreach ($listofreferent as $key => $value)
|
foreach ($listofreferent as $key => $value)
|
||||||
{
|
{
|
||||||
$name=$langs->trans($value['name']);
|
$name=$langs->trans($value['name']);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user