Closed mihaisolomon closed 1 year ago
Hello @mihaisolomon So the table need to have the following columns:
And for the actions, we can have the Edit and Delete:
And I suggest to use laravel-medialibrary
package of Spatie
.
What do you think?
Yes. That's the one that I was thinking of. But please put the uploaded files into the media
table rather then tickets column (attachments).
Alright I see now the idea.
I will do it like described above, and yes a table named medias will be used for all the files (managed by spatie/laravel-media)
@mihaisolomon I just added the attachments system for tickets based on Spatie media package, and it looks like this:
I pushed all the dev to master so you can check if you want and let me know if it's correct for you.
@mihaisolomon Just a trick, the project has a custom artisan command php artisan trans:missing {lang}
that take the {lang}.json
file and compare with other lang json files to automatically translate and add the missing keys from the {lang}.json
to the others.
E.g.
You can add your new translations into your desired {lang}.json
for example fr.json
when you finish execute php artisan trans:missing fr
then the command will generate the missing translation into ar.json
, uk.json
, ... and all the json files
I looked over the files uploads and it looks nice.
I'm thinking of making a listing of the files something like this: