Fix new services implementation 2
This commit is contained in:
@@ -12,7 +12,7 @@ import {
|
||||
AlertCircle,
|
||||
Package,
|
||||
DollarSign,
|
||||
Grid3X3,
|
||||
Grid,
|
||||
List
|
||||
} from 'lucide-react';
|
||||
|
||||
@@ -446,7 +446,7 @@ const PurchaseOrderManagementPage: React.FC = () => {
|
||||
onClick={() => setViewMode('grid')}
|
||||
className={`p-2 rounded ${viewMode === 'grid' ? 'bg-blue-100 text-blue-600' : 'text-gray-400 hover:text-gray-600'}`}
|
||||
>
|
||||
<Grid3X3 className="w-4 h-4" />
|
||||
<Grid className="w-4 h-4" />
|
||||
</button>
|
||||
<button
|
||||
onClick={() => setViewMode('list')}
|
||||
@@ -599,7 +599,7 @@ const PurchaseOrderManagementPage: React.FC = () => {
|
||||
isOpen={showPurchaseOrderForm}
|
||||
isCreating={isCreating}
|
||||
onSubmit={selectedOrder ?
|
||||
(data) => {
|
||||
async (data) => {
|
||||
// Handle update logic here if needed
|
||||
setShowPurchaseOrderForm(false);
|
||||
setSelectedOrder(null);
|
||||
|
||||
Reference in New Issue
Block a user