mirror of
https://github.com/R0m1k3/Regisflow.git
synced 2026-10-19 05:10:05 +02:00
Add option to include and display a photo of the sales receipt
Implements `photoTicket` field in `Sale` and `FormData` types, adds UI elements in `NewSaleForm` and `SaleDetailsModal` components, and updates schema.ts. Replit-Commit-Author: Agent Replit-Commit-Session-Id: dec54137-d5a2-4406-8ad4-5f2f9fb110bf Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/0715008c-7244-40f4-befc-26c014852236/7df9e24f-d78b-4589-9a08-c70e02d6d7d9.jpg
This commit is contained in:
1 parent
e48337925c
commit
4f04428dea
5 files changed
+151
-38
No files matched your search
@@ -83,6 +83,7 @@ export const sales = pgTable("sales", {
|
||||
// Photos
|
||||
photoRecto: text("photo_recto"),
|
||||
photoVerso: text("photo_verso"),
|
||||
photoTicket: text("photo_ticket"),
|
||||
});
|
||||
|
||||
// Relations
|
||||
|
||||
Reference in new issue
Block a user