mirror of
https://github.com/itflow-org/itflow
synced 2026-03-05 21:34:51 +00:00
Updated Guest pay and Client Add Delete Payments, adjustedsetting saved payment per recurring invoice
This commit is contained in:
@@ -10,7 +10,6 @@ $row = mysqli_fetch_array($sql);
|
||||
$payment_method_id = intval($row['payment_method_id']);
|
||||
$payment_method_name = nullable_htmlentities($row['payment_method_name']);
|
||||
$payment_method_description = nullable_htmlentities($row['payment_method_description']);
|
||||
$payment_method_provider_id = intval($row['payment_method_provider_id']);
|
||||
|
||||
// Generate the HTML form content using output buffering.
|
||||
ob_start();
|
||||
@@ -40,27 +39,6 @@ ob_start();
|
||||
<textarea class="form-control" rows="3" name="description" placeholder="Enter a description..."><?php echo $payment_method_description; ?></textarea>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label>Payment Provider</label>
|
||||
<div class="input-group">
|
||||
<div class="input-group-prepend">
|
||||
<span class="input-group-text"><i class="fa fa-fw fa-globe-americas"></i></span>
|
||||
</div>
|
||||
<select class="form-control select2" name="provider">
|
||||
<option value="">- Select a Payment Provider -</option>
|
||||
<?php
|
||||
$sql_payment_providers = mysqli_query($mysqli, "SELECT * FROM payment_providers");
|
||||
while ($row = mysqli_fetch_array($sql_payment_providers)) {
|
||||
$payment_provider_id_select = intval($row['payment_provider_id']);
|
||||
$payment_provider_name_select = nullable_htmlentities($row['payment_provider_name']);
|
||||
|
||||
?>
|
||||
<option <?php if ($payment_method_provider_id == $payment_provider_id_select) { echo "selected"; } ?> value="<?php echo $payment_provider_id_select; ?>"><?php echo $payment_provider_name_select; ?></option>
|
||||
<?php } ?>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="modal-footer bg-white">
|
||||
<button type="submit" name="edit_payment_method" class="btn btn-primary text-bold"><i class="fa fa-check mr-2"></i>Save</button>
|
||||
|
||||
Reference in New Issue
Block a user