diff --git a/src/components/nearle_components/LocationAutocomplete.js b/src/components/nearle_components/LocationAutocomplete.js index cce408f..65f5766 100644 --- a/src/components/nearle_components/LocationAutocomplete.js +++ b/src/components/nearle_components/LocationAutocomplete.js @@ -76,7 +76,7 @@ const LocationAutocomplete = forwardRef(({ locaName, setAppId, setLocoName, setP }; return ( -
+
{ - + { - # + # Name Email Phone diff --git a/src/pages/nearle/clientPricing/clientPricing.js b/src/pages/nearle/clientPricing/clientPricing.js index 4417d96..5925508 100644 --- a/src/pages/nearle/clientPricing/clientPricing.js +++ b/src/pages/nearle/clientPricing/clientPricing.js @@ -323,7 +323,7 @@ const ClientsPricing = () => { - + { ) ) : ( - +
- # - Tenant - Zone - Vehicle - Base Price - Price / KM - Price / KG - Handling - Status - Actions + # + Tenant + Zone + Vehicle + Base Price + Price / KM + Price / KG + Handling + Status + Actions @@ -448,7 +448,7 @@ const ClientsPricing = () => { - {String(index + 1).padStart(2, '0')} + {index + 1} diff --git a/src/pages/nearle/clients/Tenants.js b/src/pages/nearle/clients/Tenants.js index e8b315d..8a19674 100644 --- a/src/pages/nearle/clients/Tenants.js +++ b/src/pages/nearle/clients/Tenants.js @@ -487,7 +487,7 @@ const PricingTable = ({ list }) => (
- # + # Vehicle Base Price Price/Km @@ -1133,7 +1133,7 @@ const Clients1 = () => { })} - + @@ -1144,7 +1144,7 @@ const Clients1 = () => {
- # + # Status Client Contact diff --git a/src/pages/nearle/competitiveIntel/competitiveIntel.js b/src/pages/nearle/competitiveIntel/competitiveIntel.js index a39215a..be96e8e 100644 --- a/src/pages/nearle/competitiveIntel/competitiveIntel.js +++ b/src/pages/nearle/competitiveIntel/competitiveIntel.js @@ -264,7 +264,7 @@ const CompetitiveIntel = () => { {tab === 'branches' ? ( - # + # Company Area Phone @@ -274,7 +274,7 @@ const CompetitiveIntel = () => { ) : ( - # + # Company Weight Slab Zone diff --git a/src/pages/nearle/customers/customers.js b/src/pages/nearle/customers/customers.js index f7210fa..d0bc7ff 100644 --- a/src/pages/nearle/customers/customers.js +++ b/src/pages/nearle/customers/customers.js @@ -203,7 +203,7 @@ const Customers = () => { - + {
- # + # Customer Contact Bookings diff --git a/src/pages/nearle/deliveries/deliveries.js b/src/pages/nearle/deliveries/deliveries.js index 38cd29f..28c817e 100644 --- a/src/pages/nearle/deliveries/deliveries.js +++ b/src/pages/nearle/deliveries/deliveries.js @@ -1345,7 +1345,7 @@ const Deliveries = () => {
- # + # Item Category Weight @@ -1545,7 +1545,7 @@ const Deliveries = () => { hasDivider={false} /> - + @@ -1781,7 +1781,7 @@ const Deliveries = () => { key={header.id} scope="col" aria-sort={sorted === 'asc' ? 'ascending' : sorted === 'desc' ? 'descending' : canSort ? 'none' : undefined} - style={{ width: header.getSize(), textAlign: align, position: 'relative' }} + style={{ width: header.getSize(), minWidth: header.column.columnDef.minSize, maxWidth: header.column.columnDef.maxSize || header.getSize(), textAlign: align, position: 'relative' }} > { - + {
- # + # Consignment Hub Type diff --git a/src/pages/nearle/hubs/hubs.js b/src/pages/nearle/hubs/hubs.js index 5026f79..11eb430 100644 --- a/src/pages/nearle/hubs/hubs.js +++ b/src/pages/nearle/hubs/hubs.js @@ -184,7 +184,7 @@ const Hubs = () => { - + {
- # + # Hub Name Type City diff --git a/src/pages/nearle/orders/OrdersPreview.js b/src/pages/nearle/orders/OrdersPreview.js index 2044b9b..5ebfb52 100644 --- a/src/pages/nearle/orders/OrdersPreview.js +++ b/src/pages/nearle/orders/OrdersPreview.js @@ -411,7 +411,7 @@ const OrdersPreview = () => {
- # + # {aiMode == 1 && Zone} Tenant Order Location diff --git a/src/pages/nearle/orders/multipleOrders.js b/src/pages/nearle/orders/multipleOrders.js index 0963d36..b32521c 100644 --- a/src/pages/nearle/orders/multipleOrders.js +++ b/src/pages/nearle/orders/multipleOrders.js @@ -1047,7 +1047,7 @@ const MultipleOrders = () => {
- # + # Customer Address Qty @@ -1159,7 +1159,7 @@ const MultipleOrders = () => {
- # + # Name Contact Address diff --git a/src/pages/nearle/orders/orders.js b/src/pages/nearle/orders/orders.js index 4b2d86b..0578650 100644 --- a/src/pages/nearle/orders/orders.js +++ b/src/pages/nearle/orders/orders.js @@ -533,8 +533,8 @@ const Orders = () => { }, { id: 'serial', - size: 50, - minSize: 44, + size: 30, + minSize: 20, enableSorting: false, meta: { label: '#' }, header: () => #, @@ -590,8 +590,8 @@ const Orders = () => { { id: 'pickup', accessorKey: 'pickupaddress', - size: 280, - minSize: 220, + size: 320, + minSize: 260, meta: { label: 'Pickup' }, header: () => Pickup, cell: ({ getValue, row }) => ( @@ -605,8 +605,8 @@ const Orders = () => { const customer = customerMap?.get(row.appcustomerid); return customer?.firstname || customer?.name || `Customer #${row.appcustomerid ?? '—'}`; }, - size: 320, - minSize: 240, + size: 360, + minSize: 280, meta: { label: 'Drop' }, header: () => Drop, cell: ({ getValue, row }) => { @@ -957,7 +957,7 @@ const Orders = () => { whole toolbar — filter tabs, search, column visibility — reads as one control strip instead of two stacked rows. */} - + { // readers announce the column's sort state from // here, not from the clickable content inside. aria-sort={sorted === 'asc' ? 'ascending' : sorted === 'desc' ? 'descending' : canSort ? 'none' : undefined} - style={{ width: header.getSize(), textAlign: align, position: 'relative' }} + style={{ width: header.getSize(), minWidth: header.column.columnDef.minSize, maxWidth: header.column.columnDef.maxSize || header.getSize(), textAlign: align, position: 'relative' }} > { {row.getVisibleCells().map((cell) => ( e.stopPropagation() : undefined} > {flexRender(cell.column.columnDef.cell, cell.getContext())} diff --git a/src/pages/nearle/reports/ordersDetails.js b/src/pages/nearle/reports/ordersDetails.js index 0f06c72..117af52 100644 --- a/src/pages/nearle/reports/ordersDetails.js +++ b/src/pages/nearle/reports/ordersDetails.js @@ -513,7 +513,7 @@ export default function OrdersDetails() { {/* Toolbar: Zone · Tenant · Location · Rider · Date · Search. */} + - + - # + # Map Client Pickup diff --git a/src/pages/nearle/reports/ordersSummary.js b/src/pages/nearle/reports/ordersSummary.js index 3ee5191..c5ff9b5 100644 --- a/src/pages/nearle/reports/ordersSummary.js +++ b/src/pages/nearle/reports/ordersSummary.js @@ -405,7 +405,7 @@ export default function OrdersReport() { larger, riskier change than this pass's chrome scope. */} +
- # + # ID Rider diff --git a/src/pages/nearle/riders/riders.js b/src/pages/nearle/riders/riders.js index d369590..4e76d2f 100644 --- a/src/pages/nearle/riders/riders.js +++ b/src/pages/nearle/riders/riders.js @@ -535,7 +535,7 @@ const Riders = () => { toolbar={ - + { {roleid == 1 && } - - - {(row.displayname || row.authname || '?').charAt(0).toUpperCase()} - - - - {row.displayname || row.authname || '—'} - - - {row.phone || '—'} - - - + + + {row.displayname || row.authname || '—'} + + + {row.phone || '—'} + + } > @@ -882,7 +877,7 @@ const Riders = () => {
- # + # ID Rider Address @@ -944,19 +939,14 @@ const Riders = () => { - - - {(row.displayname || row.authname || '?').charAt(0).toUpperCase()} - - - - {row.displayname || row.authname || '—'} - - - {row.phone || '—'} - - - + + + {row.displayname || row.authname || '—'} + + + {row.phone || '—'} + + diff --git a/src/pages/nearle/tripsheets/tripsheets.js b/src/pages/nearle/tripsheets/tripsheets.js index a1340af..0df7865 100644 --- a/src/pages/nearle/tripsheets/tripsheets.js +++ b/src/pages/nearle/tripsheets/tripsheets.js @@ -154,7 +154,7 @@ const Tripsheets = () => {
- # + # Source Hub Destination Hub Status diff --git a/src/pages/nearle/vehicles/vehicles.js b/src/pages/nearle/vehicles/vehicles.js index ee79026..cdbee25 100644 --- a/src/pages/nearle/vehicles/vehicles.js +++ b/src/pages/nearle/vehicles/vehicles.js @@ -176,7 +176,7 @@ const Vehicles = () => { - + {
- # + # Vehicle No Type Partner