You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 18, 2020. It is now read-only.
I have Cities that hasMany Users and User belongsTo a City.
I want to have an import card onlyInDetail of City resource that say Import Users.
And now, in excel file i do not want to include the city_id, i need to pass as parameter so all Users imported will belong to the City that the Import is executed.
In documentation what your package use is just the full path of class using Namespace: App\Imports\UserImport::class or 'App\Imports\UserImport'
Instead i want: new UserImport($city_id); lets say
If this is possible please tell me how to pass the parameter, if not, it will be great to have this as feature.
Thank you, great package btw
The text was updated successfully, but these errors were encountered:
Is this possible?
I have Cities that hasMany Users and User belongsTo a City.
I want to have an import card onlyInDetail of City resource that say Import Users.
And now, in excel file i do not want to include the city_id, i need to pass as parameter so all Users imported will belong to the City that the Import is executed.
In documentation what your package use is just the full path of class using Namespace: App\Imports\UserImport::class or 'App\Imports\UserImport'
Instead i want: new UserImport($city_id); lets say
If this is possible please tell me how to pass the parameter, if not, it will be great to have this as feature.
Thank you, great package btw
The text was updated successfully, but these errors were encountered: