updates on the ai bot and the queries and the delivereis page

This commit is contained in:
2026-08-27 13:11:05 +05:30
parent c6607ae75d
commit e34e41ca96
8 changed files with 217 additions and 144 deletions

View File

@@ -279,10 +279,7 @@ export default function Deliveries() {
sortable: true,
cell: (row) => (
<div className="flex flex-col items-start gap-0.5">
<StatusBadge status={row.consignmentstatus || row.orderstatus} dot size="sm" />
{/* Where the value came from. Without this, a row reading "Active"
while the booking still says Converted_To_Consignment looks
exactly like a bug. */}
<StatusBadge status={row.orderstatus} dot size="sm" />
{row.statusfromconsignment ? (
<span className="text-[10px] text-ink-4">from consignment</span>
) : null}