|
@@ -208,7 +208,7 @@ $methods = array(
|
|
|
|
|
|
print '<form method="POST" action="'.$_SERVER['PHP_SELF'].'">';
|
|
|
print '<input type="hidden" name="token" value="'.newToken().'">';
|
|
|
-print "<input type=\"hidden\" name=\"action\" value=\"remises\">";
|
|
|
+print '<input type="hidden" name="action" value="remises">';
|
|
|
print '<tr class="oddeven">';
|
|
|
print '<td>'.$langs->trans("MARGIN_METHODE_FOR_DISCOUNT").'</td>';
|
|
|
print '<td class="left">';
|
|
@@ -224,13 +224,13 @@ print '</form>';
|
|
|
// INTERNAL CONTACT TYPE USED AS COMMERCIAL AGENT
|
|
|
print '<form method="POST" action="'.$_SERVER['PHP_SELF'].'">';
|
|
|
print '<input type="hidden" name="token" value="'.newToken().'">';
|
|
|
-print "<input type=\"hidden\" name=\"action\" value=\"contact\">";
|
|
|
+print '<input type="hidden" name="action" value="contact">';
|
|
|
print '<tr class="oddeven">';
|
|
|
print '<td>'.$langs->trans("AgentContactType").'</td>';
|
|
|
print '<td class="left">';
|
|
|
$formcompany = new FormCompany($db);
|
|
|
$facture = new Facture($db);
|
|
|
-print $formcompany->selectTypeContact($facture, $conf->global->AGENT_CONTACT_TYPE, "AGENT_CONTACT_TYPE", "internal", "code", 1);
|
|
|
+print $formcompany->selectTypeContact($facture, $conf->global->AGENT_CONTACT_TYPE, "AGENT_CONTACT_TYPE", "internal", "code", 1, "maxwidth250");
|
|
|
print '</td>';
|
|
|
print '<td>';
|
|
|
print '<input type="submit" class="button" value="'.$langs->trans("Modify").'">';
|