aaden-cli 1.2.48 → 1.2.50
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/AadenDeploy/purge.sql
CHANGED
|
@@ -6,4 +6,6 @@ delete from Zbon where 1=1;
|
|
|
6
6
|
delete from AccessLog where 1=1;
|
|
7
7
|
delete from PrintQuest where 1=1;
|
|
8
8
|
delete from PaymentLog where 1=1;
|
|
9
|
-
delete from
|
|
9
|
+
delete from ZbonCombinedRecord where 1=1;
|
|
10
|
+
insert into ZbonCombinedRecord (zbonNumber, toTimestamp)
|
|
11
|
+
values (0, current_timestamp);
|
package/dist/index.js
CHANGED
|
@@ -58161,7 +58161,7 @@ module.exports = JSON.parse('{"name":"axios","version":"0.19.2","description":"P
|
|
|
58161
58161
|
/***/ ((module) => {
|
|
58162
58162
|
|
|
58163
58163
|
"use strict";
|
|
58164
|
-
module.exports = {"i8":"1.2.
|
|
58164
|
+
module.exports = {"i8":"1.2.49"};
|
|
58165
58165
|
|
|
58166
58166
|
/***/ }),
|
|
58167
58167
|
|
|
@@ -58454,6 +58454,8 @@ program.command('set-do-not-send-zbon-when-print-true').action(editConfigIni(set
|
|
|
58454
58454
|
program.command('set-do-not-send-zbon-when-print-false').action(editConfigIni(setConfig('Email', 'DoNotSendZbonWhenPrint', false)))
|
|
58455
58455
|
program.command('set-auto-send-3in1-today-true').action(editConfigIni(setConfig('Email', 'AutoSend3in1Today', true)))
|
|
58456
58456
|
program.command('set-auto-send-3in1-today-false').action(editConfigIni(setConfig('Email', 'AutoSend3in1Today', false)))
|
|
58457
|
+
program.command('set-print-change-table-bon-true').action(editConfigIni(setConfig('Bon', 'PrintChangeTableBon', true)))
|
|
58458
|
+
program.command('set-print-change-table-bon-false').action(editConfigIni(setConfig('Bon', 'PrintChangeTableBon', false)))
|
|
58457
58459
|
program.command('auto-write-gdpdu').action(autoWriteGdpdu)
|
|
58458
58460
|
|
|
58459
58461
|
if (program.debug) {
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
echo "Innerken322." | sudo -S su
|
|
2
|
+
sudo touch /etc/aaden/AbstractDatevCsvFile.php
|
|
3
|
+
sudo chmod 777 /etc/aaden/AbstractDatevCsvFile.php
|
|
4
|
+
php -r $'print preg_replace(\'/ {4}public function toCsvArray\(\$items\)\r?\n(?:.*\r?\n)+? {4}}/\', <<<\'PHP\'
|
|
5
|
+
public function toCsvArray($items)
|
|
6
|
+
{
|
|
7
|
+
yield $this->getHeader()->toArray($items[\'header\']);
|
|
8
|
+
|
|
9
|
+
$fields = $this->getFields();
|
|
10
|
+
|
|
11
|
+
yield array_map(Utils::itAccessMethod(\'getName\'), $fields);
|
|
12
|
+
|
|
13
|
+
foreach ($items[\'body\'] as $item) {
|
|
14
|
+
yield array_map(Utils::itAccessMethod(\'transform\', $item), $fields);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
PHP
|
|
18
|
+
, file_get_contents("/var/www/html/PHP/Datev/FileStructures/AbstractDatevCsvFile.php"));' > /etc/aaden/AbstractDatevCsvFile.php
|
|
19
|
+
sudo cp /etc/aaden/AbstractDatevCsvFile.php /var/www/html/PHP/Datev/FileStructures/AbstractDatevCsvFile.php
|
package/index.js
CHANGED
|
@@ -73,6 +73,8 @@ program.command('set-do-not-send-zbon-when-print-true').action(editConfigIni(set
|
|
|
73
73
|
program.command('set-do-not-send-zbon-when-print-false').action(editConfigIni(setConfig('Email', 'DoNotSendZbonWhenPrint', false)))
|
|
74
74
|
program.command('set-auto-send-3in1-today-true').action(editConfigIni(setConfig('Email', 'AutoSend3in1Today', true)))
|
|
75
75
|
program.command('set-auto-send-3in1-today-false').action(editConfigIni(setConfig('Email', 'AutoSend3in1Today', false)))
|
|
76
|
+
program.command('set-print-change-table-bon-true').action(editConfigIni(setConfig('Bon', 'PrintChangeTableBon', true)))
|
|
77
|
+
program.command('set-print-change-table-bon-false').action(editConfigIni(setConfig('Bon', 'PrintChangeTableBon', false)))
|
|
76
78
|
program.command('auto-write-gdpdu').action(autoWriteGdpdu)
|
|
77
79
|
|
|
78
80
|
if (program.debug) {
|
package/package.json
CHANGED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
echo "Innerken322." | sudo -S su
|
|
2
|
+
sudo touch /etc/aaden/AbstractDatevCsvFile.php
|
|
3
|
+
sudo chmod 777 /etc/aaden/AbstractDatevCsvFile.php
|
|
4
|
+
php -r $'print preg_replace(\'/ {4}public function toCsvArray\(\$items\)\r?\n(?:.*\r?\n)+? {4}}/\', <<<\'PHP\'
|
|
5
|
+
public function toCsvArray($items)
|
|
6
|
+
{
|
|
7
|
+
yield $this->getHeader()->toArray($items[\'header\']);
|
|
8
|
+
|
|
9
|
+
$fields = $this->getFields();
|
|
10
|
+
|
|
11
|
+
yield array_map(Utils::itAccessMethod(\'getName\'), $fields);
|
|
12
|
+
|
|
13
|
+
foreach ($items[\'body\'] as $item) {
|
|
14
|
+
yield array_map(Utils::itAccessMethod(\'transform\', $item), $fields);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
PHP
|
|
18
|
+
, file_get_contents("/var/www/html/PHP/Datev/FileStructures/AbstractDatevCsvFile.php"));' > /etc/aaden/AbstractDatevCsvFile.php
|
|
19
|
+
sudo cp /etc/aaden/AbstractDatevCsvFile.php /var/www/html/PHP/Datev/FileStructures/AbstractDatevCsvFile.php
|