[ Index ]

PHP Cross Reference of osCMax 2.0.4

title

Body

[close]

/admin/includes/languages/espanol/ -> batch_print.php (source)

   1  <?php
   2  /*
   3    $Id:Batch_print.php, user Exp $
   4  */
   5  define('TEXT_ORDER_NUMBERS_RANGES', 'Order Number (s), either one # or  range, # - #, or #,#,#');
   6  define('HEADING_TITLE', 'Batch Print Center');
   7  define('TABLE_HEADING_COMMENTS', 'Comments');
   8  define('TABLE_HEADING_PRODUCTS_MODEL', 'Model');
   9  define('TABLE_HEADING_PRODUCTS', 'Products');
  10  define('TABLE_HEADING_TAX', 'Tax');
  11  define('TABLE_HEADING_TOTAL', 'Total');
  12  define('TABLE_HEADING_PRICE_EXCLUDING_TAX', 'Price (ex)');
  13  define('TABLE_HEADING_PRICE_INCLUDING_TAX', 'Price (inc)');
  14  define('TABLE_HEADING_TOTAL_EXCLUDING_TAX', 'Total (ex)');
  15  define('TABLE_HEADING_TOTAL_INCLUDING_TAX', 'Total (inc)');
  16  define('ENTRY_SOLD_TO', 'SOLD TO:');
  17  define('ENTRY_SHIP_TO', 'SHIP TO:');
  18  define('ENTRY_PAYMENT_METHOD', 'Payment Method:');
  19  define('ENTRY_PAYMENT_TYPE', 'Credit Card:');
  20  define('PAYMENT_TYPE', 'Credit Card');
  21  define('ENTRY_CC_OWNER', 'Credit Card Owner:');
  22  define('ENTRY_CC_NUMBER', 'Credit Card Number:');
  23  define('ENTRY_CC_EXP', 'Expiration Date:');
  24  define('ENTRY_SUB_TOTAL', 'Sub-Total:');
  25  define('ENTRY_PHONE', 'Phone:');
  26  define('ENTRY_EMAIL', 'E-Mail:');
  27  define('ENTRY_TAX', 'Tax:');
  28  define('ENTRY_SHIPPING', 'Shipping:');
  29  define('ENTRY_TOTAL', 'Total:');
  30  define('TEXT_ORDER_NUMBER','Order Number:');
  31  define('TEXT_ORDER_DATE','Order Date:');
  32  define('TEXT_ORDER_FORMAT','F j, Y');
  33  define('TEXT_CHOOSE_TEMPLATE','Choose the template of file you wish to print');
  34  define('TEXT_CHOOSE_TEMPLATE','Please either enter the order numbers/ranges you want extracted to PDF:<br>(eg. 2577,2580-2585,2588)');
  35  define('TEXT_DATES_ORDERS_EXTRACTRED','Or enter the dates of orders you want extracted to PDF:<br>(enter date in YYYY-MM-DD format)');
  36  define('TEXT_FROM','From:');
  37  define('TEXT_TO','Delivery: ');
  38  define('TEXT_PRINTING_LABELS_BILLING_DELIVERY','When Printing Labels :- Use Billing Address or Delivery Address?');
  39  define('TEXT_DELIVERY','Delivery: ');
  40  define('TEXT_BILLING','Billing: ');
  41  define('TEXT_POSITION_START_PRINTING', 'Position to Start printing from:<br>(0 position is top left label, they increase from left to right then from top to bottom)');
  42  define('TEXT_INCLUDE_ORDERS_STATUS', 'Only include orders with the status:<br>if none, all orders will be included)');
  43  define('TEXT_SHOW_ORDER','Show order date?');
  44  define('TEXT_SHOW_PHONE_NUMBER','Show customer\'s telephone number?');
  45  define('TEXT_SHOW_EMAIL_CUSTOMER','Show customer\'s e-mail address?');
  46  define('TEXT_PAYMENT_INFORMATION','Show payment information?');
  47  define('TEXT_SHOW_CREDIT_CARD_NUMBER','Show credit card number? (for credit card orders only)');
  48  define('TEXT_AUTOMACILLLY_CHANGE_ORDER','Automatically change order statuses to:<br>(if None, no statuses will be changed.)');
  49  define('TEXT_SHOW_OREDERS_COMMENTS','Show orders without comments?<br>(Will NOT show order with comments placed by the customer at time of order.)');
  50  define('TEXT_NOTIFY_CUSTOMER','Notify the customer via e-mail?<br>(This will notify the customer via e-mail with the comments in the batch print  language file.)');
  51  define('TEXT_BANK','Bank: ');
  52  define('TEXT_POST','Post: ');
  53  define('TEXT_SALES','Sales: ');
  54  define('TEXT_PACKED_BY','Packed By:  ______________________');
  55  define('TEXT_VERIFIED_BY','Verified By:  ______________________');
  56  define('TEXT_DEAR','Dear ');
  57  define('TEXT_THX_CHRISMAS','Thanks for your continued support -----');
  58  define('TEXT_RETURNS_LABEL', 'Returns Label Order: ');
  59  define('TEXT_SHIPPING_LABEL', 'Shipping Label Order: ');
  60  define('SHIP_FROM_COUNTRY', '');  //eg. 'United Kingdom'
  61  define('WEBSITE', 'www.Your site.com');
  62  define('TEXT_RETURNS', 'We hope you don\'t need it but we have provided a returns label just in case. Please see our returns policy at www.Your site.com/shipping.php');
  63  define('TEXT_TO', 'To:');
  64  // Change this to a general comment that you would like
  65  define('BATCH_COMMENTS','Automatic order update notification.');
  66  define('EMAIL_SEPARATOR', '------------------------------------------------------');
  67  define('EMAIL_TEXT_SUBJECT', 'Order Update');
  68  define('EMAIL_TEXT_ORDER_NUMBER', 'Order Number:');
  69  define('EMAIL_TEXT_INVOICE_URL', 'Detailed Invoice:');
  70  define('EMAIL_TEXT_DATE_ORDERED', 'Date Ordered:');
  71  define('EMAIL_TEXT_STATUS_UPDATE', 'Your order has been updated to the following status.' . "\n\n" . 'New status: %s' . "\n\n" . 'Please reply to this email if you have any questions.' . "\n");
  72  define('EMAIL_TEXT_COMMENTS_UPDATE', 'The comments for your order are' . "\n\n%s\n\n");
  73  
  74  // RGB Colors
  75  define('BLACK', '0,0,0');
  76  define('GREY', '0.9,0.9,0.9');
  77  define('DARK_GREY', '0.7,0.7,0.7');
  78  
  79  // Error and Messages
  80  $error['ERROR_INVALID_INPUT'] = 'Internal Error: Unrecognized or invalid script input.';
  81  $error['ERROR_BAD_DATE'] =  'Invalid date, Please enter a valid date in Year-Month-Day (0000-00-00) format.';
  82  $error['ERROR_BAD_INVOICENUMBERS'] =  'Invalid Invoice numbers, Please enter a valid format. (eg. 2577,2580-2585,2588)';
  83  $error['NO_ORDERS'] =  'There were no orders selected for export, try changing your order options.';
  84  $error['SET_PERMISSIONS'] = 'Can\'t write to directory!  Please set the permissions of your temp_pdf folder to CHMOD 0777';
  85  $error['FAILED_TO_OPEN'] = 'Could not open file for writing, make sure correct permissions are set';
  86  
  87  // PDF FONT SIZES
  88  define('COMPANY_HEADER_FONT_SIZE','14');
  89  define('SUB_HEADING_FONT_SIZE','11');
  90  define('GENERAL_FONT_SIZE', '11');
  91  define('GENERAL_LEADING', '12');
  92  define('PRODUCT_TOTALS_LEADING', '11');
  93  define('PRODUCT_TOTALS_FONT_SIZE', '10');
  94  define('PRODUCT_ATTRIBUTES_FONT_SIZE', '8');
  95  define('GENERAL_FONT_COLOR', BLACK);
  96  
  97  // Margins and Page Size
  98  
  99  // This works best with A4, could work with diffferent page sizes,
 100  // However it would require playing with the table values and font values to fit properly
 101  //define('PAGE','A4');
 102  //define('LEFT_MARGIN','30');
 103  // The small indents in the Sold to: Ship to: Text blocks
 104  //define('TEXT_BLOCK_INDENT', '5');
 105  //define('SHIP_TO_COLUMN_START','300');
 106  // This changes the 'Total', 'Sub-Total', 'Tax', and 'Shipping Method' text block
 107  // position, for example if you choose to make the text a bigger font size you need to 
 108  // tweak this value in order to prevent the text from clashing together
 109  //define('PRODUCT_TOTAL_TITLE_COLUMN_START','400');
 110  //define('RIGHT_MARGIN','30');
 111  
 112  // Batch Print Misc Vars
 113  define('BATCH_PRINT_INC', DIR_WS_MODULES . 'batch_print/');
 114  define('BATCH_PDF_DIR', BATCH_PRINT_INC . 'temp_pdf/');
 115  //define('LINE_LENGTH', '552');
 116  // If you have attributes for certain products, you can have the text wrap
 117  // or just be written completely on one line, with the text wrap disabled
 118  // it makes the tables smaller appear much better, of course that is only my opinion
 119  // so I made this variable if anyone would like it to wrap.
 120  //define('PRODUCT_ATTRIBUTES_TEXT_WRAP', false);
 121  // This sets the space size between sections
 122  //define('SECTION_DIVIDER', '15');
 123  // Main File
 124  define('BATCH_PRINT_FILE', 'batch_print.php');
 125  // TEMP PDF FILE
 126  define('BATCH_PDF_FILE', 'batch_orders.pdf');
 127  
 128  // Product table Settings
 129  //define('TABLE_HEADER_FONT_SIZE', '9');
 130  //define('TABLE_HEADER_BKGD_COLOR', DARK_GREY);
 131  //define('PRODUCT_TABLE_HEADER_WIDTH', '552');
 132  // This is more like cell padding, it moves the text the number
 133  // of points specified to make the rectangle appear padded
 134  //define('PRODUCT_TABLE_BOTTOM_MARGIN', '2');
 135  // Tiny indent right before the product name, again more like
 136  // the cell padding effect
 137  //define('PRODUCT_TABLE_LEFT_MARGIN', '2');
 138  // Height of the product listing rectangles
 139  //define('PRODUCT_TABLE_ROW_HEIGHT', '11');
 140  
 141  // The column sizes are where the product listing columns start on the
 142  // PDF page, if you make the TABLE HEADER FONT SIZE any larger you will
 143  // need to tweak these values to prevent text from clashing together
 144  //define('PRODUCTS_COLUMN_SIZE', '172');
 145  //define('PRODUCT_LISTING_BKGD_COLOR',GREY);
 146  //define('MODEL_COLUMN_SIZE', '37');
 147  //define('PRICING_COLUMN_SIZES', '67');
 148  
 149  ?>


Generated: Fri Jan 1 13:43:16 2010 Cross-referenced by PHPXref 0.7