Nats display hourly sales
From Tmmwiki
(Redirected from Display hourly sales)
nats_display_hourly_sales
Displays statistics about hourly sales.
Alias: display_hourly_sales
Contents |
Parameters
(Required parameters in bold)
| Parameter | Description | Possible Values | Default Value | Example |
|---|---|---|---|---|
| tpl | Template used to display output | Any valid template | The template, function_display_hourly_sales | tpl="my_template" |
| period | The period to get sale statistics for | Any valid period I.D. number | 0 | period="7" |
| no_form_vars | Don't get variables from the form | 1 | None. | no_form_vars="1" |
| assign_prefix | Prefix output variables with this word. (Click link for details) | Any valid Smarty variable name | None. (No prefix is used) | assign_prefix="myvar" |
| count | Maximum number of results to display (Click link for details) | Zero or any whole number greater than zero | 10 | count=20 |
| start | Hide all results lower than this number (Click link for details) | Any whole number greater than zero | None. (Doesn't hide any results) | start=10 |
| data_only | Set variables but don't display the template | 1 | None. The template is displayed. | data_only=1 |
Output
Statistics stored in the {$stats} template variable and displayed using the function_display_hourly_sales template.
Notes
None.