Register    Login    Forum    Search    FAQ

Board index » General Usage » Receivables




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: pos amount field
 Post Posted: Fri May 06, 2011 2:11 pm 
Offline

Joined: Mon Nov 09, 2009 1:18 pm
Posts: 296
hi is there a way to open the amount field in the pos module sometimes we give a line discount and theres no way to change the price ..the idea way to do this is to have it set in uses where you can give authority for price change .. but for now is there a way to open the field so that i can put a price in..


Top 
 Profile  
 
 Post subject: Re: pos amount field
 Post Posted: Thu May 12, 2011 4:35 pm 
Offline

Joined: Fri Oct 26, 2007 3:55 pm
Posts: 3499
Location: Colorado, US
File: /modules/phreepos/pages/main/js_include.php
Line 450

remove the readonly="readonly" from the input field and the field should be editable.

Dave


Top 
 Profile  
 
 Post subject: Re: pos amount field
 Post Posted: Fri May 13, 2011 12:23 am 
Offline

Joined: Mon Nov 09, 2009 1:18 pm
Posts: 296
thankz dave but the unit is now editable but the amount doesnt change..


Top 
 Profile  
 
 Post subject: Re: pos amount field
 Post Posted: Mon May 16, 2011 10:23 am 
Offline

Joined: Mon Nov 09, 2009 1:18 pm
Posts: 296
hi any any news on this one on how to fix


Top 
 Profile  
 
 Post subject: Re: pos amount field
 Post Posted: Mon May 16, 2011 10:31 am 
Offline

Joined: Fri Oct 26, 2007 3:55 pm
Posts: 3499
Location: Colorado, US
Add this to the same line (i.e. replace readonly="readonly"):

onchange="updateRowTotal('+rowCnt+', false)"

Line 450 to read:
Code:
  cell  = '<td nowrap="nowrap" class="main" align="center"><input type="text" name="price_'+rowCnt+'" id="price_'+rowCnt+'" onchange="updateRowTotal('+rowCnt+', false)" size="10" maxlength="15" style="text-align:right" /></td>';
Dave


Top 
 Profile  
 
 Post subject: Re: pos amount field
 Post Posted: Tue May 17, 2011 12:36 pm 
Offline

Joined: Mon Nov 09, 2009 1:18 pm
Posts: 296
thankz dave its working


Top 
 Profile  
 
Display posts from previous:  Sort by  
 
Post new topic Reply to topic  [ 6 posts ] 

Board index » General Usage » Receivables


Who is online

Users browsing this forum: No registered users and 0 guests

 
 

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron