Problem: Billing is always on
Solution: Make billing configurable through LIBRETIME_ENABLE_BILLING and deactivate it This should catch all the changes needed to deactive billing in LibreTime. * [x] only call billing when it is enabled * [x] let super admins edit their info * [x] dont link to billing if it is disabled
This commit is contained in:
parent
4557395a86
commit
6e03863fa1
11 changed files with 176 additions and 164 deletions
|
@ -26,9 +26,11 @@
|
|||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<?php if (LIBRETIME_ENABLE_BILLING === true) { ?>
|
||||
<div class="user-data" id="user_details_superadmin_message" style="display: none; margin-top: 105px; text-align: center;">
|
||||
<?=sprintf(_("Super Admin details can be changed in your <a href=\"%s\">Billing Settings</a>."), "/billing/client");?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<div class="user-data simple-formblock" id="user_details">
|
||||
<?php echo $this->successMessage ?>
|
||||
<fieldset class="padded">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue