change icons, css, add routing to merchandise, add mail templater, fixes

This commit is contained in:
Ludovic CANDELLIER
2023-02-12 23:34:48 +01:00
parent c5ae71544a
commit 7449229ff7
71 changed files with 1486 additions and 154 deletions

View File

@@ -0,0 +1,21 @@
<?php
namespace App\Models\Core\Mail;
use App\Repositories\Core\DateTime;
use Illuminate\Database\Eloquent\Model;
class MailLog extends Model
{
protected $guarded = ['id'];
public function scopeByDestination($query, $email)
{
return $query->where('sent_to', $email);
}
public function getCreatedAtAttribute($value)
{
return DateTime::DateTimeToLocale($value);
}
}