File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
resources/views/livewire/company Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -237,12 +237,12 @@ class="text-sm rounded border border-gray-300 px-2 py-1 dark:bg-gray-700 dark:te
237237 x-show =" input" @click .away =" input = false" />
238238 <div class =" text-xs text-gray-500 mt-1" @click =" input = !input"
239239 x-show =" !input" >
240- {{ \Carbon \Carbon:: parse ($company -> last_agm )-> format (' d/m/Y' ) ?? ' Not set' } }
240+ {{ $company -> last_agm ? \Carbon \Carbon:: parse ($company -> last_agm )-> format (' d/m/Y' ) : ' Not set' } }
241241 </div >
242242 </span >
243243 @else
244244 <span class =" ml-2 text-sm font-medium text-gray-900 dark:text-white" >
245- {{ \Carbon \Carbon:: parse ($company -> last_agm )-> format (' d/m/Y' ) ?? ' Not set' } }
245+ {{ $company -> last_agm ? \Carbon \Carbon:: parse ($company -> last_agm )-> format (' d/m/Y' ) : ' Not set' } }
246246 </span >
247247 @endif
248248 </div >
@@ -259,12 +259,12 @@ class="text-sm rounded border border-gray-300 px-2 py-1 dark:bg-gray-700 dark:te
259259 x-show =" input" @click .away =" input = false" />
260260 <div class =" text-xs text-gray-500 mt-1" @click =" input = !input"
261261 x-show =" !input" >
262- {{ \Carbon \Carbon:: parse ($company -> financial_year_end )-> format (' d/m' ) ?? ' Not set' } }
262+ {{ $company -> financial_year_end ? \Carbon \Carbon:: parse ($company -> financial_year_end )-> format (' d/m' ) : ' Not set' } }
263263 </div >
264264 </span >
265265 @else
266266 <span class =" ml-2 text-sm font-medium text-gray-900 dark:text-white" >
267- {{ \Carbon \Carbon:: parse ($company -> financial_year_end )-> format (' d/m' ) ?? ' Not set' } }
267+ {{ $company -> financial_year_end ? \Carbon \Carbon:: parse ($company -> financial_year_end )-> format (' d/m' ) : ' Not set' } }
268268 </span >
269269 @endif
270270 </div >
You can’t perform that action at this time.
0 commit comments