Hello everyone.
I'm developing an application for personal use, using EspoCRM.
I have a small mechanic workshop, and I always kept all the files in handwriting, or as a last resort, in an excel sheet.
After studying how EspoCRM works, and because I'm very interested in technologies, I tried to create a program simply to record the maintenance I do on cars.
So, I'm using the entity (I don't know if it's correct to call it that), Account, Task (Modified to register mechanic services), and I've created 3 basic entities, one called "vehicle" (which I register the vehicles, and I assign to an account as parent and child), another called "Marks" where I simply use the "name" field to register the brand of the vehicle that can be obtained from a list, by the entity "Vehicles", and finally, the entity "Services", where I also only use the name field, to register services that I can select from a list, for example:
- oil change.
- changing filters...
(Linked to an Task as One to Many)
What I tried, finally, was to create a PDF with a record of the services to be performed... so I could print it and put it next to the car to know what to do.
I created a template for the Task entity, and inserted the necessary fields.
It turns out that when I select the field {{serviceNames}}, it just returns a field [object Object] when i print to pdf.
I registered 3 jobs in the Task. If I print {{servicosIds}}, it shows 3 codes separated by commas, but it wasn't even the IDs I needed, I really need the text in the names...
Can you help me?
Everything in my application is working as intended. simple but it works. Only the PDF does not work properly.
I don't know if it matters, I'm using xampp as an internal server. The application is for personal use, without the need to be shared with anyone else, or to be "online".
I'm sorry if I made any typos, English is not my native language.
I'm developing an application for personal use, using EspoCRM.
I have a small mechanic workshop, and I always kept all the files in handwriting, or as a last resort, in an excel sheet.
After studying how EspoCRM works, and because I'm very interested in technologies, I tried to create a program simply to record the maintenance I do on cars.
So, I'm using the entity (I don't know if it's correct to call it that), Account, Task (Modified to register mechanic services), and I've created 3 basic entities, one called "vehicle" (which I register the vehicles, and I assign to an account as parent and child), another called "Marks" where I simply use the "name" field to register the brand of the vehicle that can be obtained from a list, by the entity "Vehicles", and finally, the entity "Services", where I also only use the name field, to register services that I can select from a list, for example:
- oil change.
- changing filters...
(Linked to an Task as One to Many)
What I tried, finally, was to create a PDF with a record of the services to be performed... so I could print it and put it next to the car to know what to do.
I created a template for the Task entity, and inserted the necessary fields.
It turns out that when I select the field {{serviceNames}}, it just returns a field [object Object] when i print to pdf.
I registered 3 jobs in the Task. If I print {{servicosIds}}, it shows 3 codes separated by commas, but it wasn't even the IDs I needed, I really need the text in the names...
Can you help me?
Everything in my application is working as intended. simple but it works. Only the PDF does not work properly.
I don't know if it matters, I'm using xampp as an internal server. The application is for personal use, without the need to be shared with anyone else, or to be "online".
I'm sorry if I made any typos, English is not my native language.
Comment