Jump to content

As the name of complete client requests appear in the screen


Recommended Posts

you have to modify contorller: /controllers/admin/AdminOrdersController.php

CONCAT(LEFT(c.`firstname`, 1), \'. \', c.`lastname`) AS `customer`,

instead of LEFT(c.`firstname`, 1)

use just c.`firstname`

Link to comment
Share on other sites

I delete this entire line: 

 

                              CONCAT (LEFT (c. `firstname`, 1), \ '. \', C. `Lastname`) AS `customer`, 

 

and substituted by 

 

                               c. `firstname` 

 

is this? 

 

Thank you

Link to comment
Share on other sites

  • 4 weeks later...

Hi Vekia,

 

even with the code looking like this

CONCAT(LEFT(c.`firstname`), \'. \', c.`lastname`) AS `customer`,

It creates a bad sql error on the orders page in 1.6.0.8:

 

"Bad SQL query
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '), '. ', c.`lastname`) AS `customer`, osl.`name` AS `osname`, os.`color`, ' at line 6"

Edited by Mister Denial (see edit history)
Link to comment
Share on other sites

×
×
  • Create New...