Commit Graph
10 Commits
Author SHA1 Message Date
Malek TellissiandClaude Sonnet 4.6 0500cab160 Fix: admin/manager land on edit page, viewer on view page
Deploy / deploy (push) Successful in 16s
Filament checks view before edit for row URL. Added a shared
ViewRecord base that redirects to edit if canEdit() is true,
so admins and managers get the editable form directly.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-09-13 03:05:05 +02:00
Malek TellissiandClaude Sonnet 4.6 1494273efd Add viewer access to records and restrict activity log
Deploy / deploy (push) Successful in 16s
- canView() + canViewAny() in EnforcesRoles: all SMS roles can view
- View pages for all 7 resources so viewers can open records read-only
- Custom ActivityResource restricts activity log to admin + manager only

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-09-13 02:44:00 +02:00
Malek TellissiandClaude Sonnet 4.6 a7094b6787 SpiceChart: remove fixed width and scroll, let bars scale naturally
Deploy / deploy (push) Successful in 15s
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-09-13 01:01:01 +02:00
Malek TellissiandClaude Sonnet 4.6 a85afbc93a SpiceChart: dynamic width + horizontal scroll for many Rohstoffe
Deploy / deploy (push) Successful in 17s
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-09-13 00:58:29 +02:00
Malek TellissiandClaude Sonnet 4.6 8f7af41513 Fix SpiceChart: encode URL array as JSON.parse() to avoid double quotes breaking x-data HTML attribute
Deploy / deploy (push) Successful in 16s
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-09-13 00:52:07 +02:00
Malek TellissiandClaude Sonnet 4.6 118552d093 Fix SpiceChart: query spice IDs directly in extraJsOptions and guard formatter against null regex match
Deploy / deploy (push) Successful in 15s
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-09-13 00:33:05 +02:00
Malek TellissiandClaude Sonnet 4.6 7d45e3027c Fix SpiceChart: use class property for spice IDs, build edit URLs via url()
Deploy / deploy (push) Successful in 15s
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-09-13 00:14:30 +02:00
Malek TellissiandClaude Sonnet 4.6 092a78e306 Navigate to spice edit page on chart bar click
Deploy / deploy (push) Successful in 15s
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-09-12 22:38:39 +02:00
Malek TellissiandClaude Sonnet 4.6 fb19e9a579 Introduce spice_stock_movements ledger for traceable stock changes
Deploy / deploy (push) Successful in 16s
Every delivery and batch now writes a signed movement entry instead of
directly incrementing/decrementing spice.quantity. The balance is always
the sum of all movements. Existing data is backfilled in the migration.
Rohstoff edit page shows the full movement history (Lagerbewegungen tab).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-09-12 22:34:10 +02:00
Malek Tellissi 400172cdde Erster Upload 2026-09-11 01:17:47 +02:00