Skip to content

Commit 62f97a4

Browse files
author
Itamar Junior
committed
fix: display contract budget fallback in budget calendar view
1 parent 2eaecca commit 62f97a4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

resources/views/livewire/company/budget-calendar.blade.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,8 @@ class="absolute top-2 right-2 text-gray-400 hover:text-gray-600">
187187
{{ $item['model']->contract->provider->name ?? ($item['model']->provider->name ?? '-') }}
188188
</td>
189189
<td class="px-4 py-2 border-b">
190-
{{ Number::currency($item['model']->budget ?? 0, 'EUR') }}</td>
190+
{{ Number::currency($item['model']->contract->budget ?? ($item['model']->budget ?? 0), 'EUR') }}
191+
</td>
191192
</tr>
192193
@endforeach
193194
</tbody>

0 commit comments

Comments
 (0)