Export dans la caisse #170
No reviewers
Labels
No labels
bug
duplicate
enhancement
help wanted
Important
invalid
MVP
nice to have
optional
question
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
bottin/cms!170
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "export_caisse"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #136
Export dans la caisseto WIP: Export dans la caisseWIP: Export dans la caisseto Export dans la caisse@ -658,6 +659,45 @@ func (c APIClient) ListMembresCache(ctx context.Context) (ListMembresCacheResponreturn call[ListMembresCacheResponse](ctx, c.Caller, http.MethodGet, "/v1/membres-cache/", nil)}func (c APIClient) ExportCaisse(ctx context.Context, caisseID string, format *string, section *string, denom *bool) ([]byte, http.Header, error) {n'utilise pas le refactor de client avec le helper
@ -661,0 +667,4 @@return nil, nil, fmt.Errorf("impossible d'exporter la caisse avec un Caller nil")}urlPath := fmt.Sprintf("/v1/caisse/%s/export/", caisseID)voir si on peut utilise des options avec opts.go
@ -713,6 +713,13 @@ func ListTransactionsHandler(ctx context.Context, db *PostgresClient, bottinClie})}// PDFExportSection est une table nommée dans le gabarit "export_pdf" (voir ui/export_pdf.html).dans entity.go au lieu de handler.go
@ -842,6 +849,243 @@ func ExportTransactionsHandler(ctx context.Context, db *PostgresClient) http.Han}}func ExportCaisseHandler(ctx context.Context, db *PostgresClient) http.HandlerFunc {function fucking long, voir si on peut le couper avec des helpers
@ -2226,6 +2226,35 @@ func CaisseDetailUIHandler(ctx context.Context, clients *APIClientFactory) http.})}func ExportCaisseUIHandler(ctx context.Context, clients *APIClientFactory) http.HandlerFunc {makeUIHandler?
on peut pas, makeUIHandler rend toujours un template
Closes #281