diff --git a/recurring_invoice.php b/recurring_invoice.php index 7f6f32a00..c4dd1c9ce 100644 --- a/recurring_invoice.php +++ b/recurring_invoice.php @@ -62,20 +62,6 @@ } $recurring_payment_id = intval($row['recurring_payment_id']); $recurring_payment_recurring_invoice_id = intval($row['recurring_payment_recurring_invoice_id']); - if ($recurring_payment_recurring_invoice_id) { - $auto_pay_display = " - - Remove AutoPay - - "; - } else { - $auto_pay_display = " - - Create AutoPay - - "; - require "recurring_payment_add_modal.php"; - } $sql = mysqli_query($mysqli, "SELECT * FROM companies WHERE company_id = 1"); $row = mysqli_fetch_array($sql); @@ -138,6 +124,18 @@ Email Notify + + + + Disable AutoPay + + + + Create AutoPay + + + +
@@ -146,8 +144,6 @@