ZsoltNet_LedgerInvoice - Version 0.9.7

Version Notes

- configurable cash on delivery method / konfigurálható utánvét metódus

Download this release

Release Info

Developer Zsolt KOZAK
Extension ZsoltNet_LedgerInvoice
Version 0.9.7
Comparing to
See all releases


Code changes from version 0.9.6 to 0.9.7

app/code/community/ZsoltNet/LedgerInvoice/controllers/InvoiceController.php CHANGED
@@ -820,7 +820,7 @@ class ZsoltNet_LedgerInvoice_InvoiceController extends Mage_Adminhtml_Controller
820
  }
821
 
822
  $trans = $postArray['transdate'];
823
- if ($method=='cashondelivery') {
824
  //utanvetel, ezert masok a datumok
825
  $postArray['shipvia'] = $this->texts["utanvet"];
826
  $postArray['transdate'] = date("Y-m-d",strtotime($trans)+Mage::getStoreConfig('ledgerinvoicemodule/ledgerinvoice/codtrans')*24*60*60);
820
  }
821
 
822
  $trans = $postArray['transdate'];
823
+ if ($method==Mage::getStoreConfig('ledgerinvoicemodule/ledgerinvoice/codmethod')) {
824
  //utanvetel, ezert masok a datumok
825
  $postArray['shipvia'] = $this->texts["utanvet"];
826
  $postArray['transdate'] = date("Y-m-d",strtotime($trans)+Mage::getStoreConfig('ledgerinvoicemodule/ledgerinvoice/codtrans')*24*60*60);
app/code/community/ZsoltNet/LedgerInvoice/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <ZsoltNet_LedgerInvoice>
5
- <version>0.9.6</version>
6
  </ZsoltNet_LedgerInvoice>
7
  </modules>
8
  <admin>
@@ -89,6 +89,7 @@
89
  <discountcode>000000</discountcode>
90
  <bpiocode>000005</bpiocode>
91
  <inpersonshippingmethod>flatrate_flatrate</inpersonshippingmethod>
 
92
  <tax_5>4672</tax_5>
93
  <tax_18>4674</tax_18>
94
  <tax_25>4671</tax_25>
2
  <config>
3
  <modules>
4
  <ZsoltNet_LedgerInvoice>
5
+ <version>0.9.7</version>
6
  </ZsoltNet_LedgerInvoice>
7
  </modules>
8
  <admin>
89
  <discountcode>000000</discountcode>
90
  <bpiocode>000005</bpiocode>
91
  <inpersonshippingmethod>flatrate_flatrate</inpersonshippingmethod>
92
+ <codmethod>phoenix_cashondelivery</codmethod>
93
  <tax_5>4672</tax_5>
94
  <tax_18>4674</tax_18>
95
  <tax_25>4671</tax_25>
app/code/community/ZsoltNet/LedgerInvoice/etc/system.xml CHANGED
@@ -111,6 +111,17 @@
111
  <show_in_website>1</show_in_website>
112
  <show_in_store>1</show_in_store>
113
  </inpersonshippingmethod>
 
 
 
 
 
 
 
 
 
 
 
114
  <tax_5 translate="label">
115
  <label>5%-os ÁFA-kódja</label>
116
  <comment>
111
  <show_in_website>1</show_in_website>
112
  <show_in_store>1</show_in_store>
113
  </inpersonshippingmethod>
114
+ <codmethod translate="label">
115
+ <label>Utánvét fizetési metódus</label>
116
+ <comment>
117
+ <![CDATA[Az utánvét fizetési metódusa az áruházban. (1.8 előtti Magento esetében 'cashondelivery', 1.8+ esetében 'phoenix_cashondelivery')]]>
118
+ </comment>
119
+ <frontend_type>text</frontend_type>
120
+ <sort_order>65</sort_order>
121
+ <show_in_default>1</show_in_default>
122
+ <show_in_website>1</show_in_website>
123
+ <show_in_store>1</show_in_store>
124
+ </codmethod>
125
  <tax_5 translate="label">
126
  <label>5%-os ÁFA-kódja</label>
127
  <comment>
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>ZsoltNet_LedgerInvoice</name>
4
- <version>0.9.6</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL)</license>
7
  <channel>community</channel>
