0
1
Fork 0

Compare commits

...

22 Commits
test ... dev

Author SHA1 Message Date
Juan Ferrer a956c268b6 Merge pull request 'refs #8480 Hide inactive items' (!101) from test into dev
gitea/hedera-web/pipeline/head This commit looks good Details
gitea/hedera-web/pipeline/pr-beta There was a failure building this commit Details
Reviewed-on: verdnatura/hedera-web#101
2025-01-27 11:41:26 +00:00
Juan Ferrer 5b968b6e46 refs #8480 Hide inactive items
gitea/hedera-web/pipeline/head This commit looks good Details
gitea/hedera-web/pipeline/pr-dev Build queued... Details
gitea/hedera-web/pipeline/pr-master This commit looks good Details
2025-01-27 12:25:51 +01:00
Juan Ferrer ef65622014 Merge pull request 'test into dev' (!100) from test into dev
gitea/hedera-web/pipeline/head This commit looks good Details
Reviewed-on: verdnatura/hedera-web#100
2025-01-27 11:20:42 +00:00
Juan Ferrer 35efe67c63 refs #8471 Order confirm code fix
gitea/hedera-web/pipeline/head This commit looks good Details
gitea/hedera-web/pipeline/pr-dev Build started... Details
2025-01-24 09:13:53 +01:00
Juan Ferrer 6dbcf162ca refs #8471 Version increased
gitea/hedera-web/pipeline/head This commit looks good Details
2025-01-23 16:58:06 +01:00
Juan Ferrer 20f5dc46f7 refs #8471 Fix apt key location
gitea/hedera-web/pipeline/head There was a failure building this commit Details
2025-01-23 16:54:20 +01:00
Juan Ferrer c0ab27bd7a refs #8471 Version increased
gitea/hedera-web/pipeline/head There was a failure building this commit Details
2025-01-23 16:35:57 +01:00
Juan Ferrer 6508a4e4f0 refs #8471 Remove transfer and later payments from frontend
gitea/hedera-web/pipeline/head There was a failure building this commit Details
2025-01-23 16:32:09 +01:00
Guillermo Bonet 6fa75b3abc Version increased
gitea/hedera-web/pipeline/head This commit looks good Details
2024-08-06 09:48:59 +02:00
Guillermo Bonet ce230b1133 Merge pull request 'test → master' (!76) from test into master
gitea/hedera-web/pipeline/head This commit looks good Details
Reviewed-on: verdnatura/hedera-web#76
2024-08-06 07:08:53 +00:00
Guillermo Bonet f2ca49b261 Merge pull request 'refactor: refs #7511 Changed dependences' (!75) from dev into test
gitea/hedera-web/pipeline/pr-master Build queued... Details
gitea/hedera-web/pipeline/head This commit looks good Details
Reviewed-on: verdnatura/hedera-web#75
2024-08-06 07:08:17 +00:00
Guillermo Bonet a5b8e56506 Merge pull request 'test → master' (!66) from test into master
gitea/hedera-web/pipeline/head This commit looks good Details
Reviewed-on: verdnatura/hedera-web#66
2024-07-23 06:23:47 +00:00
Guillermo Bonet 93562bb4dd fix: refs #7704 Bug fix
gitea/hedera-web/pipeline/pr-master This commit looks good Details
gitea/hedera-web/pipeline/head This commit looks good Details
2024-07-19 10:25:23 +02:00
Guillermo Bonet aaa9d34404 Version increased
gitea/hedera-web/pipeline/pr-master This commit looks good Details
gitea/hedera-web/pipeline/head This commit looks good Details
2024-07-19 09:40:10 +02:00
Guillermo Bonet de5740856e refactor: refs #7511 Changed dependences
gitea/hedera-web/pipeline/head This commit looks good Details
gitea/hedera-web/pipeline/pr-test Build queued... Details
2024-07-19 07:50:02 +02:00
Guillermo Bonet 70746995ca Merge pull request 'dev → test' (!69) from dev into test
gitea/hedera-web/pipeline/pr-master This commit looks good Details
gitea/hedera-web/pipeline/head This commit looks good Details
Reviewed-on: verdnatura/hedera-web#69
2024-07-18 05:59:33 +00:00
Guillermo Bonet f57967cd17 Merge pull request 'feat: refs #7704 Change minQuantity' (!67) from 7704-itemMinimalQuantity into dev
gitea/hedera-web/pipeline/head This commit looks good Details
gitea/hedera-web/pipeline/pr-test Build queued... Details
Reviewed-on: verdnatura/hedera-web#67
Reviewed-by: Javi Gallego <jgallego@verdnatura.es>
2024-07-12 07:43:13 +00:00
Guillermo Bonet 1c54922692 feat: refs #7704 Refactor
gitea/hedera-web/pipeline/pr-dev This commit looks good Details
2024-07-11 14:33:15 +02:00
Guillermo Bonet 8929f8c55a feat: refs #7704 Refactor
gitea/hedera-web/pipeline/pr-dev This commit looks good Details
2024-07-11 14:32:56 +02:00
Guillermo Bonet 7f2c645682 feat: refs #7704 Refactor
gitea/hedera-web/pipeline/pr-dev This commit looks good Details
2024-07-11 13:36:21 +02:00
Guillermo Bonet 099f494101 feat: refs #7704 Change minQuantity
gitea/hedera-web/pipeline/pr-dev This commit looks good Details
2024-07-11 11:40:11 +02:00
Guillermo Bonet 5ca765486f Merge pull request 'test → master' (!65) from test into master
gitea/hedera-web/pipeline/head There was a failure building this commit Details
Reviewed-on: verdnatura/hedera-web#65
2024-06-25 07:11:48 +00:00
11 changed files with 14 additions and 48 deletions

