Added Export Products CSV

This commit is contained in:
johnnyq
2024-06-10 15:53:26 -04:00
parent ff1ec30775
commit 655f1230c2
3 changed files with 68 additions and 0 deletions

23
product_export_modal.php Normal file
View File

@@ -0,0 +1,23 @@
<div class="modal" id="exportProductsModal" tabindex="-1">
<div class="modal-dialog">
<div class="modal-content bg-dark">
<div class="modal-header">
<h5 class="modal-title"><i class="fa fa-fw fa-download mr-2"></i>Export Products to CSV</h5>
<button type="button" class="close text-white" data-dismiss="modal">
<span>&times;</span>
</button>
</div>
<form action="post.php" method="post" autocomplete="off">
<div class="modal-body bg-white">
<?php require_once "inc_export_warning.php"; ?>
</div>
<div class="modal-footer bg-white">
<button type="submit" name="export_products_csv" class="btn btn-primary text-bold"><i class="fas fa-fw fa-download mr-2"></i>Download CSV</button>
<button type="button" class="btn btn-light" data-dismiss="modal"><i class="fa fa-times mr-2"></i>Cancel</button>
</div>
</form>
</div>
</div>
</div>