@@ -48,6 +48,8 @@ Ezek a k&#xF6;vetkez&#x151;k:&#xD;
48
  &#xD;
49
  * Szem&#xE9;lyes &#xE1;tv&#xE9;tel sz&#xE1;ll&#xED;t&#xE1;si met&#xF3;dus -&gt; A Magent&#xF3;ban ez a sz&#xE1;ll&#xED;t&#xE1;si modul jelenti a szem&#xE9;lyes &#xE1;tv&#xE9;telt. Pl. flatrate_flatrate&#xD;
50
  &#xD;
 
 
51
  * A fizetend&#x151; 5%-os &#xC1;FA-k&#xF3;dja -&gt; Ilyen k&#xF3;ddal van r&#xF6;gz&#xED;tve a fizetend&#x151; &#xC1;FA a Ledgerben. Pl. 4672&#xD;
52
  &#xD;
53
  * A fizetend&#x151; 18%-os &#xC1;FA-k&#xF3;dja -&gt; Ilyen k&#xF3;ddal van r&#xF6;gz&#xED;tve a fizetend&#x151; &#xC1;FA a Ledgerben. Pl. 4674&#xD;
@@ -123,11 +125,11 @@ TODO&#xD;
123
  Garancia&#xD;
124
  &#xD;
125
  A LEDGERINVOICE MAGENTO-KITERJESZT&#xC9;S M&#x170;K&#xD6;D&#xC9;S&#xC9;&#xC9;RT A FEJLESZT&#x150; SEMMILYEN GARANCI&#xC1;T NEM V&#xC1;LLAL, A KITERJESZT&#xC9;ST MINDENKI SAJ&#xC1;T FELEL&#x150;SS&#xC9;G&#xC9;RE HASZN&#xC1;LJA!</description>
126
- <notes>- compatible with Ledger 20151130 / Ledger 20151130 kompatibilis</notes>
127
  <authors><author><name>Zsolt KOZAK</name><user>kozakzs</user><email>kozakzs@gmail.com</email></author></authors>
