How to load blade view file with css and js by ajax?
Do you know any better solution for this?
How to integrate aws ses email in laravel?
is it possible to redirect users to pages outside the component directory when using jetstream?
How to load blade view file with css and js by ajax? is it possible?
E.g. Yii2 can do this with renderView or renderPjax
We can clear the cache by typing the code in the route file.
Make your application more beautiful with Modal.
In this video you will learn how to make a modal create quick and easy.
form code link: https://github.com/mauriciocoelho/modal-create
I have to models that they are connected each other via has Many relationships
when I use this line code
{{ $park->user }}
I get this array :
[{“id”:2,”last_name”:”Gulomov”,”first_name”:”Doston”,”phone_number”:null,”email”:”doston@gmail.com”,”email_verified_at”:null,”current_team_id”:null,”profile_photo_path”:null,”park_id”:1,”created_at”:”2021-04-29T00:08:11.000000Z”,”updated_at”:”2021-04-29T00:14:44.000000Z”,”profile_photo_url”:”https://ui-avatars.com/api/?name=&color=7F9CF5&background=EBF4FF”}
I want to get firts_name and last_name value in order to I have written $park->user->last_name
But I got error message why is it happening
I have to models that they are connected each other via has Many relationships
when I use this line code
{{ $park->user }}
I get this array :
[{“id”:2,”last_name”:”Gulomov”,”first_name”:”Doston”,”phone_number”:null,”email”:”doston@gmail.com”,”email_verified_at”:null,”current_team_id”:null,”profile_photo_path”:null,”park_id”:1,”created_at”:”2021-04-29T00:08:11.000000Z”,”updated_at”:”2021-04-29T00:14:44.000000Z”,”profile_photo_url”:”https://ui-avatars.com/api/?name=&color=7F9CF5&background=EBF4FF”}
I want to get firts_name and last_name value in order to I have written $park->user->last_name
But I got error message why is it happening
I use foreach and I get the result that I want but I don’t prefer to user foreach in my code
I am think to get the result via using this line code: $park->user->first_name
cos I have read documentation eloquent orm
The “” directory does not exist.
how to solve this error
HTTP ERROR 500
I am think to get the result via using this line code: $park->user->first_name
cos I have read documentation eloquent orm
When you have a many relationship you will always get a collection of models, because many mean.. many.
I need to generate a contract form as pdf.
I understood what I need to do:
-use phpword to format the doc in my by line
and replace some values that comes from DB
– save as word word again.
– loading the saved/generated doc via pdfDOM and save it as PDF.
but The problem is the contract has 7-8 pages. It takes too much to copy & paste all lines and text and format into source code.
Do you know any better solution for this?
I need to generate a contract form as pdf.
I understood what I need to do:
-use phpword to format the doc in my by line
and replace some values that comes from DB
– save as word word again.
– loading the saved/generated doc via pdfDOM and save it as PDF.
but The problem is the contract has 7-8 pages. It takes too much to copy & paste all lines and text and format into source code.
Do you know any better solution for this?
#solved
https://github.com/PHPOffice/PHPWord/blob/e35838f7d7928b2308df3f7f0ef6d49bf96f453c/src/PhpWord/Template.php#L131
A pure PHP library for reading and writing word processing documents – PHPOffice/PHPWord
Ok web dev
Yes

yes
Yes please tell me
first find the controller responsible for this
and the tip