In domain list, base echoarea list on message data, not date received
This commit is contained in:
parent
bf09e78e09
commit
314ec304a7
@ -49,10 +49,10 @@
|
||||
<tr>
|
||||
<td style="width: 15%;"><a href="{{ url('ftn/echoarea/addedit',[$oo->id]) }}">{{ $oo->name }}</a></td>
|
||||
<td>{{ $oo->description }}</td>
|
||||
<td style="width: 15%;">{{ ($x=$oo->echomail()->orderBy('created_at','DESC')->first()) ? $x->created_at->format('Y-m-d H:i') : '-' }}</td>
|
||||
<td class="text-end">{{ number_format($oo->echomail()->where('created_at','>=',Carbon::now()->subDay())->count()) }}</td>
|
||||
<td class="text-end">{{ number_format($oo->echomail()->where('created_at','>=',Carbon::now()->subWeek())->count()) }}</td>
|
||||
<td class="text-end">{{ number_format($oo->echomail()->where('created_at','>=',Carbon::now()->subMonth())->count()) }}</td>
|
||||
<td style="width: 15%;">{{ ($x=$oo->echomail()->orderBy('datetime','DESC')->first()) ? $x->datetime->format('Y-m-d H:i') : '-' }}</td>
|
||||
<td class="text-end">{{ number_format($oo->echomail()->where('datetime','>=',Carbon::now()->subDay())->count()) }}</td>
|
||||
<td class="text-end">{{ number_format($oo->echomail()->where('datetime','>=',Carbon::now()->subWeek())->count()) }}</td>
|
||||
<td class="text-end">{{ number_format($oo->echomail()->where('datetime','>=',Carbon::now()->subMonth())->count()) }}</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
|
Loading…
Reference in New Issue
Block a user