128
- <date>2016-04-24</date>
129
- <time>17:35:10</time>
130
- <contents><target name="magecommunity"><dir name="ZsoltNet"><dir name="LedgerInvoice"><dir name="Helper"><file name="Data.php" hash="69020a8162dc799cc38b164a38e299ae"/></dir><dir name="Model"><dir name="Mysql4"><dir name="Order"><file name="Invoice.php" hash="d306a68196e0c5f9414ae5c3b7df5aea"/></dir></dir><file name="Observer.php" hash="01d7aa3c8632408e787ba787f69c92e5"/><dir name="System"><dir name="Config"><dir name="Source"><file name="Charset.php" hash="c307321fe8dd5c207875b9121cce1edf"/></dir></dir></dir></dir><dir name="controllers"><file name="HttpClient.class.php" hash="a76d00eacf8f07be342b41df83f0f062"/><file name="InvoiceController.php" hash="ceb30a16f2b9722649bb71e0b48c31e8"/><file name="db_pg.php" hash="467a0459b1b36ab45568a85c5b3c65e8"/><file name="simple_html_dom.php" hash="6a81f57652019a0a8e95eb6250d9ae49"/><dir name="tcpdf"><file name="CHANGELOG.TXT" hash="996f60f4f8710b7b09ee3d8f6b74d193"/><file name="LICENSE.TXT" hash="5c87b66a5358ebcc495b03e0afcd342c"/><file name="README.TXT" hash="097a7ba5b248cb37397166bf08968936"/><file name="composer.json" hash="1c42096fef1cff06262eb983138c93e3"/><file name="concat_pdf.php" hash="f7ea6f7a40cfe7d55fe30cc2d0a0f153"/><dir name="config"><file name="tcpdf_config.php" hash="09a8c58f2781725c0f4f6e4379b92c62"/></dir><dir name="fonts"><file name="cid0cs.php" hash="a722bf1cb509c0218c9b0d41386fdbbe"/><file name="cid0ct.php" hash="0583253d3e49f14e3b6306fa788a6f66"/><file name="cid0jp.php" hash="fcc615d2a469180dd6a29ee6c04e866f"/><file name="cid0kr.php" hash="cc2cb448f60c5ecf61f6879aec325801"/><file name="courier.php" hash="2894170c52a47ac02bf094bf047f1984"/><file name="courierb.php" hash="baadbf936466cfc106ae73e5f15dba89"/><file name="courierbi.php" hash="f9389202889738a0935be0d96f3aa609"/><file name="courieri.php" hash="afdcd64e0d7d78942401354d7f5f180d"/><file name="helvetica.php" hash="2a315fa2593161154c319788f0ef2127"/><file name="helveticab.php" hash="3daad3713df02c15beebd09ceecacacd"/><file name="helveticabi.php" hash="c22fdc8941f2956e0930b20105870468"/><file name="helveticai.php" hash="e0a7f23376f50de631db93814aff2e35"/><file name="hysmyeongjostdmedium.php" hash="51f6fe162641de3714866950d5eff4e8"/><file name="kozgopromedium.php" hash="2c5e8a67d1a805aae9842bbad59a873f"/><file name="kozminproregular.php" hash="78fdf805f1cea6cd01912192821ec734"/><file name="msungstdlight.php" hash="c940b153fb6c5b3498efa181881b5b6c"/><file name="stsongstdlight.php" hash="eb85dc872664c0769e9fab1b7540b4d5"/><file name="symbol.php" hash="20e28c8b386ddbb38ead777f717d7c44"/><file name="times.php" hash="a75033315ee90464410b47cc27ce9ff0"/><file name="timesb.php" hash="ad485022027867116de0bf6c25b1854a"/><file name="timesbi.php" hash="a5f3fbbef1831fe0bcd060edb6e5010b"/><file name="timesi.php" hash="8fd8e9a11cca513a4da0f25ff1a24149"/><file name="uni2cid_ac15.php" hash="96c6b586a6afb6d72dc8b93b30f844d5"/><file name="uni2cid_ag15.php" hash="0f6007361d5e4c8f34a2e83d402567b1"/><file name="uni2cid_aj16.php" hash="c458a95a74915bb3e01102060bf3d27c"/><file name="uni2cid_ak12.php" hash="7ad3c70ef87d3657f918d3ee3649f31f"/><file name="zapfdingbats.php" hash="191b3c2e856e750c06c0ba7987f902fb"/></dir><file name="fpdf_tpl.php" hash="3966b13c398c94509e2fb6199593b104"/><dir name="include"><dir name="barcodes"><file name="datamatrix.php" hash="561027d7adbd2358225866cba60568d2"/><file name="pdf417.php" hash="0d24de61581243b069fb508efbc78a67"/><file name="qrcode.php" hash="edd56d70cac390ef63feeef7e9d71b3f"/></dir><file name="sRGB.icc" hash="060e79448f1454582be37b3de490da2f"/><file name="tcpdf_colors.php" hash="cacdbe68a428ae36151a3d1152b2b77b"/><file name="tcpdf_filters.php" hash="205fd4b7bc978688de8420087c161bcb"/><file name="tcpdf_font_data.php" hash="8f83bbc144d70505672f82679546c72d"/><file name="tcpdf_fonts.php" hash="75837274a0d67e19ee975aaef9e283ee"/><file name="tcpdf_images.php" hash="42f2f6e2122319a302b2769011897b2a"/><file name="tcpdf_static.php" hash="6878fc45fd190e2370b4f3df25b12ba4"/></dir><file name="tcpdf.php" hash="9b2c43fd04aca88ef650cbe90d5b8a84"/><file name="tcpdf_autoconfig.php" hash="2ff9546965d6bc3e9a7f65552cd80c41"/><file name="tcpdf_barcodes_1d.php" hash="27f0f0c023d8775a7d970a0550caa3ef"/><file name="tcpdf_barcodes_2d.php" hash="17bfd10e3232de9145f5b74a6ef6afac"/><file name="tcpdf_import.php" hash="6bb88a8a3d69511d1bf9e7af12ab5f47"/><file name="tcpdf_parser.php" hash="5c546b7f37191a754b6743a640c6a0cd"/><file name="tcpdi.php" hash="01153d15c54e8409ef8c042bda40f588"/><file name="tcpdi_parser.php" hash="8d8135d03bc468bccde4a24cbe1ee112"/><dir name="tools"><file name="convert_fonts_examples.txt" hash="01d1bb3c8c8bdb35f3837e2715dbe681"/><file name="tcpdf_addfont.php" hash="8a55d83a4002cf045b586982b64c8356"/><file name=".htaccess" hash="183e8e4abc660eaba3c3da4bb82b0bcf"/></dir></dir></dir><dir name="etc"><file name="config.xml" hash="954f13698daec917ac20469ab2ff045f"/><file name="system.xml" hash="bf0f8871d46475b7bb742639276a2a74"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="ZsoltNet_LedgerInvoice.xml" hash="3772d189e5968e2746ade1edbea2a8ad"/></dir></target><target name="magelocale"><dir name="hu_HU"><file name="ZsoltNet_LedgerInvoice.csv" hash="e51ca5c1a4f5d2c9eda29c463829f722"/></dir></target></contents>
131
  <compatible/>
