F
Filament2mo ago
L!am

create a Order in my orderline page i get a error that the method is undefined

when i create a OrderLine and then edit it and make a Order (inside the orderline) i get this error Call to undefined method Illuminate\Database\Eloquent\Relations\BelongsTo::save()
6 Replies
L!am
L!am2mo ago
and this is my OrderLinesRelationManager
L!am
L!am2mo ago
order model wich orderlinesrelationmanager is connected to
awcodes
awcodes2mo ago
Laravel - The PHP Framework For Web Artisans
Laravel is a PHP web application framework with expressive, elegant syntax. We’ve already laid the foundation — freeing you to create without sweating the small things.
L!am
L!am2mo ago
i still don't get it
Tally
Tally2mo ago
can you post your OrderLine model?
L!am
L!am2mo ago
Sorry for the late reaction, but here is my OrderLine model.
Want results from more Discord servers?
Add your server
More Posts
how to show a MorphOne table in filament Table?I am struggling to access MorphOne relationship data in my table. I have Member model with MorphOne Section Heading-Background-ColorHi - Is it possible to change the background-color of a section-heading? I already tried the `extraAExecute filament commands inside a filament pluginHi, I am making a filament plugin which includes resources, models, relationmanagers, etc... Is theIs there a method to disable select row (checkbox) and display just the table with actions, filtersCurrently i'm hiding the checkbox prefixed with each row with css but is there an offical way to remexport notification message doesn't change base on localeAs we can see from image, I have translation file in `action/km/export` but on the notification listMultiple Modal IssueI stumbled upon an issue where I have multiple actions(opening modals). Whenever I open a modal, cloSQLSTATE[IMSSP]: Field 34 returned no data.Currently, I am facing an issue in displaying data from SQL Server. Why am I encountering an error lQuickly switching routes from panel nav, cause blank page or freezeswitching routes several times and quickly cause: in firefox: - blank page and this console error: "I have the navbar overlapping issue inside a resource with inbuilt database notification openmodalI have the navbar overlapping issue inside a resource with inbuilt database notification openmodalwhen using TrashedFilter Bulk actions disappearWhen using TrashedFilter, Bulk actions disappear, They show up again if TrashedFilter:make('another-