Fixed: Quick solution to solve problem of unknown payment amount for
online subscription.
This commit is contained in:
parent
df3987fa10
commit
48818ed2fd
@ -61,6 +61,7 @@ ErrorFailedToSaveFile=Error, failed to save file.
|
|||||||
SetDate=Set date
|
SetDate=Set date
|
||||||
SelectDate=Select a date
|
SelectDate=Select a date
|
||||||
SeeAlso=See also %s
|
SeeAlso=See also %s
|
||||||
|
SeeHere=See here
|
||||||
BackgroundColorByDefault=Default background color
|
BackgroundColorByDefault=Default background color
|
||||||
FileNotUploaded=The file was not uploaded
|
FileNotUploaded=The file was not uploaded
|
||||||
FileUploaded=The file was successfully uploaded
|
FileUploaded=The file was successfully uploaded
|
||||||
|
|||||||
@ -870,7 +870,12 @@ if (GETPOST("source") == 'membersubscription' && $valid)
|
|||||||
// Amount
|
// Amount
|
||||||
$var=!$var;
|
$var=!$var;
|
||||||
print '<tr class="CTableRow'.($var?'1':'2').'"><td class="CTableRow'.($var?'1':'2').'">'.$langs->trans("Amount");
|
print '<tr class="CTableRow'.($var?'1':'2').'"><td class="CTableRow'.($var?'1':'2').'">'.$langs->trans("Amount");
|
||||||
if (empty($amount)) print ' ('.$langs->trans("ToComplete").')';
|
if (empty($amount))
|
||||||
|
{
|
||||||
|
print ' ('.$langs->trans("ToComplete");
|
||||||
|
if (! empty($conf->global->MEMBER_EXT_URL_SUBSCRIPTION_INFO)) print ' - <a href="'.$conf->global->MEMBER_EXT_URL_SUBSCRIPTION_INFO.'" rel="external" target="_blank">'.$langs->trans("SeeHere").'</a>';
|
||||||
|
print ')';
|
||||||
|
}
|
||||||
print '</td><td class="CTableRow'.($var?'1':'2').'">';
|
print '</td><td class="CTableRow'.($var?'1':'2').'">';
|
||||||
if (empty($amount) || ! is_numeric($amount))
|
if (empty($amount) || ! is_numeric($amount))
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user