feat: add wartosc_zlecenia field to projects table and update related functionalities
This commit is contained in:
@@ -421,6 +421,19 @@ export default function ProjectViewPage() {
|
||||
{project.investment_number || "N/A"}
|
||||
</p>
|
||||
</div>
|
||||
{session?.user?.role === 'team_lead' && project.wartosc_zlecenia && (
|
||||
<div>
|
||||
<span className="text-sm font-medium text-gray-500 block mb-1">
|
||||
Wartość zlecenia
|
||||
</span>
|
||||
<p className="text-gray-900 font-medium">
|
||||
{parseFloat(project.wartosc_zlecenia).toLocaleString('pl-PL', {
|
||||
style: 'currency',
|
||||
currency: 'PLN'
|
||||
})}
|
||||
</p>
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
|
||||
{project.contact && (
|
||||
|
||||
Reference in New Issue
Block a user