Action::make('envia_factura')
->icon('heroicon-m-envelope')
->schema([
Grid::make(3)->schema([
TextInput::make('to')->label('Client')->default($this->correus())->columnSpanFull(),
TextInput::make('cc')->label('CC')->default(''),
TextInput::make('bcc')->label('BCC')->default('eduardp@bredax.com'),
]),
TextInput::make('assumpte')->label('Assumpte')->default($this->assumpte()),
RichEditor::make('contingut')
->toolbarButtons([
/* 'attachFiles', 'blockquote', */ 'bold', 'bulletList',
/* 'codeBlock', */ 'h2', 'h3', 'italic', 'link', 'orderedList',
'redo', 'strike', 'undo',
])
->label('Missatge')
->required()
->default(self::cosMissatge()),
])
Action::make('envia_factura')
->icon('heroicon-m-envelope')
->schema([
Grid::make(3)->schema([
TextInput::make('to')->label('Client')->default($this->correus())->columnSpanFull(),
TextInput::make('cc')->label('CC')->default(''),
TextInput::make('bcc')->label('BCC')->default('eduardp@bredax.com'),
]),
TextInput::make('assumpte')->label('Assumpte')->default($this->assumpte()),
RichEditor::make('contingut')
->toolbarButtons([
/* 'attachFiles', 'blockquote', */ 'bold', 'bulletList',
/* 'codeBlock', */ 'h2', 'h3', 'italic', 'link', 'orderedList',
'redo', 'strike', 'undo',
])
->label('Missatge')
->required()
->default(self::cosMissatge()),
])