132
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
133
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>ZsoltNet_LedgerInvoice</name>
4
+ <version>0.9.7</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL)</license>
7
  <channel>community</channel>
48
  &#xD;
49
  * Szem&#xE9;lyes &#xE1;tv&#xE9;tel sz&#xE1;ll&#xED;t&#xE1;si met&#xF3;dus -&gt; A Magent&#xF3;ban ez a sz&#xE1;ll&#xED;t&#xE1;si modul jelenti a szem&#xE9;lyes &#xE1;tv&#xE9;telt. Pl. flatrate_flatrate&#xD;
50
  &#xD;
51
+ * Ut&#xE1;nv&#xE9;t fizet&#xE9;si met&#xF3;dus -&gt; A Magent&#xF3;ban ez a fizet&#xE9;si met&#xF3;dus jelenti az ut&#xE1;nv&#xE9;telt. (1.8 el&#x151;tti Magento eset&#xE9;ben 'cashondelivery', 1.8+ eset&#xE9;ben 'phoenix_cashondelivery')&#xD;
52
+ &#xD;
53
  * A fizetend&#x151; 5%-os &#xC1;FA-k&#xF3;dja -&gt; Ilyen k&#xF3;ddal van r&#xF6;gz&#xED;tve a fizetend&#x151; &#xC1;FA a Ledgerben. Pl. 4672&#xD;
54
  &#xD;
55
  * A fizetend&#x151; 18%-os &#xC1;FA-k&#xF3;dja -&gt; Ilyen k&#xF3;ddal van r&#xF6;gz&#xED;tve a fizetend&#x151; &#xC1;FA a Ledgerben. Pl. 4674&#xD;
125
  Garancia&#xD;
126
  &#xD;
127
  A LEDGERINVOICE MAGENTO-KITERJESZT&#xC9;S M&#x170;K&#xD6;D&#xC9;S&#xC9;&#xC9;RT A FEJLESZT&#x150; SEMMILYEN GARANCI&#xC1;T NEM V&#xC1;LLAL, A KITERJESZT&#xC9;ST MINDENKI SAJ&#xC1;T FELEL&#x150;SS&#xC9;G&#xC9;RE HASZN&#xC1;LJA!</description>
