Skip to content

Commit

Permalink
Issue krayin#647 fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
jitendra-webkul committed Nov 9, 2021
1 parent 0604562 commit da86b91
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,13 @@ class="stage"

<i class="icon calendar-icon"></i>
<label>{{ __('admin::app.leads.expected-close-date:') }}</label>
<span title="{{ core()->formatDate($lead->expected_close_date) }}">{{ $lead->expected_close_date->diffForHumans() }}</span>
<span title="{{ core()->formatDate($lead->expected_close_date) }}">
{{
$lead->expected_close_date->format('d-M-Y') == \Carbon\Carbon::now()->format('d-M-Y')
? 'Today'
: $lead->expected_close_date->diffForHumans()
}}
</span>

@endif
</span>
Expand Down

0 comments on commit da86b91

Please sign in to comment.