[ Index ] |
PHP Cross Reference of osCMax 2.0.4 |
[Summary view] [Print] [Text view]
1 <?php 2 /* 3 $Id: stats_monthly_sales.php 3 2006-05-27 04:59:07Z user $ 4 5 osCMax Power E-Commerce 6 http://oscdox.com 7 8 Copyright 2006 osCMax2005 osCMax, 2002 osCommerce 9 10 Released under the GNU General Public License 11 */ 12 13 define('HEADING_TITLE', 'Monthly Sales/Tax Summary'); 14 define('HEADING_TITLE_STATUS','Status'); 15 define('HEADING_TITLE_REPORTED','Reported'); 16 //Added line 17 define('TEXT_DETAIL','Detail'); 18 define('TEXT_ALL_ORDERS', 'All orders'); 19 define('TEXT_NOTHING_FOUND', 'No income for this date/status selection'); 20 //Added 2 lines 21 define('TEXT_BUTTON_REPORT_BACK','Back'); 22 define('TEXT_BUTTON_REPORT_INVERT','Invert'); 23 define('TEXT_BUTTON_REPORT_PRINT','Print'); 24 define('TEXT_BUTTON_REPORT_SAVE','Save CSV'); 25 define('TEXT_BUTTON_REPORT_HELP','Help'); 26 //Added 2 lines 27 define('TEXT_BUTTON_REPORT_BACK_DESC', 'Return to summary by months'); 28 define('TEXT_BUTTON_REPORT_INVERT_DESC', 'Invert rows top to bottom'); 29 define('TEXT_BUTTON_REPORT_PRINT_DESC', 'Show report in printer friendly window'); 30 define('TEXT_BUTTON_REPORT_HELP_DESC', 'About this report and how to use its features'); 31 //Added line 32 define('TEXT_BUTTON_REPORT_GET_DETAIL', 'Click to report daily summary for this month'); 33 define('TEXT_REPORT_DATE_FORMAT', 'j M Y - g:i a'); // date format string 34 // as specified in php manual here: http://www.php.net/manual/en/function.date.php 35 define('TABLE_HEADING_YEAR','Year'); 36 define('TABLE_HEADING_MONTH', 'Month'); 37 define('TABLE_HEADING_DAY', 'Day'); 38 define('TABLE_HEADING_INCOME', 'Gross<br> Income'); 39 define('TABLE_HEADING_SALES', 'Product<br> sales'); 40 define('TABLE_HEADING_NONTAXED', 'Exempt<br> sales'); 41 define('TABLE_HEADING_TAXED', 'Taxable<br> sales'); 42 define('TABLE_HEADING_TAX_COLL', 'Taxes<br> collected'); 43 define('TABLE_HEADING_SHIPHNDL', 'Shipping<br> & Handling'); 44 define('TABLE_HEADING_LOWORDER', 'Low Order<br> Fees'); 45 define('TABLE_HEADING_OTHER', 'Gift<br> Vouchers'); // could be any other extra class value 46 define('TABLE_FOOTER_YTD','YTD'); 47 define('TABLE_FOOTER_YEAR','YEAR'); 48 //Added define 49 define('TEXT_HELP', '<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"> 50 <html> 51 <head> 52 <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>"> 53 <title>Monthly Sales/Tax Report</title> 54 <link rel="stylesheet" type="text/css" href="includes/stylesheet.css"> 55 </head> 56 <BODY> 57 <center> 58 <table width="95%"><tr><td> 59 <p class="main" align="center"> 60 <b>How to view and use the store income summary report</b> 61 <p class="main" align="justify"> 62 <b>Reporting store activity by month</b> 63 <p class="smallText" align="justify"> 64 When initially selected from the Reports menu, this report displays a financial summary of all orders in the store database, by month. Each month of the store\'s history is summarized in a row, showing the store income and its components, and listing the amounts of taxes, shipping and handling charges, low order fees and gift vouchers. (If the store does not have low order fees or gift vouchers enabled, these columns are omitted from the report.) Activity is reported as of the date of purchase. 65 <p class="smallText" align="justify"> 66 The top row is the current month, and the rows under it summarize each month of the store\'s order history. Beneath the rows of each calendar year is a footer line, summarizing that year\'s totals in each column of the report. 67 <p class="smallText" align="justify"> 68 To invert the order of the rows, click the "Invert" button. 69 <p class="main" align="justify"> 70 <b>Reporting monthly summary by days</b> 71 <p class="smallText" align="justify"> 72 The summary of daily activity within any month may be displayed by clicking on the month\'s name, at the left of the row. To return from the daily summary to the monthly summary, click the "Back" button in the daily display. 73 <p class="main" align="justify"> 74 <b>What the columns represent (headers explained)</b> 75 <p class="smallText" align="justify"> 76 On the left, the month and year of the row are stated. The other columns are, left to right: 77 <ul><li class="smallText"><b>Gross Income</b> - the total of all orders 78 <li class="smallText"><b>Order Subtotal</b> - the total sales of products purchased in the month 79 <br>Then, the product sales are broken into two categories: 80 <li class="smallText"><b>Nontaxed sales</b> - the subtotal of sales which were not taxed, and 81 <li class="smallText"><b>Taxed sales</b> - the subtotal of sales which were taxed 82 <li class="smallText"><b>Taxes collected</b> - the amount collected from customers for taxes 83 <li class="smallText"><b>Shipping & handling</b> - the total shipping and handling charges collected 84 <li class="smallText"><b>Low order fees</b> and <b>Gift Vouchers</b> - if the store has low order fees enabled, and/or gift vouchers, the totals of these are shown in separate columns 85 </ul> 86 <p class="main" align="justify"> 87 <b>Selecting report summary by status</b> 88 <p class="smallText" align="justify"> 89 To show the monthly or daily summary information for just one Order Status, select the status in the drop-down box at the upper right of the report screen. Depending on the store\'s setup for these values, there may be a status for "Pending" or "Shipped" for instance. Change this status and the report will be recalculated and displayed. 90 <p class="main" align="justify"> 91 <b>Showing detail of taxes</b> 92 <p class="smallText" align="justify"> 93 The amount of tax in any row of the report is a link to a popup window, which shows the name of the tax classes charged and their individual amounts. 94 <p class="main" align="justify"> 95 <b>Printing the report</b> 96 <p class="smallText" align="justify"> 97 To view the report in a printer-friendly window, click on the "Print" button, then use your browser\'s print command in the File menu. The store name and headers are added to show what orders were selected, and when the report was generated. 98 <p class="main" align="justify"> 99 <b>Saving report values to a file</b> 100 <p class="smallText" align="justify"> 101 To save the values of the report to a local file, click on the Save CSV button at the bottom of the report. The report values will be sent to your browser in a text file, and you will be prompted with a Save File dialog box to choose where to save the file. The contents of the file are in Comma Separated Value (CSV) format, with a line for each row of the report beginning with the header line, and each value in the row is separated by commas. This file can be conveniently and accurately imported to common spreadsheet financial and statistical tools, such as Excel and QuattroPro. The file is provided to your browser with a suggested file name consisting of the report name, status selected, and date/time. <br><br> 102 <p class="smallText">v 2.1.1 103 </td></tr> 104 </table> 105 </BODY> 106 </HTML>'); 107 ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Fri Jan 1 13:43:16 2010 | Cross-referenced by PHPXref 0.7 |