nBill Community nBill Home Page
21/May/2012, 11:57:39 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Click Here for the nBill home page, or take a tour.  
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Select client/customer  (Read 503 times)
corine57
Jr. Member
**
Offline Offline

Posts: 38


View Profile
« on: 03/September/2010, 08:08:00 AM »

Hi,

I have a question. When creating an order through the backend, you have to fill in certain fields and one of them, of course, is the client/customer.

It is a drop-down list of client names.

At the moment, this starts with the name of the first client in the database. Is it possible, to make the default value of this field a: --Select client -- sort of text instead of the first client?

I think this should be easy to change somewhere?

we have joomla 1.0.15 and nbill 1.2_10

kind regards,

Corine
Logged
netshine
Administrator
Hero Member
*****
Offline Offline

Posts: 4,563


View Profile
« Reply #1 on: 03/September/2010, 09:06:45 AM »

At line 1185 of the file /administrator/components/com_netinvoice/admin.html/orders.html.php, where it says:

$client_list = array();

...you could insert a line AFTER that one, containing the following:

$client_list[] = @mosHTML::makeOption("", "--Select Client--");

P.S. Please be advised that support for version 1 of nBill will cease at the end of this year (see announcement).
Logged
corine57
Jr. Member
**
Offline Offline

Posts: 38


View Profile
« Reply #2 on: 22/October/2010, 09:47:19 AM »

sorry, I forgot to answer back,

thanks for this sql query, it works!

Corine
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!