nBill Community nBill Home Page
23/May/2012, 12:13:23 AM *
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: File location for product lookup / sku lookup  (Read 219 times)
majeztic
Jr. Member
**
Offline Offline

Posts: 56


View Profile
« on: 23/January/2012, 03:49:12 PM »

Hi,

I am looking for the file that handles the popup window for products when you click on Lookup SKU in quotes and invoices.

I would like to change the window size.

Thanks in advance,

Mike
Logged
netshine
Administrator
Hero Member
*****
Offline Offline

Posts: 4,563


View Profile
« Reply #1 on: 23/January/2012, 05:34:32 PM »

/administrator/components/com_nbill/admin.html/invoices.html.php, around line 1687.
Logged
majeztic
Jr. Member
**
Offline Offline

Posts: 56


View Profile
« Reply #2 on: 23/January/2012, 10:21:46 PM »

Great!  Thank you so much for your excellent support...as always!
Logged
majeztic
Jr. Member
**
Offline Offline

Posts: 56


View Profile
« Reply #3 on: 24/January/2012, 05:16:43 AM »

One more question regarding the product popup window:

All of my products seem to be sorted alphabetically by name, is it possible to have the product list sorted numerically by SKU?

Thanks.
Logged
netshine
Administrator
Hero Member
*****
Offline Offline

Posts: 4,563


View Profile
« Reply #4 on: 24/January/2012, 11:32:08 AM »

The only way to do that would be to write some PHP code to re-order the array of products in the /administrator/components/com_nbill/admin.html/invoices.html.php file, around line 3537 (since the initial ordering is done by the database query which is stored in an encrypted file).
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!