Simplify new sale form by removing the title and descriptive text

Remove the CardHeader component from NewSaleForm.tsx to streamline the interface.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 91318273-c764-4fd4-be04-bdc12c38af32
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/0715008c-7244-40f4-befc-26c014852236/9d9e1107-c416-4124-a939-a91c612c56a1.jpg
This commit is contained in:
michaelschal committed 2025-07-09 23:46:36 +00:00
1 parent b7d93d264f
commit ec98d594f6
3 files changed
+2 -12

No files matched your search

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.5 KiB

+1 -12
View File
@@ -162,18 +162,7 @@ export default function NewSaleForm() {
return (
<Card className="modern-card-elevated">
<CardHeader className="mobile-card-header">
<CardTitle className="flex items-center gap-2 sm:gap-3 responsive-title">
<div className="p-1.5 sm:p-2 bg-gradient-to-br from-green-500 to-emerald-600 rounded-lg sm:rounded-xl">
<Package className="h-5 w-5 sm:h-6 sm:w-6 text-white" />
</div>
<span className="truncate">Nouvelle Vente</span>
</CardTitle>
<p className="text-muted-foreground mt-2 responsive-body">
Enregistrement d'une vente de feux d'artifice
</p>
</CardHeader>
<CardContent className="mobile-card-content">
<CardContent className="mobile-card-content pt-6">
<Form {...form}>
<form onSubmit={form.handleSubmit(onSubmit)} className="mobile-form-responsive">
{/* Seller Information */}
+1
View File
@@ -177,6 +177,7 @@ Preferred communication style: Simple, everyday language.
- ✅ Cleaned up new sale page interface by removing unnecessary store information display
- ✅ Streamlined dashboard layout for better user experience
- ✅ Made "Lieu de naissance" field mandatory in new sale form for regulatory compliance
- ✅ Removed unnecessary header section from new sale form for cleaner interface
### Database Backup & Recovery System (January 9, 2025)
- ✅ Added complete database backup and restore functionality in administration panel