set the target for SOC links on proposals and invoices to the customer tab
This commit is contained in:
parent
cffe543257
commit
55d90ec560
@ -1590,7 +1590,7 @@ if ($action == 'create') {
|
||||
$shipping_method_id = 0;
|
||||
if ($socid > 0) {
|
||||
print '<td>';
|
||||
print $soc->getNomUrl(1);
|
||||
print $soc->getNomUrl(1, 'customer');
|
||||
print '<input type="hidden" name="socid" value="'.$soc->id.'">';
|
||||
print '</td>';
|
||||
if (!empty($conf->global->SOCIETE_ASK_FOR_SHIPPING_METHOD) && !empty($soc->shipping_method_id)) {
|
||||
|
||||
@ -3053,7 +3053,7 @@ if ($action == 'create') {
|
||||
// If thirdparty known and not a predefined invoiced without a recurring rule
|
||||
print '<tr><td class="fieldrequired">'.$langs->trans('Customer').'</td>';
|
||||
print '<td colspan="2">';
|
||||
print $soc->getNomUrl(1);
|
||||
print $soc->getNomUrl(1, 'customer');
|
||||
print '<input type="hidden" name="socid" value="'.$soc->id.'">';
|
||||
// Outstanding Bill
|
||||
$arrayoutstandingbills = $soc->getOutstandingBills();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user