BIMAI: REST get ecommerceinvoices

This commit is contained in:
Michał Zieliński
2025-10-21 17:04:15 +02:00
parent 601b31439c
commit 28d637ecc1
2 changed files with 69 additions and 2 deletions

View File

@@ -14,6 +14,7 @@
}
require_once('./REST/functions.php');
require_once('./REST/bimai.php');
// Enable SugarCRM features
if(!defined('sugarEntry'))define('sugarEntry', true);
require_once('./include/entryPoint.php');
@@ -41,6 +42,8 @@
case 'createCSVReports':
createCSVReports();
break;
case 'bimai.export.ecommerce':
bimai_exportEcommerceDate($_GET['since']);
break;
}
// https://crm.twinpol.com/REST/index.php?key=d68dac4c-f784-4e1b-8267-9ffcfa0eda4c&action=createCostDocumentFromInvoice&record=c3f6eaa6-0cbd-8c89-1a8c-683ff19a36db
?>
// https://crm.twinpol.com/REST/index.php?key=d68dac4c-f784-4e1b-8267-9ffcfa0eda4c&action=createCostDocumentFromInvoice&record=c3f6eaa6-0cbd-8c89-1a8c-683ff19a36db