ESH/common_bill.php

15 lines
403 B
PHP
Raw Normal View History

2024-10-23 18:28:06 +05:30
<form id="pdfform" target="_blank">
<input type="hidden" id="bill_id_pdf" name="bill_id_pdf">
</form>
<script>
function exporttopdf_common(bill_id) {
$("#bill_id_pdf").val(bill_id);
document.forms['pdfform'].action = "bill_form_pdf_invoice.php?bill_id=" + bill_id;
document.forms['pdfform'].method = "post";
document.forms['pdfform'].submit();
}
</script>