andrewdwallo / erpsaas

A Laravel and Filament-powered accounting platform, crafting a modern and automated solution for financial management.
MIT License
851 stars 241 forks source link

Invoice Logo URL && Account Type Credit Card #31

Closed InfinityXTech closed 1 year ago

InfinityXTech commented 1 year ago

Invoice logo throws a 404 because the logos are inside storage folder so this would fix it:

Storage::url($logo)

Also when trying to add account type credit card I get error undefined key enabled in $data array. Not sure why that happens.

andrewdwallo commented 1 year ago

Okay thanks! Will fix it soon and follow up when I provide a new update.

andrewdwallo commented 1 year ago

Hi @soixt,

Thanks for reporting this issue with the invoice logo. I want to make sure I fully understand the problem you're experiencing, so I'd appreciate a bit more detail:

Environment Details: Could you let me know the environment where the 404 error for the logo occurs (like local development, staging, or production)? This will help determine if the issue is environment-specific.

Steps to Reproduce: It would be really helpful if you could provide the specific steps you followed when you encountered this issue. A step-by-step guide would be ideal for me to try and reproduce the error on my end.

Additional Information:

Any screenshots or logs of the 404 error would be very useful. Are you seeing this issue consistently, or does it vary by browser or after clearing the cache? To give you some context, in my setup, I'm using the Filament FileUpload component with the public disk, and the logo is displayed in the invoice preview using URL::asset($logo). So far, this has been working fine for me.

I'm here to help and want to ensure everything works smoothly. Your further input will be crucial for identifying and fixing this issue.

andrewdwallo commented 1 year ago

Closing due to inactivity. Also, there seems to be no issue here for others.