Yurikaso
Yurikaso
FFilament
Created by Yurikaso on 4/16/2024 in #❓┊help
Is it possible to use the filament control panel for this?
ok thanks I will make a second control panel you gave me a good idea thanks
9 replies
FFilament
Created by Yurikaso on 4/16/2024 in #❓┊help
Is it possible to use the filament control panel for this?
Hello, if I want to have a unified user panel, I do not have the skill or technical knowledge to do something very complex, so I want to simplify everything, that the employee when logging in, in a livewire component view, example home.blade.view only I see it and log out and if you are an administrator, enter the filament panel normally. Any guide or something I would really appreciate it, greetings
9 replies
FFilament
Created by Yurikaso on 1/24/2024 in #❓┊help
How do I show the data from the description of another table and not a number?
thanks
33 replies
FFilament
Created by Yurikaso on 1/24/2024 in #❓┊help
How do I show the data from the description of another table and not a number?
How do you know where you get those types of solutions? I'm new too
33 replies
FFilament
Created by Yurikaso on 1/24/2024 in #❓┊help
How do I show the data from the description of another table and not a number?
No description
33 replies
FFilament
Created by Yurikaso on 1/24/2024 in #❓┊help
How do I show the data from the description of another table and not a number?
No description
33 replies
FFilament
Created by Yurikaso on 1/24/2024 in #❓┊help
How do I show the data from the description of another table and not a number?
only real record T_T TEXT!
33 replies
FFilament
Created by Yurikaso on 1/24/2024 in #❓┊help
How do I show the data from the description of another table and not a number?
and not a number T_T
33 replies
FFilament
Created by Yurikaso on 1/24/2024 in #❓┊help
How do I show the data from the description of another table and not a number?
Is this possible? (Stock) Field (Descripcion) = (Asignaciones) Field (Descripcion)
33 replies
FFilament
Created by Yurikaso on 1/24/2024 in #❓┊help
How do I show the data from the description of another table and not a number?
yeah in the column
33 replies
FFilament
Created by Yurikaso on 1/24/2024 in #❓┊help
How do I show the data from the description of another table and not a number?
No description
33 replies
FFilament
Created by Yurikaso on 1/24/2024 in #❓┊help
How do I show the data from the description of another table and not a number?
That the same values of the field be sent in the database, because there are no problems in the panel
33 replies
FFilament
Created by Yurikaso on 1/24/2024 in #❓┊help
How do I show the data from the description of another table and not a number?
No description
33 replies
FFilament
Created by Yurikaso on 1/24/2024 in #❓┊help
How do I show the data from the description of another table and not a number?
like this
if ($isMultiline) {
Select::make('descripcion')
->label('Descripción stock')
->relationship('stock', 'descripcion')
->required()
}
if ($isMultiline) {
Select::make('descripcion')
->label('Descripción stock')
->relationship('stock', 'descripcion')
->required()
}
33 replies
FFilament
Created by Yurikaso on 1/24/2024 in #❓┊help
How do I show the data from the description of another table and not a number?
No description
33 replies
FFilament
Created by Yurikaso on 1/24/2024 in #❓┊help
How do I show the data from the description of another table and not a number?
how much do I put the select button
33 replies
FFilament
Created by Yurikaso on 1/24/2024 in #❓┊help
How do I show the data from the description of another table and not a number?
I understand but what I want is to have the data from the description field of my stock table, that are equal to my description field of my asignaciones table. but it converts them into a number in the database
33 replies
FFilament
Created by Yurikaso on 1/24/2024 in #❓┊help
How do I show the data from the description of another table and not a number?
my form
33 replies
FFilament
Created by Yurikaso on 1/24/2024 in #❓┊help
How do I show the data from the description of another table and not a number?
if ($isMultiline) {
<?php

class AsignacionesResource extends Resource
{
protected static ?string $model = Asignacion::class;

protected static ?string $pluralModelLabel = 'Asignaciones';

protected static ?string $navigationIcon = 'heroicon-o-rectangle-stack';

protected static ?string $navigationLabel = 'Asignaciones';

public static function form(Form $form): Form
{
return $form
->schema([
Section::make()
->schema([
TextInput::make('nombre')
->placeholder('Escribe un nombre')
->maxLength(255)
->required(),
TextInput::make('serial')
->placeholder('Escribe un número de serial')
->maxLength(255)
->required(),
TextInput::make('cantidad')
->placeholder('Escribe una cantidad')
->minValue(1)
->maxLength(255)
->numeric()
->required(),
Select::make('stock_id')
->label('Descripción stock')
->relationship('stock', 'descripcion')
->required()
])
]);
}

if ($isMultiline) {
<?php

class AsignacionesResource extends Resource
{
protected static ?string $model = Asignacion::class;

protected static ?string $pluralModelLabel = 'Asignaciones';

protected static ?string $navigationIcon = 'heroicon-o-rectangle-stack';

protected static ?string $navigationLabel = 'Asignaciones';

public static function form(Form $form): Form
{
return $form
->schema([
Section::make()
->schema([
TextInput::make('nombre')
->placeholder('Escribe un nombre')
->maxLength(255)
->required(),
TextInput::make('serial')
->placeholder('Escribe un número de serial')
->maxLength(255)
->required(),
TextInput::make('cantidad')
->placeholder('Escribe una cantidad')
->minValue(1)
->maxLength(255)
->numeric()
->required(),
Select::make('stock_id')
->label('Descripción stock')
->relationship('stock', 'descripcion')
->required()
])
]);
}

33 replies
FFilament
Created by Yurikaso on 1/24/2024 in #❓┊help
How do I show the data from the description of another table and not a number?
my table
33 replies