Skip to content

Commit

Permalink
Allow RUM on creation step
Browse files Browse the repository at this point in the history
* close #4932
  • Loading branch information
camlafit committed Jul 19, 2017
1 parent 6e77dab commit 69aed8a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion htdocs/societe/rib.php
Expand Up @@ -203,6 +203,7 @@
$account->proprio = GETPOST('proprio','alpha');
$account->owner_address = GETPOST('owner_address','alpha');
$account->frstrecur = GETPOST('frstrecur');
$account->rum = GETPOST('rum','alpha');

// This test can be done only once properties were set
if ($account->needIBAN() == 1)
Expand Down Expand Up @@ -871,7 +872,7 @@

// RUM
print '<tr><td class="titlefieldcreate">'.$langs->trans("RUM").'</td>';
print '<td>'.$langs->trans("RUMWillBeGenerated").'</td></tr>';
print '<td colspan="4"><input size="30" type="text" name="rum" value="'.dol_escape_htmltag($account->rum).'"><br/>'.$langs->trans("RUMWillBeGenerated").'</td></tr>';

// FRSTRECUR
print '<tr><td>'.$langs->trans("WithdrawMode").'</td>';
Expand Down

0 comments on commit 69aed8a

Please sign in to comment.