__Dementor
__Dementor
FFilament
Created by __Dementor on 2/14/2025 in #❓┊help
Mailtrap provider issue
Changing from
QUEUE_CONNECTION=database
QUEUE_CONNECTION=database
to
QUEUE_CONNECTION=sync
QUEUE_CONNECTION=sync
fix problem 🙂
5 replies
FFilament
Created by __Dementor on 2/14/2025 in #❓┊help
Mailtrap provider issue
Link do mailtrap provider library -> https://github.com/railsware/mailtrap-php
5 replies
FFilament
Created by __Dementor on 2/14/2025 in #❓┊help
Mailtrap provider issue
No description
5 replies
FFilament
Created by __Dementor on 1/27/2025 in #❓┊help
Larger screen adjustment
Okej, klient mi potwierdził, że teraz wygląda to tak jak chciał. Dziękuję za pomoc! ❤️
8 replies
FFilament
Created by __Dementor on 1/27/2025 in #❓┊help
Larger screen adjustment
I changed, wrote to the client and am waiting for feedback. Maybe it will help. I hope so, because I would like to finish doing this project already 😄
8 replies
FFilament
Created by __Dementor on 1/27/2025 in #❓┊help
Moving columns in table
Yes, this is exactly what I meant. Thank you!
6 replies
FFilament
Created by __Dementor on 1/21/2025 in #❓┊help
SelectFilter doesn not work like I want
Yeah Its works ❤️
6 replies
FFilament
Created by __Dementor on 1/21/2025 in #❓┊help
SelectFilter doesn not work like I want
JobStatusEnum
final class JobStatusEnum extends Enum
{
/** @var string */
const New = 'new';

/** @var string */
const Realization = 'realization';

/** @var string */
const Finished = 'finished';

/** @var string */
const Payment = 'payment';

/** @var string */
const Rejected = 'rejected';

/** @var string */
const Cancelled = 'cancelled';
}
final class JobStatusEnum extends Enum
{
/** @var string */
const New = 'new';

/** @var string */
const Realization = 'realization';

/** @var string */
const Finished = 'finished';

/** @var string */
const Payment = 'payment';

/** @var string */
const Rejected = 'rejected';

/** @var string */
const Cancelled = 'cancelled';
}
6 replies
FFilament
Created by __Dementor on 6/9/2024 in #❓┊help
Repeater have problem
I have it shared, but privately. Is it a problem if you gave me your email address?
28 replies
FFilament
Created by __Dementor on 6/9/2024 in #❓┊help
Repeater have problem
Github or only this resource and models?
28 replies
FFilament
Created by __Dementor on 6/9/2024 in #❓┊help
Repeater have problem
Still not working
28 replies
FFilament
Created by __Dementor on 6/9/2024 in #❓┊help
Repeater have problem
I understand that ->whereDepotId() is a scope?
28 replies
FFilament
Created by __Dementor on 6/9/2024 in #❓┊help
Repeater have problem
No description
28 replies
FFilament
Created by __Dementor on 6/9/2024 in #❓┊help
Repeater have problem
No description
28 replies
FFilament
Created by __Dementor on 6/9/2024 in #❓┊help
Repeater have problem
I remove ->reactive() and this still not working
28 replies
FFilament
Created by __Dementor on 6/9/2024 in #❓┊help
Repeater have problem
Tabs\Tab::make('Depot')
->schema([
Forms\Components\Select::make('depot_id')
->options(Depot::query()->pluck('name', 'id'))
->required()
->live()
->reactive(),
]),
Tabs\Tab::make('Depot')
->schema([
Forms\Components\Select::make('depot_id')
->options(Depot::query()->pluck('name', 'id'))
->required()
->live()
->reactive(),
]),
28 replies
FFilament
Created by __Dementor on 6/9/2024 in #❓┊help
Repeater have problem
This
->options(function (Forms\Get $get) {
return Product::query()
->where('depot_id', $get('depot_id'))
->pluck('name', 'id');
})
->options(function (Forms\Get $get) {
return Product::query()
->where('depot_id', $get('depot_id'))
->pluck('name', 'id');
})
Doesn't work. Without where() works, with where doesnt work 😦
28 replies
FFilament
Created by __Dementor on 6/9/2024 in #❓┊help
Repeater have problem
Whats wrong?
Forms\Components\Repeater::make('Select products')
->relationship('items')
->required()
->live()
->schema([
Forms\Components\Select::make('product_id')
->label(__('depot_deliveries.create.product_id'))
->options(function (Forms\Get $get) {
return Product::query()
->where('depot_id', $get('depot_id'))
->pluck('name', 'id');
})
->distinct()
->disableOptionsWhenSelectedInSiblingRepeaterItems()
->reactive()
->live()
->afterStateUpdated(function ($state, Forms\Set $set) {
$set('system_quantity', Product::query()->find($state)?->quantity ?? 0);
$set('price', Product::query()->find($state)?->price ?? 0);
})
->searchable()
->columnSpanFull()
->required(),


])
->columns(2),
Forms\Components\Repeater::make('Select products')
->relationship('items')
->required()
->live()
->schema([
Forms\Components\Select::make('product_id')
->label(__('depot_deliveries.create.product_id'))
->options(function (Forms\Get $get) {
return Product::query()
->where('depot_id', $get('depot_id'))
->pluck('name', 'id');
})
->distinct()
->disableOptionsWhenSelectedInSiblingRepeaterItems()
->reactive()
->live()
->afterStateUpdated(function ($state, Forms\Set $set) {
$set('system_quantity', Product::query()->find($state)?->quantity ?? 0);
$set('price', Product::query()->find($state)?->price ?? 0);
})
->searchable()
->columnSpanFull()
->required(),


])
->columns(2),
28 replies
FFilament
Created by __Dementor on 6/9/2024 in #❓┊help
Repeater have problem
Thanks bro ❤️
28 replies
FFilament
Created by __Dementor on 6/9/2024 in #❓┊help
Repeater have problem
That was too easy
28 replies