Skip to content

Commit

Permalink
Debug registration to the foundation
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Jul 20, 2024
1 parent 0dbc872 commit 8f9ce1e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion htdocs/public/members/new.php
Original file line number Diff line number Diff line change
Expand Up @@ -753,6 +753,7 @@ function initturnover() {
jQuery("#trcompany").show();
jQuery("#trbirth").hide();
jQuery("#trbudget").show();
jQuery(".hideifautoturnover").hide();
if (jQuery("#budget").val() > 0) { jQuery(".amount").val(jQuery("#budget").val()); }
else { jQuery("#budget").val(\'\'); }
}
Expand Down Expand Up @@ -799,7 +800,7 @@ function initturnover() {

if ($caneditamount) {
print '<input type="text" name="amount" id="amount" class="flat amount width50" value="'.$showedamount.'">';
print ' '.$langs->trans("Currency".$conf->currency).'<span class="opacitymedium"> ';
print ' '.$langs->trans("Currency".$conf->currency).'<span class="opacitymedium hideifautoturnover"> - ';
print $amount > 0 ? $langs->trans("AnyAmountWithAdvisedAmount", price($amount, 0, $langs, 1, -1, -1, $conf->currency)) : $langs->trans("AnyAmountWithoutAdvisedAmount");
print '</span>';
} else {
Expand Down

0 comments on commit 8f9ce1e

Please sign in to comment.