zmau_razvan Posted October 9, 2021 Share Posted October 9, 2021 hello i have a problem how to make a report of invoices per year and at reports invoices i will not select my company name as it is in the database there are also companies, I am attaching some pictures to be more explicit thank you 0 Quote Link to comment Share on other sites More sharing options...
zmau_razvan Posted October 10, 2021 Author Share Posted October 10, 2021 I have a suggestion in the invoices.php file to insert "tblclients.companyname" meaning "concat(tblclients.firstname, ' ', tblclients.lastname) " instead of "concat(tblclients.firstname, ' ', tblclients.lastname, ' ',tblclients.companyname) " and $query->addSelect(Capsule::raw("concat(tblclients.firstname, ' ', tblclients.lastname)")); instead of $query->addSelect(Capsule::raw("concat(tblclients.firstname, ' ', tblclients.lastname, ' ',tblclients.companyname)")); and in the report of invoices to appear my company name but also the clients' names because we also have a company name on the page 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.