Jump to content
  • 0

Company Name Instead Of Client #


10RUPTiV

Question

4 answers to this question

Recommended Posts

  • 0

Anyone have an idea on how to change the Client # in the listing, like under Billing / Invoices instead of the client # ?

 

It's much easier to know who have an invoice with a name instead of a # ;)

 

The [billing] -> [invoices] listing, as Ken mentioned, shows the client name when you hover over the Client #. If you want to sort by the client name, you can update /app/views/admin/default/admin_billing_invoices.pdt to either add a new column for the client's name, or replace the Client # column with the client name.

 

Each column only supports one field for sorting, so you would use either the client's first name (client_first_name) or client's last name (client_last_name) as the field to sort on. If you're familiar with HTML and PHP, it should be fairly straight-forward to add this in through the template.

Link to comment
Share on other sites

  • 0

Anyone have an idea on how to change the Client # in the listing, like under Billing / Invoices instead of the client # ?

 

It's much easier to know who have an invoice with a name instead of a # ;)

 

This can be done but I'm not sure off the top of my head and would have to look into it, but for whatever it's worth...

 

A client name doesn't equate to a client account.  I believe you can have multiple accounts with the same name.  Ideally the method I use when I went to find invoices for a client is to go to the actual client account and view them from there.  If I want to see an account name of a client under Billing / Invoices I can just mouseover and see a tooltip with the name of the client.  Furthermore the client ID is a bit more uniform in that column view since client names can easily take up a wider range of character spaces.

 

Sorry for not directly answering the question, I wanted to put that on the table incase you find it useful.

Link to comment
Share on other sites

  • 0

Tyson,

 

Can I do the same thing by modifying a pdt file to display a custom field in the left box under a client view to display one custom field all the time ?

 

If yes, which PDT file? ;)

 

If you're referring to the admin interface, I think you would want the /app/views/default/admin_clients_view.pdt template, however, I don't think custom fields are available to that template. You would need to update the AdminClients controller to make them available. Of course, making changes to core Blesta files will require you to back up the files you modified and merge your changes with any patches or updates to Blesta that you download in the future.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...