feat: add customer contract number to project view and update project query
This commit is contained in:
@@ -588,10 +588,19 @@ export default function ProjectViewPage() {
|
||||
</div>
|
||||
<div>
|
||||
<span className="text-sm font-medium text-gray-500 block mb-1">
|
||||
Nazwa umowy
|
||||
Numer umowy klienta
|
||||
</span>
|
||||
<p className="text-gray-900 font-medium">
|
||||
{project.contract_name || "N/A"}
|
||||
{project.customer_contract_number ? (
|
||||
<Link
|
||||
href={`/contracts/${project.contract_id}`}
|
||||
className="text-inherit hover:text-inherit no-underline"
|
||||
>
|
||||
{project.customer_contract_number}
|
||||
</Link>
|
||||
) : (
|
||||
"N/A"
|
||||
)}
|
||||
</p>
|
||||
</div>
|
||||
<div>
|
||||
|
||||
Reference in New Issue
Block a user