CMXX - First testing
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
<?php
|
||||
// Include the configuration file, this contains settings you can change.
|
||||
include '/custom/settings/config.php';
|
||||
include './custom/settings/config.php';
|
||||
// Include functions and connect to the database using PDO MySQL
|
||||
include 'functions.php';
|
||||
include './functions.php';
|
||||
|
||||
//+++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
//LOGIN TO API
|
||||
@@ -73,7 +73,9 @@ if($token !=''){
|
||||
//++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
//Send the invoice when status is Paid
|
||||
//++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
list($data,$customer_email,$order_id) = generateInvoice($invoice_cust,$orderId);
|
||||
$invoice_language = strtoupper($invoice_cust['customer']['language']!= '' ? $invoice_cust['customer']['language'] : $responses['language']);
|
||||
|
||||
list($data,$customer_email,$order_id) = generateInvoice($invoice_cust,$orderId,$invoice_language);
|
||||
|
||||
//CREATE PDF
|
||||
$dompdf->loadHtml($data);
|
||||
|
||||
Reference in New Issue
Block a user