ochoarobert1 / ccontrol

Simple plugin for Client control, budgeting and invoice. Manage your business operations with ease.
https://robertochoaweb.com/
GNU General Public License v2.0
3 stars 1 forks source link

Dynamic Entries for the PDF Constructor #13

Open LebToki opened 8 months ago

LebToki commented 8 months ago

Having Dynamic entries from settings controller Instead of hard-coding values in your PDF constructor for things like images and text (Brand, address, etc.)

will see how to expand this further (when i have some time)

LebToki commented 8 months ago

ccontrol You should end up with something like this ! and you would use these fields to construct the PDF files yet ensure that your app is not hard coding the essentials for portability

LebToki commented 8 months ago

2 and so on

LebToki commented 8 months ago

maybe General Tab can hold your SMTP settings and other Email Fields that you use to automate the email sending !

ochoarobert1 commented 8 months ago

I have a problem trying to use the ccontrol_logo on tpdf, it seems that it needs some permissions.

LebToki commented 8 months ago

Tried too. It needs to be dealt with from another angle won't take anything but jpg and then it misses the file so you need to maybe look at another library We will try on thr weekend

sent from my mobile phone so excuse any typos

Kind Regards, Tarek

On Sun, Mar 10, 2024, 11:36 PM Robert Ochoa @.***> wrote:

I have a problem trying to use the ccontrol_logo on tpdf, it seems that it needs some permissions.

— Reply to this email directly, view it on GitHub https://github.com/ochoarobert1/ccontrol/issues/13#issuecomment-1987340384, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHJZMVXELPPE7K3NDZNG5DYXSY2FAVCNFSM6AAAAABEMLUG4WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBXGM2DAMZYGQ . You are receiving this because you authored the thread.Message ID: @.***>

ochoarobert1 commented 8 months ago

Thanks man, im thinking to move to jsPDF https://raw.githack.com/MrRio/jsPDF/master/docs/index.html

It seems pretty seamless.