1
.gitignore vendored
View File

@ -1,5 +1,6 @@
node_modules node_modules
build/ build/
dist/
config.my.php config.my.php
.vscode/ .vscode/
.quasar .quasar

View File

@ -28,7 +28,7 @@ RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash - \
# Hedera # Hedera
RUN curl -sL https://apt.verdnatura.es/conf/verdnatura.gpg | apt-key add - \ RUN curl -sL https://apt.verdnatura.es/conf/verdnatura.gpg | tee /etc/apt/trusted.gpg.d/verdnatura.gpg \
&& echo "deb http://apt.verdnatura.es/ bookworm main" \ && echo "deb http://apt.verdnatura.es/ bookworm main" \
> /etc/apt/sources.list.d/vn.list \ > /etc/apt/sources.list.d/vn.list \
&& apt-get update \ && apt-get update \

2
debian/changelog vendored
View File

@ -1,4 +1,4 @@
hedera-web (24.14.8) stable; urgency=low hedera-web (25.4.4) stable; urgency=low
* Initial Release. * Initial Release.

View File

@ -18,8 +18,8 @@
LEFT JOIN image im LEFT JOIN image im
ON im.collectionFk = 'catalog' ON im.collectionFk = 'catalog'
AND im.name = i.image AND im.name = i.image
WHERE i.longName LIKE CONCAT('%', #search, '%') WHERE i.isActive
OR i.id = #search AND (i.longName LIKE CONCAT('%', #search, '%') OR i.id = #search)
ORDER BY i.longName LIMIT 50 ORDER BY i.longName LIMIT 50
</db-model> </db-model>
<custom> <custom>

View File

@ -117,7 +117,7 @@
SELECT i.id, i.longName item, i.subName, SELECT i.id, i.longName item, i.subName,
i.tag5, i.value5, i.tag6, i.value6, i.tag5, i.value5, i.tag6, i.value6,
i.tag7, i.value7, i.tag8, i.value8, i.tag7, i.value7, i.tag8, i.value8,
i.relevancy, i.size, i.category, i.minQuantity, i.relevancy, i.size, i.category, b.minQuantity,
k.name ink, p.name producer, o.name origin, k.name ink, p.name producer, o.name origin,
b.available, b.price, b.`grouping`, b.available, b.price, b.`grouping`,
i.image, im.updated i.image, im.updated
@ -126,19 +126,13 @@
LEFT JOIN vn.ink k ON k.id = i.inkFk LEFT JOIN vn.ink k ON k.id = i.inkFk
LEFT JOIN vn.producer p ON p.id = i.producerFk LEFT JOIN vn.producer p ON p.id = i.producerFk
LEFT JOIN vn.origin o ON o.id = i.originFk LEFT JOIN vn.origin o ON o.id = i.originFk
LEFT JOIN image im LEFT JOIN image im ON im.collectionFk = 'catalog'
ON im.collectionFk = 'catalog'
AND im.name = i.image AND im.name = i.image
WHERE b.available > 0 WHERE b.available > 0
ORDER BY i.relevancy DESC, i.name, i.size ORDER BY i.relevancy DESC, i.name, i.size
LIMIT 5000; LIMIT 5000;
DROP TEMPORARY TABLE DROP TEMPORARY TABLE tmp.item;
tmp.item, CALL vn.ticketCalculatePurge();
tmp.ticketCalculateItem,
tmp.ticketComponentPrice,
tmp.ticketComponent,
tmp.ticketLot,
tmp.zoneGetShipped;
</db-model> </db-model>
<db-form id="$card" v-model="card" model="items"/> <db-form id="$card" v-model="card" model="items"/>
<vn-lot id="card-lot"/> <vn-lot id="card-lot"/>

View File

@ -67,7 +67,7 @@ export default new Class({
methods = ['balance']; methods = ['balance'];
selectedMethod = 'BALANCE'; selectedMethod = 'BALANCE';
} else { } else {
methods = ['card', 'transfer', 'later']; methods = ['card'];
if (!creditExceededCond) { if (!creditExceededCond) {
methods.push('credit'); methods.push('credit');
@ -98,9 +98,6 @@ export default new Class({
case 'CARD': case 'CARD':
id = 'cardMethod'; id = 'cardMethod';
break; break;
case 'TRANSFER':
id = 'transferMethod';
break;
default: default:
id = null; id = null;
} }

View File

@ -162,32 +162,6 @@
<t>You will be redirected to the payment.</t> <t>You will be redirected to the payment.</t>
</div> </div>
</div> </div>
<div id="transfer-method">
<label>
<htk-radio radio-group="pay-method" value="TRANSFER"/>
<t>Bank Transfer</t>
</label>
<div>
<t>Make a transfer to one account.</t>
<htk-repeater form-id="iter">
<db-model property="model">
SELECT name, iban FROM mainAccountBank
</db-model>
<custom>
<div class="transfer-account">
<p>{{iter.name}}</p>
<p>{{iter.iban}}</p>
</div>
</custom>
</htk-repeater>
</div>
</div>
<div id="later-method">
<label>
<htk-radio radio-group="pay-method" value="LATER"/>
<t>Pay later</t>
</label>
</div>
</div> </div>
</div> </div>
<div class="button-bar vn-mt-md"> <div class="button-bar vn-mt-md">

View File

@ -26,7 +26,7 @@
<db-model property="model"> <db-model property="model">
SELECT c.id, c.name reportTitle, c.namePrefix, c.warehouse, c.family, SELECT c.id, c.name reportTitle, c.namePrefix, c.warehouse, c.family,
c.shelf, c.maxAmount, c.showPacking, c.stack, it.categoryFk realm c.shelf, c.maxAmount, c.showPacking, c.stack, it.categoryFk realm
FROM shelfConfig c FROM shelfMultiConfig c
JOIN vn.itemType it ON it.id = c.family JOIN vn.itemType it ON it.id = c.family
</db-model> </db-model>
</htk-combo> </htk-combo>

View File

@ -1,6 +1,6 @@
{ {
"name": "hedera-web", "name": "hedera-web",
"version": "24.14.8", "version": "25.4.4",
"description": "Verdnatura web page", "description": "Verdnatura web page",
"license": "GPL-3.0", "license": "GPL-3.0",
"repository": { "repository": {

View File

@ -8,7 +8,7 @@ class Clean extends Edi\Method {
$cleanPeriod = $db->getValue( $cleanPeriod = $db->getValue(
"SELECT ic.cleanPeriod "SELECT ic.cleanPeriod
FROM imapConfig ic FROM imapMultiConfig ic
JOIN util.config c ON c.environment = ic.environment"); JOIN util.config c ON c.environment = ic.environment");
$deleted = 0; $deleted = 0;

View File

@ -14,7 +14,7 @@ abstract class Method extends \Vn\Lib\Method {
$imapConf = $db->getRow( $imapConf = $db->getRow(
"SELECT ic.host, ic.user, ic.pass, ic.successFolder, ic.errorFolder "SELECT ic.host, ic.user, ic.pass, ic.successFolder, ic.errorFolder
FROM imapConfig ic FROM imapMultiConfig ic
JOIN util.config c ON c.environment = ic.environment"); JOIN util.config c ON c.environment = ic.environment");
$this->mailbox = sprintf('{%s/imap/ssl/novalidate-cert}', $this->mailbox = sprintf('{%s/imap/ssl/novalidate-cert}',