From: Janusz Dobrowolski Date: Thu, 22 Aug 2019 21:52:32 +0000 (+0200) Subject: Recurrent Invoices: fixed buggy call to non existing function and payment terms type... X-Git-Url: https://delta.frontaccounting.com/gitweb/?p=fa-stable.git;a=commitdiff_plain;h=refs%2Fheads%2Funstable Recurrent Invoices: fixed buggy call to non existing function and payment terms type in demo sql file --- diff --git a/sales/includes/sales_db.inc b/sales/includes/sales_db.inc index dc3b9bf4..3fda4392 100644 --- a/sales/includes/sales_db.inc +++ b/sales/includes/sales_db.inc @@ -421,7 +421,6 @@ function create_recurrent_invoices($id, $from, $to, $date, $memo) 1.3-31.3 - 1.4 In example above, when end is set to 1.4 will generate additional invoice on 1.5 ! */ - log_user(); $myrow = get_recurrent_invoice($id); diff --git a/sql/en_US-demo.sql b/sql/en_US-demo.sql index f9932181..03aff570 100644 --- a/sql/en_US-demo.sql +++ b/sql/en_US-demo.sql @@ -1476,7 +1476,7 @@ INSERT INTO `0_sales_orders` VALUES ('3', '30', '0', '0', '1', '1', '001/2018', '', NULL, '2018-05-07', '1', 'post-std', 'N/A', NULL, NULL, 'Donald Easter LLC', '0', 'DEF', '2018-05-08', '4', '300', '0', '0'), ('4', '30', '0', '0', '2', '2', '002/2018', '', NULL, '2018-05-07', '1', 'post-std', 'N/A', NULL, NULL, 'MoneyMaker Ltd.', '0', 'DEF', '2018-05-08', '1', '267.14', '0', '0'), ('5', '30', '1', '0', '2', '2', 'auto', '', NULL, '2018-05-07', '1', 'post-std', 'N/A', NULL, NULL, 'MoneyMaker Ltd.', '0', 'DEF', '2018-06-17', '1', '267.14', '0', '0'), -('6', '30', '0', '1', '1', '1', '003/2018', '', NULL, '2018-05-07', '1', 'post-std', 'N/A', NULL, NULL, 'Donald Easter LLC', '0', 'DEF', '2018-05-08', '4', '450', '0', '0'), +('6', '30', '0', '1', '1', '1', '003/2018', '', NULL, '2018-05-07', '1', 'post-std', 'N/A', NULL, NULL, 'Donald Easter LLC', '0', 'DEF', '2018-05-08', '3', '450', '0', '0'), ('7', '30', '1', '0', '1', '1', 'auto', '', 'Recurrent Invoice covers period 04/01/2018 - 04/07/2018.', '2018-05-07', '1', 'post-std', 'N/A', NULL, NULL, 'Donald Easter LLC', '0', 'DEF', '2018-05-07', '4', '0', '0', '0'), ('8', '30', '1', '0', '1', '1', 'auto', '', NULL, '2019-01-21', '1', 'post-std', 'N/A', NULL, NULL, 'Donald Easter LLC', '0', 'DEF', '2019-01-21', '4', '1250', '0', '0');