HeyWeb
HeyWeb
FFilament
Created by HeyWeb on 5/14/2024 in #❓┊help
getNavigationBadge()
Perfect Vp. Thanks
20 replies
FFilament
Created by HeyWeb on 5/14/2024 in #❓┊help
getNavigationBadge()
public static function getNavigationBadge(): ?string { return static::getModel()::where('stock_minimo','<','stock')->count(); }
20 replies
FFilament
Created by HeyWeb on 5/14/2024 in #❓┊help
getNavigationBadge()
I want to control the products that are with minimum_stock, but the following function does not work for me
20 replies
FFilament
Created by KinBH on 5/15/2024 in #❓┊help
Salve multiple relation
Do you have 'athlete_id' declared in the model?
13 replies
FFilament
Created by HeyWeb on 5/14/2024 in #❓┊help
getNavigationBadge()
any ideas?
20 replies
FFilament
Created by HeyWeb on 5/14/2024 in #❓┊help
getNavigationBadge()
OK. Thanks
20 replies
FFilament
Created by HeyWeb on 5/14/2024 in #❓┊help
getNavigationBadge()
stock_minimo in database is integer
20 replies
FFilament
Created by HeyWeb on 5/14/2024 in #❓┊help
getNavigationBadge()
Not working
20 replies
FFilament
Created by HeyWeb on 5/14/2024 in #❓┊help
getNavigationBadge()
return static::getModel()::where('stock_minimo','>',intval('stock'))->count();
20 replies
FFilament
Created by alonemz on 5/2/2024 in #❓┊help
Resource page that can share the same Model
->actions([ Tables\Actions\EditAction::make()->mutateFormDataUsing(function (array $data): array { $resource = $this->getResource(); $record = $resource->getCurrentRecord(); // Create a new MedicalRecord instance $medicalRecord = new MedicalRecord(); // Set the user_id and medical_request_id for the MedicalRecord $medicalRecord->user_id = $record->user_id; $medicalRecord->medical_request_id = $record->id; // Save the MedicalRecord instance $medicalRecord->save(); }),
30 replies
FFilament
Created by alonemz on 5/2/2024 in #❓┊help
Resource page that can share the same Model
Use mutateFormDataUsing
30 replies
FFilament
Created by NothingToSay on 5/4/2024 in #❓┊help
Image not showing on Edit Page
php artisan storage:link
12 replies
FFilament
Created by HeyWeb on 5/3/2024 in #❓┊help
Modal action
Thanks
4 replies
FFilament
Created by HeyWeb on 5/1/2024 in #❓┊help
Update value
Thanks
10 replies
FFilament
Created by HeyWeb on 5/1/2024 in #❓┊help
Update value
No description
10 replies
FFilament
Created by HeyWeb on 5/1/2024 in #❓┊help
Update value
The problem is that when updating the registration field, the customer field remains blank, because it does not collect the set that is sent to it or it was sent incorrectly.
10 replies
FFilament
Created by HeyWeb on 5/1/2024 in #❓┊help
Update value
From the license plate I look for which vehicle it belongs to and by the vehicle_id I look in the table to which client it belongs to, it is a purely informative field Parts (license)->vehicle_id->customer_id
10 replies
FFilament
Created by astronomic on 4/29/2024 in #❓┊help
Doubts with summarize(Count)
21 replies
FFilament
Created by astronomic on 4/29/2024 in #❓┊help
Doubts with summarize(Count)
Did you try adding a widget to the header?
21 replies
FFilament
Created by HeyWeb on 5/1/2024 in #❓┊help
Update value
Correct and seo works perfectly, what I don't give is implementing a get to collect the values ​​of the previous field when it is updated
10 replies