View Issue Details

IDProjectCategoryView StatusLast Update
0008839Talermechant backendpublic2024-08-28 23:31
ReporterChristian Grothoff Assigned Tosebasjm  
PrioritynormalSeverityfeatureReproducibilityN/A
Status closedResolutionfixed 
Platformi7OSDebian GNU/LinuxOS Versionsqueeze
Product Versiongit (master) 
Target Version0.13Fixed in Version0.13 
Summary0008839: add support for product categories [16hs]
DescriptionTo fully support the new '/pos' endpoint, we need to add support for product categories to the merchant (backend and SPA).

A product can be in multiple categories.

A category has a name and translations (i18n-style) of that name into various languages.

I think this means we need a new categories table (with serial number, instance, category name, and JSON translations) and a new column in products with the category serial number. Plus CRUD API for categories, plus expanding inventory management to allow setting/editing the categories (zero or more!) for each product.

Ivan / Sebastian: it would be great if you could do the necessary modifications (schema change, new endpoints, spec of new endpoints, SPA) between the two of you. Happy to review merchant backend code changes if you put them into a branch.

estimation:
 - add API support in taler-util [2hs]
 - create CRUD pages [8hs]
 - update product create/update to change categories [4hs]
TagsNo tags attached.

Relationships

related to 0008969 closedChristian Grothoff various merchant backend category bugs 
child of 0008834 closednullptrderef merchant backend should be able to generate PoS config JSON from inventory 

Activities

Christian Grothoff

2024-05-26 00:00

manager   ~0022470

Started to work on backend changes now...

Christian Grothoff

2024-05-26 15:22

manager   ~0022471

Backend is done now, but could use more tests. Note that I had to fix a bug in libgnunetpq, so update that, too, before using the new code...

sebasjm

2024-08-01 17:17

developer   ~0022896

fixed some backend issues and created api integration and crud pages
missing product integration

f7a5cd202..0ef0be7ea

sebasjm

2024-08-02 15:38

developer   ~0022898

07bce9342..8031e4bb5

Issue History

Date Modified Username Field Change
2024-05-13 13:49 Christian Grothoff New Issue
2024-05-13 13:49 Christian Grothoff Status new => assigned
2024-05-13 13:49 Christian Grothoff Assigned To => sebasjm
2024-05-13 13:49 Christian Grothoff Relationship added child of 0008834
2024-05-26 00:00 Christian Grothoff Assigned To sebasjm => Christian Grothoff
2024-05-26 00:00 Christian Grothoff Note Added: 0022470
2024-05-26 15:22 Christian Grothoff Assigned To Christian Grothoff => sebasjm
2024-05-26 15:22 Christian Grothoff Note Added: 0022471
2024-05-26 15:23 Christian Grothoff Target Version 0.14 => 0.12
2024-06-16 22:36 sebasjm Summary add support for product categories => add support for product categories [16hs]
2024-06-16 22:36 sebasjm Description Updated
2024-06-19 18:15 sebasjm Target Version 0.12 => 0.13
2024-06-20 23:24 sebasjm Relationship added related to 0008969
2024-08-01 17:17 sebasjm Note Added: 0022896
2024-08-01 17:18 sebasjm Status assigned => confirmed
2024-08-02 15:38 sebasjm Status confirmed => resolved
2024-08-02 15:38 sebasjm Resolution open => fixed
2024-08-02 15:38 sebasjm Note Added: 0022898
2024-08-26 22:29 Christian Grothoff Fixed in Version => 0.13
2024-08-28 23:31 Christian Grothoff Status resolved => closed