From c7d79753c485fa155f54bf3f92979d99e78aae0c Mon Sep 17 00:00:00 2001 From: RaphaelL Date: Mon, 16 Oct 2023 14:20:38 +0200 Subject: [PATCH 1/2] Update logo --- logo.png | Bin 8313 -> 19124 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/logo.png b/logo.png index adbebfdd667a9a68346f427eec7da4ab982ab791..e22377da55da91d827f57b7296650e8963cc4ffb 100644 GIT binary patch literal 19124 zcmY&<1z1}_vuF}1?(XhToZ?oXxD+WAcPYhP6NW01E?^n0r?{{ww+D zt3C(Rjnf^V3Q-Ow>Wq8INc%r|eIVC=!+-#Q zSQh~Lf5Vuf(tnQ{>itLbzf!bP;QwMQ1^r)WAfOcOfAjyEWlaWXpb~6PwbwoX050jj z7YN8Nq(WhP?P6%+Yoe_sW#{3>Z)5La>%brA=J~G`KqgQMm34FQwP6Z$d+Y8a6)4N{ z9|$Q_{$I5K3)6o~V$#~m4O6e=V`0wVZk}Qj} zudk<+fIvV%0Dpi8zlXPzfRLo5q=2BXfUxjW6vR`XAa`Gzz^Cp$tpA1N|Kd@0@UioD z@$_}^aA*35*T&Yv&sUa(>)l}wR zt(2~}ivx=CKm2k+GXH`6|LXpmj*P%R;{Ojb|JBp~)S|j7ha)5KKVp-^p|;$_1OOBO z>dK0Sfxr_BOo-v!9MbW-04^WB%QTe>y0LtW{HE%kz?R*;gg}mh_vHuBt6q3W$L)e+6TyffhhD(a)m60TjTa zVLS@G`_p9%7{c1x+N0F*V@TLk1!uEryWJ-|CU`%!4}qBC%y z?XS;UTqJTGnu(y}MZjJ#aF$ek=@39qjBI;a%Acd#O;-YbTHi8dv_a+ z5JU0A6Af`T77cx4un{j1u@KX~N_dMS!2_wf)qTL0*d;iGlRfyj95*^*QGwzk6z~W4 zlV0P5`pHiw@{8dnKN07`43 zzHTF>@&xzv_mi|vVRVuwK-Jr-0x&1ze&$fi;zHG!6`^?8Gr!&*!V#>n;yERkAJ17r7e)iY}beh z>h1b|h8YBDz{bf49+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xUAwd~fN zDvVO;&G(6A$bJZ@1FA@b?{0NvZ15=^v&>}?e%scxwm_V4|sa4)Kd zRzqfH9K{DkttnUX9?Z*~42SCHuQ6R%V}&cn!p;|GmJ2o31R)v@5C_qa)wG~R{!bK- zF+Vq6$}QtDApdQA{tl#W{ldv{HqmBIx$Mr_x72F+MxZubwEXu@i~ouXBsR|qgYn5F znT!uDu~BGs6;Kc|O{$p+haaCX<|m^@I?G=S zpdNW4V$S!XPY$fZ?6F2e8hhy}8l^SYi}6RpWdhX4$3zVA;Iggo@IG^DV9SAa#Kg2w z(!MnSm#zzN8)%cj%qf=+Ke>yLrjs6KXD9)A zeUXyrW9979vs#o#>o1>Ey6;jRw&31H|L-~fTe|aqO|$-A0`vbDY49pQG^Wr`U9}~v zhzSH-`-CZ5Q~wC>DPy4I{q?YvYD=<;v_A(vv|*HI2Rpig@lNwPXxrHIGJjB<2~rnU5Ppa zxAaX|8pXaQHik1qR^A#ZExUk%3j5L;H))uac|+d`bbMxr#oV5`Z`SPz%@ZK$qp8N-}|1Zk` From 4d0e076ed11b3772e58ed79bae9b4df66b91f118 Mon Sep 17 00:00:00 2001 From: RaphaelL Date: Tue, 12 Dec 2023 17:16:58 +0100 Subject: [PATCH 2/2] Improve Creation of dummy order with existing and compatible products --- classes/orderCleaner.php | 12 ++++++++++-- prestaclean.php | 2 +- views/js/order.js | 38 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 49 insertions(+), 3 deletions(-) create mode 100644 views/js/order.js diff --git a/classes/orderCleaner.php b/classes/orderCleaner.php index e0102d5..038a826 100644 --- a/classes/orderCleaner.php +++ b/classes/orderCleaner.php @@ -189,7 +189,13 @@ public function createDummyOrders($nb = 50) { for ($o = 1; $o <= $nb; ++$o) { $customer_id = Db::getInstance()->getValue('SELECT id_customer FROM `' . _DB_PREFIX_ . 'customer` ORDER BY RAND()'); - $address_id = Db::getInstance()->getValue('SELECT id_address FROM `' . _DB_PREFIX_ . 'address` ORDER BY RAND()'); + $sql = new DbQuery(); + $sql->select('a.id_address'); + $sql->from('address', 'a'); + $sql->innerJoin('country', 'c', 'c.id_country = a.id_country'); + $sql->where('c.active = 1'); + $sql->orderBy('RAND()'); + $address_id = Db::getInstance()->getValue($sql); $carrier_id = Db::getInstance()->getValue('SELECT id_carrier FROM `' . _DB_PREFIX_ . 'carrier` ORDER BY RAND()'); $state_id = Db::getInstance()->getValue('SELECT id_order_state FROM `' . _DB_PREFIX_ . 'order_state` ORDER BY RAND()'); @@ -210,7 +216,8 @@ public function createDummyOrders($nb = 50) $new_cart->add(); - for ($p = 1; $p <= 5; ++$p) { + $products = Db::getInstance()->executeS('SELECT id_product FROM ' . _DB_PREFIX_ . 'product ORDER BY RAND() LIMIT 5'); + foreach (array_column($products, 'id_product') as $p) { $result = $new_cart->updateQty(rand(1, 5), $p); } @@ -231,6 +238,7 @@ public function createDummyOrders($nb = 50) $history = new OrderHistory(); $history->id_order = (int) $id_order; + $history->id_order_state = (int) $state_id; $history->changeIdOrderState((int) $state_id, (int) $history->id_order); $history->save(); } diff --git a/prestaclean.php b/prestaclean.php index 5e327f8..78ba3ef 100644 --- a/prestaclean.php +++ b/prestaclean.php @@ -39,7 +39,7 @@ public function __construct() { $this->name = 'prestaclean'; $this->tab = 'administration'; - $this->version = '1.0.1'; + $this->version = '1.0.2'; $this->author = 'Spiriit'; $this->need_instance = 0; $this->bootstrap = true; diff --git a/views/js/order.js b/views/js/order.js new file mode 100644 index 0000000..cf8e3d7 --- /dev/null +++ b/views/js/order.js @@ -0,0 +1,38 @@ +/* +* 2013-2022 In Spiriit +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author In Spiriit +* @copyright 2013-2022 In Spiriit +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*/ + +document.addEventListener("DOMContentLoaded", function() { + const deleteBtn = document.querySelector('.delete-order'); + + // Confirm delete button click + deleteBtn && deleteBtn.addEventListener('click', function(e) { + if(!confirm(confirmDeleteLang)) { + e.preventDefault(); + e.stopPropagation(); + return; + } + }); + +});