128
+ <notes>- configurable cash on delivery method / konfigur&#xE1;lhat&#xF3; ut&#xE1;nv&#xE9;t met&#xF3;dus</notes>
129
  <authors><author><name>Zsolt KOZAK</name><user>kozakzs</user><email>kozakzs@gmail.com</email></author></authors>
130
+ <date>2016-05-22</date>
131
+ <time>16:23:53</time>
132
+ <contents><target name="magecommunity"><dir name="ZsoltNet"><dir name="LedgerInvoice"><dir name="Helper"><file name="Data.php" hash="69020a8162dc799cc38b164a38e299ae"/></dir><dir name="Model"><dir name="Mysql4"><dir name="Order"><file name="Invoice.php" hash="d306a68196e0c5f9414ae5c3b7df5aea"/></dir></dir><file name="Observer.php" hash="01d7aa3c8632408e787ba787f69c92e5"/><dir name="System"><dir name="Config"><dir name="Source"><file name="Charset.php" hash="c307321fe8dd5c207875b9121cce1edf"/></dir></dir></dir></dir><dir name="controllers"><file name="HttpClient.class.php" hash="a76d00eacf8f07be342b41df83f0f062"/><file name="InvoiceController.php" hash="08bdf8c73b72534711de9aaaa719078b"/><file name="db_pg.php" hash="467a0459b1b36ab45568a85c5b3c65e8"/><file name="simple_html_dom.php" hash="6a81f57652019a0a8e95eb6250d9ae49"/><dir name="tcpdf"><file name="CHANGELOG.TXT" hash="996f60f4f8710b7b09ee3d8f6b74d193"/><file name="LICENSE.TXT" hash="5c87b66a5358ebcc495b03e0afcd342c"/><file name="README.TXT" hash="097a7ba5b248cb37397166bf08968936"/><file name="composer.json" hash="1c42096fef1cff06262eb983138c93e3"/><file name="concat_pdf.php" hash="f7ea6f7a40cfe7d55fe30cc2d0a0f153"/><dir name="config"><file name="tcpdf_config.php" hash="09a8c58f2781725c0f4f6e4379b92c62"/></dir><dir name="fonts"><file name="cid0cs.php" hash="a722bf1cb509c0218c9b0d41386fdbbe"/><file name="cid0ct.php" hash="0583253d3e49f14e3b6306fa788a6f66"/><file name="cid0jp.php" hash="fcc615d2a469180dd6a29ee6c04e866f"/><file name="cid0kr.php" hash="cc2cb448f60c5ecf61f6879aec325801"/><file name="courier.php" hash="2894170c52a47ac02bf094bf047f1984"/><file name="courierb.php" hash="baadbf936466cfc106ae73e5f15dba89"/><file name="courierbi.php" hash="f9389202889738a0935be0d96f3aa609"/><file name="courieri.php" hash="afdcd64e0d7d78942401354d7f5f180d"/><file name="helvetica.php" hash="2a315fa2593161154c319788f0ef2127"/><file name="helveticab.php" hash="3daad3713df02c15beebd09ceecacacd"/><file name="helveticabi.php" hash="c22fdc8941f2956e0930b20105870468"/><file name="helveticai.php" hash="e0a7f23376f50de631db93814aff2e35"/><file name="hysmyeongjostdmedium.php" hash="51f6fe162641de3714866950d5eff4e8"/><file name="kozgopromedium.php" hash="2c5e8a67d1a805aae9842bbad59a873f"/><file name="kozminproregular.php" hash="78fdf805f1cea6cd01912192821ec734"/><file name="msungstdlight.php" hash="c940b153fb6c5b3498efa181881b5b6c"/><file name="stsongstdlight.php" hash="eb85dc872664c0769e9fab1b7540b4d5"/><file name="symbol.php" hash="20e28c8b386ddbb38ead777f717d7c44"/><file name="times.php" hash="a75033315ee90464410b47cc27ce9ff0"/><file name="timesb.php" hash="ad485022027867116de0bf6c25b1854a"/><file name="timesbi.php" hash="a5f3fbbef1831fe0bcd060edb6e5010b"/><file name="timesi.php" hash="8fd8e9a11cca513a4da0f25ff1a24149"/><file name="uni2cid_ac15.php" hash="96c6b586a6afb6d72dc8b93b30f844d5"/><file name="uni2cid_ag15.php" hash="0f6007361d5e4c8f34a2e83d402567b1"/><file name="uni2cid_aj16.php" hash="c458a95a74915bb3e01102060bf3d27c"/><file name="uni2cid_ak12.php" hash="7ad3c70ef87d3657f918d3ee3649f31f"/><file name="zapfdingbats.php" hash="191b3c2e856e750c06c0ba7987f902fb"/></dir><file name="fpdf_tpl.php" hash="3966b13c398c94509e2fb6199593b104"/><dir name="include"><dir name="barcodes"><file name="datamatrix.php" hash="561027d7adbd2358225866cba60568d2"/><file name="pdf417.php" hash="0d24de61581243b069fb508efbc78a67"/><file name="qrcode.php" hash="edd56d70cac390ef63feeef7e9d71b3f"/></dir><file name="sRGB.icc" hash="060e79448f1454582be37b3de490da2f"/><file name="tcpdf_colors.php" hash="cacdbe68a428ae36151a3d1152b2b77b"/><file name="tcpdf_filters.php" hash="205fd4b7bc978688de8420087c161bcb"/><file name="tcpdf_font_data.php" hash="8f83bbc144d70505672f82679546c72d"/><file name="tcpdf_fonts.php" hash="75837274a0d67e19ee975aaef9e283ee"/><file name="tcpdf_images.php" hash="42f2f6e2122319a302b2769011897b2a"/><file name="tcpdf_static.php" hash="6878fc45fd190e2370b4f3df25b12ba4"/></dir><file name="tcpdf.php" hash="9b2c43fd04aca88ef650cbe90d5b8a84"/><file name="tcpdf_autoconfig.php" hash="2ff9546965d6bc3e9a7f65552cd80c41"/><file name="tcpdf_barcodes_1d.php" hash="27f0f0c023d8775a7d970a0550caa3ef"/><file name="tcpdf_barcodes_2d.php" hash="17bfd10e3232de9145f5b74a6ef6afac"/><file name="tcpdf_import.php" hash="6bb88a8a3d69511d1bf9e7af12ab5f47"/><file name="tcpdf_parser.php" hash="5c546b7f37191a754b6743a640c6a0cd"/><file name="tcpdi.php" hash="01153d15c54e8409ef8c042bda40f588"/><file name="tcpdi_parser.php" hash="8d8135d03bc468bccde4a24cbe1ee112"/><dir name="tools"><file name="convert_fonts_examples.txt" hash="01d1bb3c8c8bdb35f3837e2715dbe681"/><file name="tcpdf_addfont.php" hash="8a55d83a4002cf045b586982b64c8356"/><file name=".htaccess" hash="183e8e4abc660eaba3c3da4bb82b0bcf"/></dir></dir></dir><dir name="etc"><file name="config.xml" hash="aabecdeae57362bfd5179e0e993b1d31"/><file name="system.xml" hash="6db061c7fa31664ca975b9a581f87bbb"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="ZsoltNet_LedgerInvoice.xml" hash="3772d189e5968e2746ade1edbea2a8ad"/></dir></target><target name="magelocale"><dir name="hu_HU"><file name="ZsoltNet_LedgerInvoice.csv" hash="e51ca5c1a4f5d2c9eda29c463829f722"/></dir></target></contents>
133
  <compatible/>
134
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
135
  </package>