commiting the changes did yesterday about the qr data insertion

This commit is contained in:
2025-09-09 12:09:36 +01:00
parent 2216801e89
commit fa1f74e2ff
30 changed files with 291 additions and 46 deletions
+19
View File
@@ -0,0 +1,19 @@
package pages
import (
mod "expenses/expenses/models"
"github.com/gin-gonic/gin"
)
func storeFromForm(c *gin.Context) (*mod.Store, error) {
name := c.PostForm("store-name")
nif := c.PostForm("store-nif")
store := mod.Store{
StoreName: name,
StoreNIF: nif,
}
return &store, nil
}