mirror of
https://github.com/PhyreApps/PhyrePanel.git
synced 2024-11-22 07:30:25 +00:00
update
This commit is contained in:
parent
a69830193e
commit
b9f3d0c90c
2 changed files with 10 additions and 1 deletions
|
@ -3,6 +3,7 @@
|
|||
namespace Modules\Email\App\Filament\Resources;
|
||||
|
||||
use App\Models\Domain;
|
||||
use Faker\Provider\Text;
|
||||
use Modules\Email\App\Filament\Resources\EmailAliasResource\Pages;
|
||||
use Modules\Email\App\Filament\Resources\EmailAliasResource\RelationManagers;
|
||||
use Modules\Email\App\Models\EmailAlias;
|
||||
|
@ -52,7 +53,10 @@ class EmailAliasResource extends Resource
|
|||
{
|
||||
return $table
|
||||
->columns([
|
||||
//
|
||||
Tables\Columns\TextColumn::make('forward'),
|
||||
|
||||
Tables\Columns\TextColumn::make('goto')
|
||||
->label('To'),
|
||||
])
|
||||
->filters([
|
||||
//
|
||||
|
|
|
@ -19,4 +19,9 @@ class EmailAlias extends Model
|
|||
'domain',
|
||||
];
|
||||
|
||||
|
||||
public function getForwardAttribute()
|
||||
{
|
||||
return $this->address . '@' . $this->domain;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue