diff options
Diffstat (limited to 'deskutils/myitcrm/files')
-rw-r--r-- | deskutils/myitcrm/files/patch-bug263 | 144 | ||||
-rw-r--r-- | deskutils/myitcrm/files/patch-install_index.php | 13 | ||||
-rw-r--r-- | deskutils/myitcrm/files/pkg-message.in | 34 |
3 files changed, 0 insertions, 191 deletions
diff --git a/deskutils/myitcrm/files/patch-bug263 b/deskutils/myitcrm/files/patch-bug263 deleted file mode 100644 index b0a1d2ade7f1..000000000000 --- a/deskutils/myitcrm/files/patch-bug263 +++ /dev/null @@ -1,144 +0,0 @@ -commit 8c0d263b2672df6727e1d0be3fecfdef3df8c1eb -Author: unknown <Glen@.(none)> -Date: Sun Feb 12 10:42:37 2012 +1100 - - FIXES: #263 - Desc: Customers Address details not showing on HTML Invoices. - -diff --git a/templates/invoice/print_html.tpl b/templates/invoice/print_html.tpl -index 2b79b32..eeeb2e1 100644 ---- a/templates/invoice/print_html.tpl -+++ b/templates/invoice/print_html.tpl -@@ -7,15 +7,12 @@ - <body> - - <!-- BOF Top Row Section --> -- <table width="700" height="125" border="0" cellpadding="3" cellspacing="0" style="border-collapse: collapse;"> -+ <table width="800px" height="125" border="0" cellpadding="3" cellspacing="0" style="border-collapse: collapse;"> - <tr> - <!-- COMPANY DETAILS --> -- <td valign="top" align="left" width="35%"> -+ <td valign="top" align="left" width="200px"> - {foreach item=item from=$company} - <table border="0" cellpadding="0" cellspacing="0"> -- <!--<tr> -- <td colspan="2"><b>{$item.COMPANY_NAME}</b></td> -- </tr>--> - <tr> - <td valign="top"><b>{$translate_invoice_prn_address} : </b></td> - <td>{$item.COMPANY_ADDRESS|nl2br|regex_replace:"/[\r\t\n]/":" "}<br />{$item.COMPANY_CITY},<br />{$item.COMPANY_STATE},<br />{$item.COMPANY_ZIP}</td> -@@ -37,21 +34,21 @@ - </td> - - <!-- LOGO and Company Name--> -- <td valign="top" align="center" width="30%"> -+ <td valign="top" align="center" width="300px"> - <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse;"> - <tr> -- <td width="100%"> -- <a><img src="images/logo.jpg" alt="" border="0"></a> -+ <td width="100%" align="center"> -+ <img src="images/logo.jpg" height="100px" alt="" border="0"> - </td> - </tr> - <tr> -- <td style="text-align:center"><font size="+0"><b>{$item.COMPANY_NAME}</b></font></td> -+ <td style="text-align:center"><b>{$item.COMPANY_NAME}</b></td> - </tr> - </table> - </td> - - <!-- Invoice details --> -- <td valign="top" align="right" width="35%"> -+ <td valign="top" align="right" width="200px"> - <table border="0" cellpadding="3" cellspacing="0" style="border-collapse: collapse;"> - <tr> - <td valign="top" width="90%" align="right"> -@@ -80,17 +77,17 @@ - </table> - <!-- EOF Top Row Section - NB This table ends exactly where the envelope window starts--> - <br /> --<!-- BOF Address Row -- <table width="700" border="0" cellpadding="3" cellspacing="0" > -+<!-- BOF Address Row --> -+ <table width="800" border="0" cellpadding="3" cellspacing="0" > - <tr> - <td valign="top" width="10%" align="left"></td> - <td> -- <!- - <font size="-1"><b>{$translate_invoice_prn_bill_to} :</b></font><br /> - - > -+ <p style="font:12px bold;">{$translate_invoice_prn_bill_to} :</p> - {foreach item=item from=$customer_details} -- <font size="+0">{$item.CUSTOMER_DISPLAY_NAME}</font><br /> -- <font size="+0">{$item.CUSTOMER_ADDRESS|nl2br|regex_replace:"/[\r\t\n]/":" "}</font><br /> -- <font size="+0">{$item.CUSTOMER_CITY},</font><br /> -- <font size="+0">{$item.CUSTOMER_STATE} {$item.CUSTOMER_ZIP}</font> -+ {$item.CUSTOMER_DISPLAY_NAME}<br /> -+ {$item.CUSTOMER_ADDRESS|nl2br|regex_replace:"/[\r\t\n]/":" "}<br /> -+ {$item.CUSTOMER_CITY},<br /> -+ {$item.CUSTOMER_STATE} {$item.CUSTOMER_ZIP} - {/foreach} - </td> - </tr> -@@ -98,7 +95,8 @@ - <!-- EOF Address Row --> - - <!-- BOF Work Order Row --> -- <table width="700" border="0" cellpadding="3" cellspacing="0" > -+{if $wo_description > NULL} -+ <table width="800" border="0" cellpadding="3" cellspacing="0" > - <tr> - <td><b>{$translate_invoice_prn_work_order}</b></td> - <td><b>{$translate_invoice_prn_work_order_resolution}</b></td> -@@ -108,10 +106,11 @@ - <td width="50%" valign="top" style="border-left: 1px solid;">{$wo_resolution}</td> - </tr> - </table> -+{/if} - <!-- EOF Work Order Row --> - <br /> - <!-- BOF Invoice Details Row --> -- <table width="700" border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse;"> -+ <table width="800" border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse;"> - <tr> - <td align="center" class="olotd5" ><font size="+2">{$translate_invoice_prn_invoice_details} {$item.CUSTOMER_DISPLAY_NAME}</font></td> - </tr> -@@ -120,7 +119,7 @@ - <br /> - <!-- BOF Items Table Section --> - <!-- Labour Table --> -- <table width="700" border="1" cellpadding="3" cellspacing="0" style="border-collapse: collapse;"> -+ <table width="800" border="1" cellpadding="3" cellspacing="0" style="border-collapse: collapse;"> - <tr> - <td width="40" class="olohead"><b>{$translate_invoice_prn_qty}</b></td> - <td class="olohead"><b>{$translate_invoice_prn_labour_items}</b></td> -@@ -143,7 +142,7 @@ - <br /> - - <!-- Parts Table --> -- <table width="700" border="1" cellpadding="3" cellspacing="0" style="border-collapse: collapse;"> -+ <table width="800" border="1" cellpadding="3" cellspacing="0" style="border-collapse: collapse;"> - <tr> - <td width="40" class="olohead"><b>{$translate_invoice_prn_qty}</b></td> - <td class="olohead"><b>{$translate_invoice_prn_parts_items}</b></td> -@@ -166,10 +165,10 @@ - <!-- BOF Items Table Section --> - <br /> - <!-- BOF Totals Box and Payments Section Row --> -- <table width="700" border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse;"> -+ <table width="800" border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse;"> - <tr> - <td colspan="1" valign="TOP"> -- <table width="500" border="0" cellpadding="3" cellspacing="0" style="border-collapse: collapse;"> -+ <table width="600" border="0" cellpadding="3" cellspacing="0" style="border-collapse: collapse;"> - <tr> - <td align="left" ><font size="-1"><b>{$translate_invoice_prn_payment_instructions}</b></font></td> - </tr> -@@ -259,7 +258,7 @@ - <br /> - <br /> - {if $thank_you > ''} --<table width="700" border="0" cellpadding="3" cellspacing="0" style="border-collapse: collapse;"> -+<table width="800" border="0" cellpadding="3" cellspacing="0" style="border-collapse: collapse;"> - <tr> - <td align="center"><font size="-1">{$thank_you}</font></td> - </tr> diff --git a/deskutils/myitcrm/files/patch-install_index.php b/deskutils/myitcrm/files/patch-install_index.php deleted file mode 100644 index d5d614440bd9..000000000000 --- a/deskutils/myitcrm/files/patch-install_index.php +++ /dev/null @@ -1,13 +0,0 @@ ---- ./install/indexold.php 2013-11-06 11:05:07.000000000 -0900 -+++ ./install/index.php 2013-11-06 11:07:16.000000000 -0900 -@@ -1260,9 +1260,8 @@ - ##################################### - # Set Path # - ##################################### --function set_path($_POST) -+function set_path() - { -- - $install_date = date("M d Y h:i:s A" ,time()); - $filename = '../conf.php'; - $path2 = 'default_site_name'; diff --git a/deskutils/myitcrm/files/pkg-message.in b/deskutils/myitcrm/files/pkg-message.in deleted file mode 100644 index 2d68eb8cffca..000000000000 --- a/deskutils/myitcrm/files/pkg-message.in +++ /dev/null @@ -1,34 +0,0 @@ -[ -{ type: install - message: <<EOM -MyITCRM is now installed in documentroot: %%WWWDIR%%. - -1) Create user, MySQL database and set privileges: - -mysql -u root -p'your_password' -create database myitcrm; -create user 'myitcrm'@'localhost' identified by 'your_password'; -grant all privileges on myitcrm.* to 'myitcrm'@'localhost' identified by 'your_password'; - -2) Setup your MyITCRM: - -Now you can try http://your-server/myitcrm/install and setup your database. - -Full Path: %%WWWDIR%% -Site Name: http://your-server/myitcrm - -3) Finally move the installation folder or you will not be able to login: - -mkdir -p $HOME/backup/myitcrm -mv %%WWWDIR%%/install $HOME/backup/myitcrm - -If you need to reinstall MyITCRM, move the directory back and go back to -step 2. - -Recommended php.ini settings: -- memory_limit=32M -- register_globals=off -- safe_mode=off -EOM -} -] |