POS Reports

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

POS Reports

Evangelina Bowman
Our client is looking into creating daily reports from POS with Total Sales by tender types (check, credit card, cash) and by product.
Has anyone used POS to create reports such as these?

Evangelina
Reply | Threaded
Open this post in threaded view
|

Conditional rendering of a screenlet

SkipDever
I have the need to conditionally display part of a screen.  For example, one
class of user would see the sales data, another class the financial, and an
administrator both.

This is using standard widget stuff like this:

  <section>
     <actions>
...
     </actions>
     <widgets>
       <decorator-screen ...">
          <decorator-section name="section-body">
             <container style="screenlet"> <!-- Displays financial data -->
...
                <container style="screenlet-body">
...
                </container>
             </container>
             <container style="screenlet"> <!-- Displays sales data -->
                <container style="screenlet-header">
                    <label .../>
                </container>
                <container style="screenlet-body"> <!-- Displays history
data -->
....
                </container>
             </container>
...

What I would like is some conditional logic like in <if-compare> or
<if-not-empty> found in simple methods.

Is there such a clause to add to the container tag to ignore it (not render
it) or some condition or an alternate method of supressing the display of
part of the screen?

Thanks

Skip

Reply | Threaded
Open this post in threaded view
|

Re: Conditional rendering of a screenlet

Scott Gray
Hi Skip

Run a search for "<condition>" on *Screens.xml and you should find plenty of
examples.

Regards
Scott

On 19/11/2007, skip@thedevers <[hidden email]> wrote:

>
> I have the need to conditionally display part of a screen.  For example,
> one
> class of user would see the sales data, another class the financial, and
> an
> administrator both.
>
> This is using standard widget stuff like this:
>
>   <section>
>      <actions>
> ...
>      </actions>
>      <widgets>
>        <decorator-screen ...">
>           <decorator-section name="section-body">
>              <container style="screenlet"> <!-- Displays financial data
> -->
> ...
>                 <container style="screenlet-body">
> ...
>                 </container>
>              </container>
>              <container style="screenlet"> <!-- Displays sales data -->
>                 <container style="screenlet-header">
>                     <label .../>
>                 </container>
>                 <container style="screenlet-body"> <!-- Displays history
> data -->
> ....
>                 </container>
>              </container>
> ...
>
> What I would like is some conditional logic like in <if-compare> or
> <if-not-empty> found in simple methods.
>
> Is there such a clause to add to the container tag to ignore it (not
> render
> it) or some condition or an alternate method of supressing the display of
> part of the screen?
>
> Thanks
>
> Skip
>
>
Reply | Threaded
Open this post in threaded view
|

RE: Conditional rendering of a screenlet

SkipDever
Whoa, thanks scott, 707 examples!  Don't know how I missed all those!

Skip

-----Original Message-----
From: Scott Gray [mailto:[hidden email]]
Sent: Sunday, November 18, 2007 11:14 PM
To: [hidden email]
Subject: Re: Conditional rendering of a screenlet


Hi Skip

Run a search for "<condition>" on *Screens.xml and you should find plenty of
examples.

Regards
Scott

On 19/11/2007, skip@thedevers <[hidden email]> wrote:

>
> I have the need to conditionally display part of a screen.  For example,
> one
> class of user would see the sales data, another class the financial, and
> an
> administrator both.
>
> This is using standard widget stuff like this:
>
>   <section>
>      <actions>
> ...
>      </actions>
>      <widgets>
>        <decorator-screen ...">
>           <decorator-section name="section-body">
>              <container style="screenlet"> <!-- Displays financial data
> -->
> ...
>                 <container style="screenlet-body">
> ...
>                 </container>
>              </container>
>              <container style="screenlet"> <!-- Displays sales data -->
>                 <container style="screenlet-header">
>                     <label .../>
>                 </container>
>                 <container style="screenlet-body"> <!-- Displays history
> data -->
> ....
>                 </container>
>              </container>
> ...
>
> What I would like is some conditional logic like in <if-compare> or
> <if-not-empty> found in simple methods.
>
> Is there such a clause to add to the container tag to ignore it (not
> render
> it) or some condition or an alternate method of supressing the display of
> part of the screen?
>
> Thanks
>
> Skip
>
>

Reply | Threaded
Open this post in threaded view
|

RE: POS Reports

Christopher L
In reply to this post by Evangelina Bowman

https://issues.apache.org/jira/browse/OFBIZ-235

Not yet.  It wouldn't take but a small to moderate effort, IMHO.

Chris

> Date: Sun, 18 Nov 2007 21:24:51 -0800
> From: [hidden email]
> To: [hidden email]
> Subject: POS Reports
>
>
> Our client is looking into creating daily reports from POS with Total Sales
> by tender types (check, credit card, cash) and by product.
> Has anyone used POS to create reports such as these?
>
> Evangelina
> --
> View this message in context: http://www.nabble.com/POS-Reports-tf4833406.html#a13828017
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
Reply | Threaded
Open this post in threaded view
|

RE: POS Reports

Christopher L
In reply to this post by Evangelina Bowman

Oops.  Actually, there is a Report function in the Pos.  Check totals.txt under specialpurpose/pos/config and Receipt.java under specialpurpose/pos/.../device/impl.

Chris

> Date: Sun, 18 Nov 2007 21:24:51 -0800
> From: [hidden email]
> To: [hidden email]
> Subject: POS Reports
>
>
> Our client is looking into creating daily reports from POS with Total Sales
> by tender types (check, credit card, cash) and by product.
> Has anyone used POS to create reports such as these?
>
> Evangelina
> --
> View this message in context: http://www.nabble.com/POS-Reports-tf4833406.html#a13828017
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>