Fix css of public payment page
This commit is contained in:
parent
546a68eafb
commit
7b0e34ffdd
1 changed files with 5 additions and 5 deletions
|
|
@ -2108,19 +2108,19 @@ if ($action != 'dopayment') {
|
|||
}
|
||||
|
||||
if ($source == 'order' && $object->billed) {
|
||||
print '<br><br><span class="amountpaymentcomplete size12x">'.$langs->trans("OrderBilled").'</span>';
|
||||
print '<br><br><div class="amountpaymentcomplete size12x wrapimp">'.$langs->trans("OrderBilled").'</div>';
|
||||
} elseif ($source == 'invoice' && $object->paye) {
|
||||
print '<br><br><span class="amountpaymentcomplete size12x">'.$langs->trans("InvoicePaid").'</span>';
|
||||
print '<br><br><div class="amountpaymentcomplete size12x wrapimp">'.$langs->trans("InvoicePaid").'</div>';
|
||||
} elseif ($source == 'donation' && $object->paid) {
|
||||
print '<br><br><span class="amountpaymentcomplete size12x">'.$langs->trans("DonationPaid").'</span>';
|
||||
print '<br><br><div class="amountpaymentcomplete size12x wrapimp">'.$langs->trans("DonationPaid").'</div>';
|
||||
} else {
|
||||
// Membership can be paid and we still allow to make renewal
|
||||
if (($source == 'member' || $source == 'membersubscription') && $object->datefin > dol_now()) {
|
||||
$langs->load("members");
|
||||
print '<br><span class="amountpaymentcomplete size12x">';
|
||||
print '<br><div class="amountpaymentcomplete size12x wrapimp">';
|
||||
$s = $langs->trans("MembershipPaid", '{s1}');
|
||||
print str_replace('{s1}', '<span class="nobold">'.dol_print_date($object->datefin, 'day').'</span>', $s);
|
||||
print '</span><br>';
|
||||
print '</div>';
|
||||
print '<div class="opacitymedium margintoponly">'.$langs->trans("PaymentWillBeRecordedForNextPeriod").'</div>';
|
||||
print '<br>';
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue