mirror of
https://github.com/itflow-org/itflow
synced 2026-03-03 20:34:51 +00:00
Updated Email Quote and Invoice Templates, Invoice and Quote Guest view fully work, along with the ability for a guest to approve or reject a quote. PDF are no longer attached to emails they are provided as a link within an email and are recorded when viewed. Once viewed they can be printed or Downloaded as a PDF from the guest view pages. New option config_recurring_auto_email to automatically email the invoice on auto generated recurring Invoices
This commit is contained in:
@@ -84,12 +84,12 @@ if(isset($_GET['invoice_id'], $_GET['url_key'])){
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="float-right">
|
||||
<a class="btn btn-primary" href="#" onclick="window.print();">Print</a>
|
||||
<a class="btn btn-primary" href="guest_post.php?pdf_invoice=<?php echo $invoice_id; ?>&url_key=<?php echo $url_key; ?>">PDF</a>
|
||||
<a class="btn btn-primary" href="#" onclick="window.print();"><i class="fa fa-fw fa-print"></i> Print</a>
|
||||
<a class="btn btn-primary" download target="_blank" href="guest_post.php?pdf_invoice=<?php echo $invoice_id; ?>&url_key=<?php echo $url_key; ?>"><i class="fa fa-fw fa-download"></i> Download</a>
|
||||
<?php
|
||||
if($invoice_status != "Paid" or $invoice_status != "Cancelled" or $invoice_status != "Draft"){
|
||||
if($invoice_status != "Paid" and $invoice_status != "Cancelled" and $invoice_status != "Draft"){
|
||||
?>
|
||||
<a class="btn btn-primary" href="post.php?pdf_invoice=<?php echo $invoice_id; ?>">Pay</a>
|
||||
<a class="btn btn-success" href="post.php?pdf_invoice=<?php echo $invoice_id; ?>"><i class="fa fa-fw fa-credit-card"></i> Pay Online</a>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user