25 lines
606 B
PHP
25 lines
606 B
PHP
<?php
|
|
|
|
namespace App\Filament\Resources\Coupons\Schemas;
|
|
|
|
use Filament\Infolists\Components\TextEntry;
|
|
use Filament\Schemas\Schema;
|
|
|
|
class CouponInfolist
|
|
{
|
|
public static function configure(Schema $schema): Schema
|
|
{
|
|
return $schema
|
|
->components([
|
|
TextEntry::make('phone')
|
|
->copyable(),
|
|
TextEntry::make('code')
|
|
->copyable(),
|
|
TextEntry::make('created_at')
|
|
->dateTime(),
|
|
TextEntry::make('updated_at')
|
|
->dateTime(),
|
|
]);
|
|
}
|
|
}
|