added payment links to prices

This commit is contained in:
2025-06-25 17:14:03 +02:00
parent 5b598f2966
commit 3a0659b63b
9 changed files with 154 additions and 13 deletions

View File

@@ -164,7 +164,8 @@ function loadPlanForEdit(planId) {
document.getElementById('editMonthlyPrice').value = plan.monthly_price;
document.getElementById('editAnnualPrice').value = plan.annual_price;
document.getElementById('editButtonText').value = plan.button_text;
document.getElementById('editButtonUrl').value = plan.button_url;
document.getElementById('editMonthlyStripeLink').value = plan.monthly_stripe_link || '';
document.getElementById('editAnnualStripeLink').value = plan.annual_stripe_link || '';
document.getElementById('editIsPopular').checked = plan.is_popular;
document.getElementById('editIsCustom').checked = plan.is_custom;
document.getElementById('editIsActive').checked = plan.is_active;