Quote's Invoices Lists...

This is a discussion on Quote's Invoices Lists... within the PHP Language forums, part of the PHP Programming Forums category; Hi, I need someone to bounce some ideas off. This is what I'm trying to do, I want to ...


Go Back   Usenet Forums > PHP Programming Forums > PHP Language

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-11-2004
James Smith
 
Posts: n/a
Default Quote's Invoices Lists...

Hi,

I need someone to bounce some ideas off.

This is what I'm trying to do, I want to be able to create a script that
will spit out a quote based on the information filled in.

The part I'm stuck on is. Entering all the items in.

Ok, say I have a form, it starts off where you put in all the details
(eg, who the quote is for address phone no etc.)

Then there will be a list of items to go onto the quote.

Now this is the part I'm stuck on. I'm thinking maybe something like an
add new item button that opens a new window and then you enter in the
details for each item.
This then adds each item to the quote. Each item that is entered can be
added directly to the database. So what I'm thinking maybe is a popup
window that you fill in the details for each item, you hit submit, and
then it goes back to the origional quote page, but now with the item
added to the list.

Maybe is there java script where you can open a new window and then
refresh the parent window when the child is closed? this would then have
the items listed.

Any ideas on how to make a list for something like this? The same would
apply to people who would make invoices receipts etc.

James.
Reply With Quote
  #2 (permalink)  
Old 08-11-2004
C.J. Garibay
 
Posts: n/a
Default Re: Quote's Invoices Lists...

James Smith wrote:
> Hi,
>
> I need someone to bounce some ideas off.
> [...]
>
> James.


James, it sounds like what you want is to make multiple updates to the
same page without having to reload the whole page each time. While you
can do this with a popup window and/or JavaScript, a better alternative
would be to set it up with a form that submits to an embedded Iframe.

This allows you to pseudo-dynamically update the page and avoids the
problems that come along with JavaScript. For the sake of usability,
it's best to design under the assumption that JavaScript is not
available (unless you're coding for a controlled corporate/intranet
environment).

C.J.
Reply With Quote
  #3 (permalink)  
Old 08-11-2004
C.J. Garibay
 
Posts: n/a
Default Re: Quote's Invoices Lists...

James Smith wrote:
> Hi,
>
> I need someone to bounce some ideas off.
> [...]
>
> James.


James, it sounds like what you want is to make multiple updates to the
same page without having to reload the whole page each time. While you
can do this with a popup window and/or JavaScript, a better alternative
would be to set it up with a form that submits to an embedded Iframe.

This allows you to pseudo-dynamically update the page and avoids the
problems that come along with JavaScript. For the sake of usability,
it's best to design under the assumption that JavaScript is not
available (unless you're coding for a controlled corporate/intranet
environment).

C.J.
Reply With Quote
  #4 (permalink)  
Old 08-11-2004
C.J. Garibay
 
Posts: n/a
Default Re: Quote's Invoices Lists...

James Smith wrote:
> Hi,
>
> I need someone to bounce some ideas off.
> [...]
>
> James.


James, it sounds like what you want is to make multiple updates to the
same page without having to reload the whole page each time. While you
can do this with a popup window and/or JavaScript, a better alternative
would be to set it up with a form that submits to an embedded Iframe.

This allows you to pseudo-dynamically update the page and avoids the
problems that come along with JavaScript. For the sake of usability,
it's best to design under the assumption that JavaScript is not
available (unless you're coding for a controlled corporate/intranet
environment).

C.J.
Reply With Quote
  #5 (permalink)  
Old 08-11-2004
C.J. Garibay
 
Posts: n/a
Default Re: Quote's Invoices Lists...

James Smith wrote:
> Hi,
>
> I need someone to bounce some ideas off.
> [...]
>
> James.


James, it sounds like what you want is to make multiple updates to the
same page without having to reload the whole page each time. While you
can do this with a popup window and/or JavaScript, a better alternative
would be to set it up with a form that submits to an embedded Iframe.

This allows you to pseudo-dynamically update the page and avoids the
problems that come along with JavaScript. For the sake of usability,
it's best to design under the assumption that JavaScript is not
available (unless you're coding for a controlled corporate/intranet
environment).

C.J.
Reply With Quote
  #6 (permalink)  
Old 08-11-2004
chotiwallah
 
Posts: n/a
Default Re: Quote's Invoices Lists...

James Smith <jncsmith@optusnet.com.au> wrote in message news:<41196996$0$30421$afc38c87@news.optusnet.com. au>...
> Hi,
>
> I need someone to bounce some ideas off.
>
> This is what I'm trying to do, I want to be able to create a script that
> will spit out a quote based on the information filled in.
>
> The part I'm stuck on is. Entering all the items in.
>
> Ok, say I have a form, it starts off where you put in all the details
> (eg, who the quote is for address phone no etc.)
>
> Then there will be a list of items to go onto the quote.
>
> Now this is the part I'm stuck on. I'm thinking maybe something like an
> add new item button that opens a new window and then you enter in the
> details for each item.
> This then adds each item to the quote. Each item that is entered can be
> added directly to the database. So what I'm thinking maybe is a popup
> window that you fill in the details for each item, you hit submit, and
> then it goes back to the origional quote page, but now with the item
> added to the list.
>
> Maybe is there java script where you can open a new window and then
> refresh the parent window when the child is closed? this would then have
> the items listed.
>
> Any ideas on how to make a list for something like this? The same would
> apply to people who would make invoices receipts etc.
>
> James.


this is actually a javascript problem, so i just give you a direction
here. as far as i understand you, you want put text in a form from a
popup. use "opener" to adress the parent window from the pop-up, so no
need to refresh.

micha
Reply With Quote
  #7 (permalink)  
Old 08-11-2004
Pieter Nobels
 
Posts: n/a
Default Re: Quote's Invoices Lists...

James Smith wrote:
> Now this is the part I'm stuck on. I'm thinking maybe something like an
> add new item button that opens a new window and then you enter in the
> details for each item.
> This then adds each item to the quote. Each item that is entered can be
> added directly to the database. So what I'm thinking maybe is a popup
> window that you fill in the details for each item, you hit submit, and
> then it goes back to the origional quote page, but now with the item
> added to the list.


> Any ideas on how to make a list for something like this? The same would
> apply to people who would make invoices receipts etc.


Let the user fill in the information one-by-one, and each time submit
the form. You save the results in a session and when the user clicks
Finish (instead of Next or something like that), you process the data in
the session.

--
Pieter Nobels
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 09:14 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0