From: Steve K. <sk...@ro...> - 2004-11-23 12:00:26
|
I've created a new file called PagingFunctions in the includes directory = with 2 functions called PagingTest and PagingDisplay. PagingTest - checks if the page offset should be reset to 1 and sets if = necessary. PagingDisplay - Displays the paging dropdown, Go, Next, Previous when = called. It passes a result set (e.g. $result) so it can count how many = records were returned in order to know how many pages to list. So, to use an include needs to be near the top. i.e. = include('includes/PagingFunctions.php'); Near the top call PagingTest and then later when wanting to display = paging call PagingDisplay. PagingTest must be called near the top = because the posted PageOffset may need resetting before it is used in = the code to seek to the starting record to display. i.e. The file = calling PagingFunctions uses the posted PageOffset to move to the first = record to display. While the paging can be displayed it doesn't = actually do anything until that PageOffset is used! This should make it easier to put paging into the rest of the areas as = well. I'll be working on that. I'll give to Phil once the lockdown for cleaning up Multilanguage is = complete... Steve |
From: skaill <sk...@ro...> - 2004-08-22 18:09:59
|
Hi all, I have created paging in my version of webERP for when there are more = records from a search than you would want to display on a single page. = There is a new variable called $DisplayRecordsMax in config that says = the maximum number of records per page and a drop-down allows the = selection of the page. It can be seen at http://weberp.gocom.ca/weberpcvstest. Click on Select = Customer then type "a" to search for all customers with an "a". There = are 9 "a" records so it puts them into 2 pages since right now to test I = have the $DisplayRecordsMax set at 5. Would this be good to have in the base webERP version? If so, I will do similar code for other areas that have searches/lists = such as Select Item and Select Supplier and send Phil to put into the = cvs. In the searches I'm thinking it would be nice to have Begins With and = Contains Within radio buttons as well. Steve |
From: Stins, D. <DR...@Zi...> - 2004-08-22 18:39:14
|
Steve,=20 This is excellent, but every user should be able to tell how many = records he would like to see per page. I like 100 records per pages, = because that prevents clicking lot's of buttons so it prevents rsi. Some other suggestions: - next page button - previous page button - May be a next and previous record button too and able to scroll with = cursor up and down. With best regards, Dick Stins ----- Original Message -----=20 From: skaill=20 To: web...@li...=20 Sent: Sunday, August 22, 2004 8:10 PM Subject: [Web-erp-developers] Paging Hi all, I have created paging in my version of webERP for when there are more = records from a search than you would want to display on a single page. = There is a new variable called $DisplayRecordsMax in config that says = the maximum number of records per page and a drop-down allows the = selection of the page. It can be seen at http://weberp.gocom.ca/weberpcvstest. Click on = Select Customer then type "a" to search for all customers with an "a". = There are 9 "a" records so it puts them into 2 pages since right now to = test I have the $DisplayRecordsMax set at 5. Would this be good to have in the base webERP version? If so, I will do similar code for other areas that have searches/lists = such as Select Item and Select Supplier and send Phil to put into the = cvs. In the searches I'm thinking it would be nice to have Begins With and = Contains Within radio buttons as well. Steve |
From: skaill <sk...@ro...> - 2004-08-22 19:04:57
|
I totally agree. Sometime soon I would like to add a user preferences = area and have the setting in there. It would be loaded and stay in = their session variable. There should be a default of 100 the user gets = when they are created. Will put in next and previous. Not sure what you mean by third point = since it sounds like second point and also don't understand about = scroll. There is a list of pages that will scroll when need be. Steve ----- Original Message -----=20 From: Stins, Dick=20 To: web...@li...=20 Sent: Sunday, August 22, 2004 2:43 PM Subject: Re: [Web-erp-developers] Paging Steve,=20 This is excellent, but every user should be able to tell how many = records he would like to see per page. I like 100 records per pages, = because that prevents clicking lot's of buttons so it prevents rsi. Some other suggestions: - next page button - previous page button - May be a next and previous record button too and able to scroll = with cursor up and down. With best regards, Dick Stins ----- Original Message -----=20 From: skaill=20 To: web...@li...=20 Sent: Sunday, August 22, 2004 8:10 PM Subject: [Web-erp-developers] Paging Hi all, I have created paging in my version of webERP for when there are = more records from a search than you would want to display on a single = page. There is a new variable called $DisplayRecordsMax in config that = says the maximum number of records per page and a drop-down allows the = selection of the page. It can be seen at http://weberp.gocom.ca/weberpcvstest. Click on = Select Customer then type "a" to search for all customers with an "a". = There are 9 "a" records so it puts them into 2 pages since right now to = test I have the $DisplayRecordsMax set at 5. Would this be good to have in the base webERP version? If so, I will do similar code for other areas that have = searches/lists such as Select Item and Select Supplier and send Phil to = put into the cvs. In the searches I'm thinking it would be nice to have Begins With = and Contains Within radio buttons as well. Steve |
From: Stins, D. <DR...@Zi...> - 2004-08-22 19:34:40
|
forget the third point. That's too much for webpages. Dick ----- Original Message -----=20 From: skaill=20 To: web...@li...=20 Sent: Sunday, August 22, 2004 9:05 PM Subject: Re: [Web-erp-developers] Paging I totally agree. Sometime soon I would like to add a user preferences = area and have the setting in there. It would be loaded and stay in = their session variable. There should be a default of 100 the user gets = when they are created. Will put in next and previous. Not sure what you mean by third point = since it sounds like second point and also don't understand about = scroll. There is a list of pages that will scroll when need be. Steve ----- Original Message -----=20 From: Stins, Dick=20 To: web...@li...=20 Sent: Sunday, August 22, 2004 2:43 PM Subject: Re: [Web-erp-developers] Paging Steve,=20 This is excellent, but every user should be able to tell how many = records he would like to see per page. I like 100 records per pages, = because that prevents clicking lot's of buttons so it prevents rsi. Some other suggestions: - next page button - previous page button - May be a next and previous record button too and able to scroll = with cursor up and down. With best regards, Dick Stins ----- Original Message -----=20 From: skaill=20 To: web...@li...=20 Sent: Sunday, August 22, 2004 8:10 PM Subject: [Web-erp-developers] Paging Hi all, I have created paging in my version of webERP for when there are = more records from a search than you would want to display on a single = page. There is a new variable called $DisplayRecordsMax in config that = says the maximum number of records per page and a drop-down allows the = selection of the page. It can be seen at http://weberp.gocom.ca/weberpcvstest. Click on = Select Customer then type "a" to search for all customers with an "a". = There are 9 "a" records so it puts them into 2 pages since right now to = test I have the $DisplayRecordsMax set at 5. Would this be good to have in the base webERP version? If so, I will do similar code for other areas that have = searches/lists such as Select Item and Select Supplier and send Phil to = put into the cvs. In the searches I'm thinking it would be nice to have Begins With = and Contains Within radio buttons as well. Steve |
From: skaill <sk...@ro...> - 2004-08-22 19:16:17
|
Next and Previous are in there now. Steve ----- Original Message -----=20 From: Stins, Dick=20 To: web...@li...=20 Sent: Sunday, August 22, 2004 2:43 PM Subject: Re: [Web-erp-developers] Paging Steve,=20 This is excellent, but every user should be able to tell how many = records he would like to see per page. I like 100 records per pages, = because that prevents clicking lot's of buttons so it prevents rsi. Some other suggestions: - next page button - previous page button - May be a next and previous record button too and able to scroll = with cursor up and down. With best regards, Dick Stins ----- Original Message -----=20 From: skaill=20 To: web...@li...=20 Sent: Sunday, August 22, 2004 8:10 PM Subject: [Web-erp-developers] Paging Hi all, I have created paging in my version of webERP for when there are = more records from a search than you would want to display on a single = page. There is a new variable called $DisplayRecordsMax in config that = says the maximum number of records per page and a drop-down allows the = selection of the page. It can be seen at http://weberp.gocom.ca/weberpcvstest. Click on = Select Customer then type "a" to search for all customers with an "a". = There are 9 "a" records so it puts them into 2 pages since right now to = test I have the $DisplayRecordsMax set at 5. Would this be good to have in the base webERP version? If so, I will do similar code for other areas that have = searches/lists such as Select Item and Select Supplier and send Phil to = put into the cvs. In the searches I'm thinking it would be nice to have Begins With = and Contains Within radio buttons as well. Steve |
From: skaill <sk...@ro...> - 2004-08-22 19:31:49
|
I didn't read correctly first time but now understand the last point. = Problem is that I can't extract one record each 100 effectively as far = as I know. Steve ----- Original Message -----=20 From: Stins, Dick=20 To: web...@li...=20 Sent: Sunday, August 22, 2004 2:43 PM Subject: Re: [Web-erp-developers] Paging Steve,=20 This is excellent, but every user should be able to tell how many = records he would like to see per page. I like 100 records per pages, = because that prevents clicking lot's of buttons so it prevents rsi. Some other suggestions: - next page button - previous page button - May be a next and previous record button too and able to scroll = with cursor up and down. With best regards, Dick Stins ----- Original Message -----=20 From: skaill=20 To: web...@li...=20 Sent: Sunday, August 22, 2004 8:10 PM Subject: [Web-erp-developers] Paging Hi all, I have created paging in my version of webERP for when there are = more records from a search than you would want to display on a single = page. There is a new variable called $DisplayRecordsMax in config that = says the maximum number of records per page and a drop-down allows the = selection of the page. It can be seen at http://weberp.gocom.ca/weberpcvstest. Click on = Select Customer then type "a" to search for all customers with an "a". = There are 9 "a" records so it puts them into 2 pages since right now to = test I have the $DisplayRecordsMax set at 5. Would this be good to have in the base webERP version? If so, I will do similar code for other areas that have = searches/lists such as Select Item and Select Supplier and send Phil to = put into the cvs. In the searches I'm thinking it would be nice to have Begins With = and Contains Within radio buttons as well. Steve |
From: Daintrees <p.d...@pa...> - 2004-08-22 20:03:20
|
sounds good steve ----- Original Message -----=20 From: skaill=20 To: web...@li...=20 Sent: Monday, August 23, 2004 6:10 AM Subject: [Web-erp-developers] Paging Hi all, I have created paging in my version of webERP for when there are more = records from a search than you would want to display on a single page. = There is a new variable called $DisplayRecordsMax in config that says = the maximum number of records per page and a drop-down allows the = selection of the page. It can be seen at http://weberp.gocom.ca/weberpcvstest. Click on = Select Customer then type "a" to search for all customers with an "a". = There are 9 "a" records so it puts them into 2 pages since right now to = test I have the $DisplayRecordsMax set at 5. Would this be good to have in the base webERP version? If so, I will do similar code for other areas that have searches/lists = such as Select Item and Select Supplier and send Phil to put into the = cvs. In the searches I'm thinking it would be nice to have Begins With and = Contains Within radio buttons as well. Steve |
From: skaill <sk...@ro...> - 2004-08-22 21:27:48
|
Ok, will do in other search/list places too. Any chance you could list = all scripts that produce lists other than SelectCustomer, SelectProduct = and SelectSupplier? Steve ----- Original Message -----=20 From: Daintrees=20 To: web...@li...=20 Sent: Sunday, August 22, 2004 4:05 PM Subject: Re: [Web-erp-developers] Paging sounds good steve ----- Original Message -----=20 From: skaill=20 To: web...@li...=20 Sent: Monday, August 23, 2004 6:10 AM Subject: [Web-erp-developers] Paging Hi all, I have created paging in my version of webERP for when there are = more records from a search than you would want to display on a single = page. There is a new variable called $DisplayRecordsMax in config that = says the maximum number of records per page and a drop-down allows the = selection of the page. It can be seen at http://weberp.gocom.ca/weberpcvstest. Click on = Select Customer then type "a" to search for all customers with an "a". = There are 9 "a" records so it puts them into 2 pages since right now to = test I have the $DisplayRecordsMax set at 5. Would this be good to have in the base webERP version? If so, I will do similar code for other areas that have = searches/lists such as Select Item and Select Supplier and send Phil to = put into the cvs. In the searches I'm thinking it would be nice to have Begins With = and Contains Within radio buttons as well. Steve |
From: Phil D. <p.d...@pa...> - 2004-08-23 07:44:50
|
Steve, There is actually a variable in config.php called $Maximum_Number_Of_Parts_To_Show = 100; Perhaps we should change this variable to something more generic to cover customers, items, suppliers et al. Scripts that potentially list a pile of data are: Areas.php - expect only a limited number really BOMInquiry.php BankMatching.php - already has an option to allow a limited number of tranactions BankReconciliation.php - could be piles of outstanding unmatched transactions COGSGLPostings.php Currencies.php - should only be few but could be heaps. CustomerAllocations.php CustomerBranches.php CustomerTransInquiry.php DiscountCategories.php DiscountMatrix.php FreightCosts.php GLAccountInquiry.php GLAccounts.php GLTrialBalance.php PO_SelectOSPurchOrder.php PO_SelectPurchOrder.php PaymentTerms.php PeriodsInquiry.php Prices.php SalesAnalRepts.php SalesGLPostings.php SalesPeople.php SalesTypes.php SelectCompletedOrder.php SelectCustomer.php SelectGLAccount.php SelectOrderItems.php SelectProduct.php SelectSalesOrder.php SelectSupplier.php Shipments.php Shippers.php Shipt_Select.php ShiptsList.php StockCategories.php StockLocMovements.php StockLocStatus.php StockLocTransfer.php StockLocTransferReceive.php StockMovements.php - already has movements since SupplierAllocations.php SupplierContacts.php SupplierInquiry.php TaxAuthorities.php - should only be a few TaxAuthorityRates.php WWW_Users.php WhereUsedInquiry.php Is it worth considering a little javascript function to put the focus in the first form field while going through all these scripts? perhaps this might be a function to put in header.inc Phil On Mon, 2004-08-23 at 06:10, skaill wrote: > Hi all, > > I have created paging in my version of webERP for when there are more > records from a search than you would want to display on a single > page. There is a new variable called $DisplayRecordsMax in config > that says the maximum number of records per page and a drop-down > allows the selection of the page. > > It can be seen at http://weberp.gocom.ca/weberpcvstest. Click on > Select Customer then type "a" to search for all customers with an > "a". There are 9 "a" records so it puts them into 2 pages since right > now to test I have the $DisplayRecordsMax set at 5. > > Would this be good to have in the base webERP version? > > If so, I will do similar code for other areas that have searches/lists > such as Select Item and Select Supplier and send Phil to put into the > cvs. > > In the searches I'm thinking it would be nice to have Begins With and > Contains Within radio buttons as well. > > Steve |
From: skaill <sk...@ro...> - 2004-08-23 10:06:47
|
Comments within... ----- Original Message ----- From: "Phil Daintree" <p.d...@pa...> To: <web...@li...> Sent: Monday, August 23, 2004 3:46 PM Subject: Re: [Web-erp-developers] Paging > Steve, > > There is actually a variable in config.php called > > $Maximum_Number_Of_Parts_To_Show = 100; > > Perhaps we should change this variable to something more generic to > cover customers, items, suppliers et al. > Sounds good. > Scripts that potentially list a pile of data are: > > Areas.php - expect only a limited number really > BOMInquiry.php > BankMatching.php - already has an option to allow a limited number of > tranactions > BankReconciliation.php - could be piles of outstanding unmatched > transactions > COGSGLPostings.php > Currencies.php - should only be few but could be heaps. > CustomerAllocations.php > CustomerBranches.php > CustomerTransInquiry.php > DiscountCategories.php > DiscountMatrix.php > FreightCosts.php > GLAccountInquiry.php > GLAccounts.php > GLTrialBalance.php > PO_SelectOSPurchOrder.php > PO_SelectPurchOrder.php > PaymentTerms.php > PeriodsInquiry.php > Prices.php > SalesAnalRepts.php > SalesGLPostings.php > SalesPeople.php > SalesTypes.php > SelectCompletedOrder.php > SelectCustomer.php > SelectGLAccount.php > SelectOrderItems.php > SelectProduct.php > SelectSalesOrder.php > SelectSupplier.php > Shipments.php > Shippers.php > Shipt_Select.php > ShiptsList.php > StockCategories.php > StockLocMovements.php > StockLocStatus.php > StockLocTransfer.php > StockLocTransferReceive.php > StockMovements.php - already has movements since > SupplierAllocations.php > SupplierContacts.php > SupplierInquiry.php > TaxAuthorities.php - should only be a few > TaxAuthorityRates.php > WWW_Users.php > WhereUsedInquiry.php Yikes! I didn't know there were that many. Many of those are support tables such as PaymentTerms and are unlikely to be lengthy. Anyway, I'll plug away on the most significant first. If you want to suggest an order of significance, Phil, it would help. Otherwise I'll guess an order but I bet you know better. BankReconcilliation is probably high on the list I figure. > > Is it worth considering a little javascript function to put the focus in > the first form field while going through all these scripts? perhaps this > might be a function to put in header.inc I'm thinking it would reduce compatibility unless all the Javascript were optional. If we do go that route then it would probably be wise to have a selection in a user preferences area where the user could select whether to activate all those little Javascript bits or not. > > Phil > > On Mon, 2004-08-23 at 06:10, skaill wrote: > > Hi all, > > > > I have created paging in my version of webERP for when there are more > > records from a search than you would want to display on a single > > page. There is a new variable called $DisplayRecordsMax in config > > that says the maximum number of records per page and a drop-down > > allows the selection of the page. > > > > It can be seen at http://weberp.gocom.ca/weberpcvstest. Click on > > Select Customer then type "a" to search for all customers with an > > "a". There are 9 "a" records so it puts them into 2 pages since right > > now to test I have the $DisplayRecordsMax set at 5. > > > > Would this be good to have in the base webERP version? > > > > If so, I will do similar code for other areas that have searches/lists > > such as Select Item and Select Supplier and send Phil to put into the > > cvs. > > > > In the searches I'm thinking it would be nice to have Begins With and > > Contains Within radio buttons as well. > > > > Steve > > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Web-erp-developers mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/web-erp-developers |
From: Phil D. <p.d...@pa...> - 2004-08-26 08:05:38
|
> > > > Is it worth considering a little javascript function to put the focus in > > the first form field while going through all these scripts? perhaps this > > might be a function to put in header.inc > > I'm thinking it would reduce compatibility unless all the Javascript were > optional. If we do go that route then it would probably be wise to have a > selection in a user preferences area where the user could select whether to > activate all those little Javascript bits or not. > > > Well, just putting the focus in the starting field is not the end of the world if it doesn't work and there is no PHP way of doing it (to my knowledge - I did muck about with tabindex) but it would be good. Phil |
From: skaill <sk...@ro...> - 2004-08-26 23:37:04
|
You're right, Phil. I'm not sure what I was thinking. Was that message late at night?! Steve ----- Original Message ----- From: "Phil Daintree" <p.d...@pa...> To: <web...@li...> Sent: Thursday, August 26, 2004 4:07 PM Subject: Re: [Web-erp-developers] Paging > > > > > > > Is it worth considering a little javascript function to put the focus in > > > the first form field while going through all these scripts? perhaps this > > > might be a function to put in header.inc > > > > I'm thinking it would reduce compatibility unless all the Javascript were > > optional. If we do go that route then it would probably be wise to have a > > selection in a user preferences area where the user could select whether to > > activate all those little Javascript bits or not. > > > > > > > Well, just putting the focus in the starting field is not the end of the > world if it doesn't work and there is no PHP way of doing it (to my > knowledge - I did muck about with tabindex) but it would be good. > > Phil > > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Web-erp-developers mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/web-erp-developers |
From: skaill <sk...@ro...> - 2004-08-27 08:30:50
|
I guess I did kind of change it without knowing to $DisplayRecordsMax. I'm going to be working on paging the rest of that list of scripts! Wish it was shorter but if it was then webERP would not have so much functionality!!! Steve ----- Original Message ----- From: "skaill" <sk...@ro...> To: <web...@li...> Sent: Monday, August 23, 2004 6:07 AM Subject: Re: [Web-erp-developers] Paging > Comments within... > > ----- Original Message ----- > From: "Phil Daintree" <p.d...@pa...> > To: <web...@li...> > Sent: Monday, August 23, 2004 3:46 PM > Subject: Re: [Web-erp-developers] Paging > > > > Steve, > > > > There is actually a variable in config.php called > > > > $Maximum_Number_Of_Parts_To_Show = 100; > > > > Perhaps we should change this variable to something more generic to > > cover customers, items, suppliers et al. > > > > Sounds good. > > > Scripts that potentially list a pile of data are: > > > > Areas.php - expect only a limited number really > > BOMInquiry.php > > BankMatching.php - already has an option to allow a limited number of > > tranactions > > BankReconciliation.php - could be piles of outstanding unmatched > > transactions > > COGSGLPostings.php > > Currencies.php - should only be few but could be heaps. > > CustomerAllocations.php > > CustomerBranches.php > > CustomerTransInquiry.php > > DiscountCategories.php > > DiscountMatrix.php > > FreightCosts.php > > GLAccountInquiry.php > > GLAccounts.php > > GLTrialBalance.php > > PO_SelectOSPurchOrder.php > > PO_SelectPurchOrder.php > > PaymentTerms.php > > PeriodsInquiry.php > > Prices.php > > SalesAnalRepts.php > > SalesGLPostings.php > > SalesPeople.php > > SalesTypes.php > > SelectCompletedOrder.php > > SelectCustomer.php > > SelectGLAccount.php > > SelectOrderItems.php > > SelectProduct.php > > SelectSalesOrder.php > > SelectSupplier.php > > Shipments.php > > Shippers.php > > Shipt_Select.php > > ShiptsList.php > > StockCategories.php > > StockLocMovements.php > > StockLocStatus.php > > StockLocTransfer.php > > StockLocTransferReceive.php > > StockMovements.php - already has movements since > > SupplierAllocations.php > > SupplierContacts.php > > SupplierInquiry.php > > TaxAuthorities.php - should only be a few > > TaxAuthorityRates.php > > WWW_Users.php > > WhereUsedInquiry.php > > Yikes! I didn't know there were that many. Many of those are support > tables such as PaymentTerms and are unlikely to be lengthy. Anyway, I'll > plug away on the most significant first. If you want to suggest an order of > significance, Phil, it would help. Otherwise I'll guess an order but I bet > you know better. BankReconcilliation is probably high on the list I figure. > > > > > Is it worth considering a little javascript function to put the focus in > > the first form field while going through all these scripts? perhaps this > > might be a function to put in header.inc > > I'm thinking it would reduce compatibility unless all the Javascript were > optional. If we do go that route then it would probably be wise to have a > selection in a user preferences area where the user could select whether to > activate all those little Javascript bits or not. > > > > > Phil > > > > On Mon, 2004-08-23 at 06:10, skaill wrote: > > > Hi all, > > > > > > I have created paging in my version of webERP for when there are more > > > records from a search than you would want to display on a single > > > page. There is a new variable called $DisplayRecordsMax in config > > > that says the maximum number of records per page and a drop-down > > > allows the selection of the page. > > > > > > It can be seen at http://weberp.gocom.ca/weberpcvstest. Click on > > > Select Customer then type "a" to search for all customers with an > > > "a". There are 9 "a" records so it puts them into 2 pages since right > > > now to test I have the $DisplayRecordsMax set at 5. > > > > > > Would this be good to have in the base webERP version? > > > > > > If so, I will do similar code for other areas that have searches/lists > > > such as Select Item and Select Supplier and send Phil to put into the > > > cvs. > > > > > > In the searches I'm thinking it would be nice to have Begins With and > > > Contains Within radio buttons as well. > > > > > > Steve > > > > > > > > ------------------------------------------------------- > > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > > _______________________________________________ > > Web-erp-developers mailing list > > Web...@li... > > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Web-erp-developers mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/web-erp-developers |
From: Daintrees <p.d...@pa...> - 2004-08-27 08:53:07
|
You're right though some scripts are more likely to have longer lists. I have pared the list down a little. > > > BOMInquiry.php > > > BankReconciliation.php - could be piles of outstanding unmatched > > > transactions > > > CustomerAllocations.php > > > CustomerBranches.php - unlikely to be more than 100 - we have some though! > > > CustomerTransInquiry.php > > > DiscountMatrix.php - not sure about this one. > > > FreightCosts.php > > > GLAccountInquiry.php - can be huge! > > > PO_SelectOSPurchOrder.php > > > PO_SelectPurchOrder.php > > > SalesAnalRepts.php - will be substantial > > > SelectCompletedOrder.php > > > SelectCustomer.php > > > SelectGLAccount.php > > > SelectProduct.php > > > SelectSalesOrder.php > > > SelectSupplier.php > > > Shipments.php > > > Shipt_Select.php > > > ShiptsList.php > > > StockLocMovements.php > > > StockLocStatus.php > > > StockLocTransfer.php > > > StockLocTransferReceive.php > > > StockMovements.php - already has movements since > > > SupplierAllocations.php > > > SupplierInquiry.php > > > WWW_Users.php - I guess it will normally be used with less than 100 users? I think the multi-language stuff will work so I'll get into modifying a few scripts for multi language - not on the list above. Phil ----- Original Message ----- From: "skaill" <sk...@ro...> To: <web...@li...> Sent: Friday, August 27, 2004 8:31 PM Subject: Re: [Web-erp-developers] Paging > I guess I did kind of change it without knowing to $DisplayRecordsMax. > > I'm going to be working on paging the rest of that list of scripts! Wish it > was shorter but if it was then webERP would not have so much > functionality!!! > > Steve > > ----- Original Message ----- > From: "skaill" <sk...@ro...> > To: <web...@li...> > Sent: Monday, August 23, 2004 6:07 AM > Subject: Re: [Web-erp-developers] Paging > > > > Comments within... > > > > ----- Original Message ----- > > From: "Phil Daintree" <p.d...@pa...> > > To: <web...@li...> > > Sent: Monday, August 23, 2004 3:46 PM > > Subject: Re: [Web-erp-developers] Paging > > > > > > > Steve, > > > > > > There is actually a variable in config.php called > > > > > > $Maximum_Number_Of_Parts_To_Show = 100; > > > > > > Perhaps we should change this variable to something more generic to > > > cover customers, items, suppliers et al. > > > > > > > Sounds good. > > > > > Scripts that potentially list a pile of data are: > > > > > > Areas.php - expect only a limited number really > > > BOMInquiry.php > > > BankMatching.php - already has an option to allow a limited number of > > > tranactions > > > BankReconciliation.php - could be piles of outstanding unmatched > > > transactions > > > COGSGLPostings.php > > > Currencies.php - should only be few but could be heaps. > > > CustomerAllocations.php > > > CustomerBranches.php > > > CustomerTransInquiry.php > > > DiscountCategories.php > > > DiscountMatrix.php > > > FreightCosts.php > > > GLAccountInquiry.php > > > GLAccounts.php > > > GLTrialBalance.php > > > PO_SelectOSPurchOrder.php > > > PO_SelectPurchOrder.php > > > PaymentTerms.php > > > PeriodsInquiry.php > > > Prices.php > > > SalesAnalRepts.php > > > SalesGLPostings.php > > > SalesPeople.php > > > SalesTypes.php > > > SelectCompletedOrder.php > > > SelectCustomer.php > > > SelectGLAccount.php > > > SelectOrderItems.php > > > SelectProduct.php > > > SelectSalesOrder.php > > > SelectSupplier.php > > > Shipments.php > > > Shippers.php > > > Shipt_Select.php > > > ShiptsList.php > > > StockCategories.php > > > StockLocMovements.php > > > StockLocStatus.php > > > StockLocTransfer.php > > > StockLocTransferReceive.php > > > StockMovements.php - already has movements since > > > SupplierAllocations.php > > > SupplierContacts.php > > > SupplierInquiry.php > > > TaxAuthorities.php - should only be a few > > > TaxAuthorityRates.php > > > WWW_Users.php > > > WhereUsedInquiry.php > > > > Yikes! I didn't know there were that many. Many of those are support > > tables such as PaymentTerms and are unlikely to be lengthy. Anyway, I'll > > plug away on the most significant first. If you want to suggest an order > of > > significance, Phil, it would help. Otherwise I'll guess an order but I > bet > > you know better. BankReconcilliation is probably high on the list I > figure. > > > > > > > > Is it worth considering a little javascript function to put the focus in > > > the first form field while going through all these scripts? perhaps this > > > might be a function to put in header.inc > > > > I'm thinking it would reduce compatibility unless all the Javascript were > > optional. If we do go that route then it would probably be wise to have a > > selection in a user preferences area where the user could select whether > to > > activate all those little Javascript bits or not. > > > > > > > > Phil > > > > > > On Mon, 2004-08-23 at 06:10, skaill wrote: > > > > Hi all, > > > > > > > > I have created paging in my version of webERP for when there are more > > > > records from a search than you would want to display on a single > > > > page. There is a new variable called $DisplayRecordsMax in config > > > > that says the maximum number of records per page and a drop-down > > > > allows the selection of the page. > > > > > > > > It can be seen at http://weberp.gocom.ca/weberpcvstest. Click on > > > > Select Customer then type "a" to search for all customers with an > > > > "a". There are 9 "a" records so it puts them into 2 pages since right > > > > now to test I have the $DisplayRecordsMax set at 5. > > > > > > > > Would this be good to have in the base webERP version? > > > > > > > > If so, I will do similar code for other areas that have searches/lists > > > > such as Select Item and Select Supplier and send Phil to put into the > > > > cvs. > > > > > > > > In the searches I'm thinking it would be nice to have Begins With and > > > > Contains Within radio buttons as well. > > > > > > > > Steve > > > > > > > > > > > > ------------------------------------------------------- > > > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > > > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > > > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > > > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > > > _______________________________________________ > > > Web-erp-developers mailing list > > > Web...@li... > > > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > > > > > > > > ------------------------------------------------------- > > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > > _______________________________________________ > > Web-erp-developers mailing list > > Web...@li... > > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Web-erp-developers mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > |
From: david l. <dav...@ya...> - 2004-11-25 02:33:53
|
if we have 2 discount breack: 1. Qty > 5 discount 2% 2. Qty > 10 discount 3% if i input item in selectOrderItems.php quantity = 11 discount = 3% then i change the quantity to 6 click "Recalculate" the discount should be 2%.but.... i think the "Run through each line of the order and work out the appropriate discount from the discount matrix." only update discount where preview discount < now discount. it's true for 2 or more items belong to one discount catalog. but when we change the quantity the behavior maybe is wrong. _________________________________________________________ Do You Yahoo!? 150万曲MP3疯狂搜,带您闯入音乐殿堂 http://music.yisou.com/ 美女明星应有尽有,搜遍美图、艳图和酷图 http://image.yisou.com 1G就是1000兆,雅虎电邮自助扩容! http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1g/ |
From: david l. <dav...@ya...> - 2004-11-26 03:53:24
|
FPDF can create multi-byte pdf file. like chinese ,japanese, Korean. http://www.fpdf.org/ and i have try it.it works well. _________________________________________________________ Do You Yahoo!? 150万曲MP3疯狂搜,带您闯入音乐殿堂 http://music.yisou.com/ 美女明星应有尽有,搜遍美图、艳图和酷图 http://image.yisou.com 1G就是1000兆,雅虎电邮自助扩容! http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1g/ |
From: Daintrees <p.d...@pa...> - 2004-11-26 04:29:39
|
Would appreciate any scripts you may have. Phil ----- Original Message -----=20 From: "david luo" <dav...@ya...> To: <web...@li...> Sent: Friday, November 26, 2004 4:53 PM Subject: [WebERP-developers] multi-byte PDF > FPDF can create multi-byte pdf file. > like chinese ,japanese, Korean. > http://www.fpdf.org/ > and i have try it.it works well. > > _________________________________________________________ > Do You Yahoo!? > 150=E4=B8=87=E6=9B=B2MP3=E7=96=AF=E7=8B=82=E6=90=9C=EF=BC=8C=E5=B8=A6=E6= =82=A8=E9=97=AF=E5=85=A5=E9=9F=B3=E4=B9=90=E6=AE=BF=E5=A0=82 > http://music.yisou.com/ > =E7=BE=8E=E5=A5=B3=E6=98=8E=E6=98=9F=E5=BA=94=E6=9C=89=E5=B0=BD=E6=9C=89= =EF=BC=8C=E6=90=9C=E9=81=8D=E7=BE=8E=E5=9B=BE=E3=80=81=E8=89=B3=E5=9B=BE=E5= =92=8C=E9=85=B7=E5=9B=BE > http://image.yisou.com > 1G=E5=B0=B1=E6=98=AF1000=E5=85=86=EF=BC=8C=E9=9B=85=E8=99=8E=E7=94=B5=E9= =82=AE=E8=87=AA=E5=8A=A9=E6=89=A9=E5=AE=B9=EF=BC=81 > http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/m= ail_1g/ > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Web-erp-developers mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/web-erp-developers >=20 |
From: david l. <dav...@ya...> - 2004-11-26 07:15:34
|
i just take a try. if use it.the report module will be changed. maybe need wrap the old code. <?php define('FPDF_FONTPATH','font/'); require('chinese.php'); $pdf=new PDF_Chinese(); $pdf->Open(); $pdf->AddPage(); $pdf->AddGBFont(); $pdf->SetFont('GB','',20); $pdf->Write(10,'你好'); $pdf->Write(20,'你好'); $pdf->Write(30,'你好'); $pdf->Output(); ?> --- Daintrees <p.d...@pa...> 的正文: > Would appreciate any scripts you may have. > > Phil > ----- Original Message ----- > From: "david luo" <dav...@ya...> > To: <web...@li...> > Sent: Friday, November 26, 2004 4:53 PM > Subject: [WebERP-developers] multi-byte PDF > > > > FPDF can create multi-byte pdf file. > > like chinese ,japanese, Korean. > > http://www.fpdf.org/ > > and i have try it.it works well. > > > > > _________________________________________________________ > > Do You Yahoo!? > > 150万曲MP3疯狂搜,带您闯入音乐殿堂 > > http://music.yisou.com/ > > 美女明星应有尽有,搜遍美图、艳图和酷图 > > http://image.yisou.com > > 1G就是1000兆,雅虎电邮自助扩容! > > > http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1g/ > > > > > > > ------------------------------------------------------- > > SF email is sponsored by - The IT Product Guide > > Read honest & candid reviews on hundreds of IT > Products from real users. > > Discover which products truly live up to the hype. > Start reading now. > > http://productguide.itmanagersjournal.com/ > > _______________________________________________ > > Web-erp-developers mailing list > > Web...@li... > > > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > > > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT > Products from real users. > Discover which products truly live up to the hype. > Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Web-erp-developers mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > _________________________________________________________ Do You Yahoo!? 150万曲MP3疯狂搜,带您闯入音乐殿堂 http://music.yisou.com/ 美女明星应有尽有,搜遍美图、艳图和酷图 http://image.yisou.com 1G就是1000兆,雅虎电邮自助扩容! http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1g/ |
From: david l. <dav...@ya...> - 2004-11-29 02:37:39
Attachments:
web-erp.rar
chinese.jpg
|
attachment is all fpdf files. testd.php is test page. and attached photo is the test output. --- Daintrees <p.d...@pa...> 的正文: > Would appreciate any scripts you may have. > > Phil > ----- Original Message ----- > From: "david luo" <dav...@ya...> > To: <web...@li...> > Sent: Friday, November 26, 2004 4:53 PM > Subject: [WebERP-developers] multi-byte PDF > > > > FPDF can create multi-byte pdf file. > > like chinese ,japanese, Korean. > > http://www.fpdf.org/ > > and i have try it.it works well. > > > > > _________________________________________________________ > > Do You Yahoo!? > > 150万曲MP3疯狂搜,带您闯入音乐殿堂 > > http://music.yisou.com/ > > 美女明星应有尽有,搜遍美图、艳图和酷图 > > http://image.yisou.com > > 1G就是1000兆,雅虎电邮自助扩容! > > > http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1g/ > > > > > > > ------------------------------------------------------- > > SF email is sponsored by - The IT Product Guide > > Read honest & candid reviews on hundreds of IT > Products from real users. > > Discover which products truly live up to the hype. > Start reading now. > > http://productguide.itmanagersjournal.com/ > > _______________________________________________ > > Web-erp-developers mailing list > > Web...@li... > > > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > > > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT > Products from real users. > Discover which products truly live up to the hype. > Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Web-erp-developers mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > _________________________________________________________ Do You Yahoo!? 150万曲MP3疯狂搜,带您闯入音乐殿堂 http://music.yisou.com/ 美女明星应有尽有,搜遍美图、艳图和酷图 http://image.yisou.com 1G就是1000兆,雅虎电邮自助扩容! http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1g/ |