Nutrimeal staff & administration
Secure access to Nutrimeal Ventures Ltd staff administration. This is the production staff interface; your existing Farm Companion and Store are unchanged.
1. Supabase connection
The public key is kept in this browser session only; it is not embedded in this HTML file. Supabase checks authentication and authorization on its servers.
2. Staff & Super Admin sign-in
Staff workspace
CRM · Customer activity dashboard v1.4.0
Super Admin · server-aggregated data · test customers excluded from business KPIs
Customers by region
Livestock interests
One customer can belong to multiple categories.
Farm capacity recorded
Quotation activity
Customers for follow-up review
Customers with no linked quotations in the selected window. This is a review queue, not a definitive inactive-customer classification. Only the first 50 are shown.
Customer Management · CRM v1.4.0
Sales staff see and edit customers they registered. Super Admin can view and edit all customers.
Register customer
CRM · Purchase history
Sales quotations · Phase 2
Approved product prices come from Supabase. Discounts require Super Admin approval.
Super Admin · Approved product catalogue
Super Admin · Assign quotation to sales staff
Choose a quotation and an active sales staff member. Assignments are saved through a protected Supabase function; this page cannot grant access by itself.
Create quotation
Quotation register
Server-authorized quotations only. Discount decision is inferred from amounts; consult the audit log for the exact approval or rejection decision.
Payments & sales orders · v1.4.1
New submissions are unclassified until explicitly classified by Super Admin and verified. A submitted reference is not proof of receipt.
Submit a payment for verification
Payment records
Financial reporting · v1.4.1
Server-returned payment records only. Only verified production-classified payments count as receipts. Figures are limited previews, not independent reconciliation.
Verification history: this view shows the current server-returned status. A complete chronological verification audit requires a dedicated authorized Supabase audit endpoint; no approval timestamps or reviewers are inferred.
Quotation balances
Balances below use only quotations and payments returned to your account. They are not an authoritative ledger.
Super Admin · Sales order confirmation
Confirmation is disabled until the displayed verified payments cover the quotation total. Supabase independently enforces this rule. Only verified production payments qualify. Payment history is limited to 200 records; if incomplete, confirmation stays disabled.
Inventory reservations · Phase 2 v1.3
Super Admin-only stock reservation. All quantities and authorization are checked again by Supabase.
Select an order to view its lines.
Reservation target means the total quantity currently reserved and still undelivered, not an additional quantity. Submitting the same target twice should not reserve stock twice. The server enforces the final decision.
Stock receiving · Phase 2 v1.3
Super Admin only · Supabase validates and records each receipt.
Duplicate protection and stock ledger updates must be enforced by the database. A delivery reference should be unique per receipt. The frontend does not directly edit inventory tables.
Dispatch management · Phase 2 v1.3.6
Super Admin only. Partial dispatches are verified and committed by Supabase.
Dispatch history · v1.3.5
Read-only confirmed dispatch records from Supabase. Print a delivery note for a selected record.
Select Refresh history to load confirmed records.
Delivery acknowledgement · v1.3.6
Super Admin records evidence of physical receipt separately from dispatch. Acknowledgement does not change stock.
Refresh acknowledgements to load recorded receipts.
Order fulfilment · v1.3.6
Live order-line totals from the existing authorized inventory overview.
Select Refresh fulfilment to load order lines.
Delivery tracking & exceptions · v1.3.7
Dispatch and receipt tracking is read-only. Exception recording requires a separately installed, authorized Supabase backend.
Select Refresh tracking to load server records.
Record a delivery exception
Shortage, damage, delayed delivery, wrong product, and other complaints require independent evidence, investigation, an assigned owner, and a resolution trail. The form will be enabled only after the secure exception-management SQL is installed and tested.
Set a new password
You've opened a Supabase invitation or password-recovery link. Connect to Supabase above if needed, then choose a password for this account.
Super Admin access Verified
Manage staff account
The staff member must already exist in Authentication → Users. Use their exact UID, not their email address. You cannot modify your own account or another Super Admin.
Current scope
✓ Authenticated owner login
✓ Server-side Super Admin verification
✓ Assign or deactivate existing staff
✓ Server-side audit entry for changes
Not enabled yet
Manual inventory adjustments. Email invitations require deploying the secure Edge Function and hosting this dashboard on an approved HTTPS origin.
Staff directory
Staff permissions
Select a staff member from the directory. Permissions are enforced by future backend operations, not by this interface alone.
Invite staff by email
Requires the separately deployed invite-staff Edge Function and an approved HTTPS origin. An invitation does not grant staff access until a role is assigned.