feat: subscriptions have personalized notification times (#334)
This commit is contained in:
@@ -276,10 +276,25 @@
|
||||
</div>
|
||||
|
||||
<div class="form-group-inline">
|
||||
<input type="checkbox" id="notifications" name="notifications">
|
||||
<input type="checkbox" id="notifications" name="notifications" onchange="toggleNotificationDays()">
|
||||
<label for="notifications"><?= translate('enable_notifications', $i18n) ?></label>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="notify_days_before"><?= translate('notify_me', $i18n) ?></label>
|
||||
<select id="notify_days_before" name="notify_days_before" disabled>
|
||||
<option value="0"><?= translate('default_value_from_settings', $i18n) ?></option>
|
||||
<option value="1">1 <?= translate('day_before', $i18n) ?></option>
|
||||
<?php
|
||||
for ($i = 2; $i <= 90; $i++) {
|
||||
?>
|
||||
<option value="<?= $i ?>"><?= $i ?> <?= translate('days_before', $i18n) ?></option>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="payment_method"><?= translate('payment_method', $i18n) ?></label>
|
||||
<select id="payment_method" name="payment_method_id">
|
||||
|
||||
Reference in New Issue
Block a user