Billys_Billing_Invoicer - Version 1.0.7

Version Notes

- Fixed shipping price when shipping is free

Download this release

Release Info

Developer Billy's Billing
Extension Billys_Billing_Invoicer
Version 1.0.7
Comparing to
See all releases


Code changes from version 1.0.6 to 1.0.7

app/code/community/BillysBilling/Invoicer/Model/Observer.php CHANGED
@@ -93,11 +93,13 @@ class BillysBilling_Invoicer_Model_Observer {
93
  $products[] = $product;
94
  }
95
  // Add shipping costs to product array
96
- $products[] = array(
97
- "productId" => $this->shippingId,
98
- "quantity" => 1,
99
- "unitPrice" => $order->getShippingAmount()
100
- );
 
 
101
 
102
  // Order date
103
  $date = date("Y-m-d", $order->getCreatedAtDate()->getTimestamp());
93
  $products[] = $product;
94
  }
95
  // Add shipping costs to product array
96
+ if ($order->getShippingAmount() > 0) {
97
+ $products[] = array(
98
+ "productId" => $this->shippingId,
99
+ "quantity" => 1,
100
+ "unitPrice" => $order->getShippingAmount()
101
+ );
102
+ }
103
 
104
  // Order date
105
  $date = date("Y-m-d", $order->getCreatedAtDate()->getTimestamp());
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Billys_Billing_Invoicer</name>
4
- <version>1.0.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>
@@ -12,14 +12,14 @@
12
  - Information about the customer, and&#xD;
13
  - Information about each product including shipping.&#xD;
14
  &#xD;
15
- This extension has been testing with the latest releases of version 1.5, 1.6 and 1.7.&#xD;
16
  &#xD;
17
  When this extension has been installed, you should go to System Configuration and access the Billy's Billing configuration page. From here you enter an API key (you can get this from organization settings in Billy's Billing) and save the configuration. When this is done, you will be able to change the dropdown boxes for shipping product, sales account, VAT model, and bank account. After they have been selected, you are ready to use the extension.</description>
18
- <notes>Added contact message customization</notes>
19
  <authors><author><name>Billy's Billing</name><user>billysbilling</user><email>michael@billysbilling.com</email></author></authors>
20
- <date>2013-07-25</date>
21
- <time>17:13:43</time>
22
- <contents><target name="magecommunity"><dir name="BillysBilling"><dir name="Invoicer"><dir name="Helper"><file name="Data.php" hash="2e73f30c86e3cb150b91856d2efeebf4"/></dir><dir name="Model"><file name="Accounts.php" hash="a6861ea516d74d199d52be6e4a8eeb1c"/><file name="Observer.php" hash="32428f7ba5e5048fee27a93a5911200d"/><file name="Products.php" hash="86953a3321a191587b6da1ab57626c53"/><file name="VatModels.php" hash="e87151fe22f857340476d1d4ebaeb31c"/><file name="YesNo.php" hash="0948b76080b9829e733980dad3649fd9"/><dir name="billysbilling-php"><dir name="Billy"><file name="Client.php" hash="b947948ae0063e2a121751782f44c751"/><file name="Exception.php" hash="239b2ecc8821b6e55faef561d0f3089c"/><file name="Request.php" hash="60d6c8d0661ff97cfc828cc785e7c942"/></dir><file name="bootstrap.php" hash="95d828828c4fdf4d338407f4a270c397"/></dir></dir><dir name="etc"><file name="config.xml" hash="4dc8b38cdb7703025cdeca5ab9c9a177"/><file name="system.xml" hash="9d2ed460ff9d16ce45539e83034513a4"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="BillysBilling_Invoicer.xml" hash="4b11b30f403a358332323f04da27d1d4"/></dir></target></contents>
23
  <compatible/>
24
  <dependencies><required><php><min>5.3.0</min><max>5.4.13</max></php></required></dependencies>
25
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Billys_Billing_Invoicer</name>
4
+ <version>1.0.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>
12
  - Information about the customer, and&#xD;
13
  - Information about each product including shipping.&#xD;
14
  &#xD;
15
+ This extension has been tested with the latest releases of version 1.5, 1.6 and 1.7.&#xD;
16
  &#xD;
17
  When this extension has been installed, you should go to System Configuration and access the Billy's Billing configuration page. From here you enter an API key (you can get this from organization settings in Billy's Billing) and save the configuration. When this is done, you will be able to change the dropdown boxes for shipping product, sales account, VAT model, and bank account. After they have been selected, you are ready to use the extension.</description>
18
+ <notes> - Fixed shipping price when shipping is free</notes>
19
  <authors><author><name>Billy's Billing</name><user>billysbilling</user><email>michael@billysbilling.com</email></author></authors>
20
+ <date>2013-11-04</date>
21
+ <time>20:58:26</time>
22
+ <contents><target name="magecommunity"><dir name="BillysBilling"><dir name="Invoicer"><dir name="Helper"><file name="Data.php" hash="2e73f30c86e3cb150b91856d2efeebf4"/></dir><dir name="Model"><file name="Accounts.php" hash="a6861ea516d74d199d52be6e4a8eeb1c"/><file name="Observer.php" hash="c0e859a3225cf93a6c2a5e011d3085b1"/><file name="Products.php" hash="86953a3321a191587b6da1ab57626c53"/><file name="VatModels.php" hash="e87151fe22f857340476d1d4ebaeb31c"/><file name="YesNo.php" hash="0948b76080b9829e733980dad3649fd9"/><dir name="billysbilling-php"><dir name="Billy"><file name="Client.php" hash="b947948ae0063e2a121751782f44c751"/><file name="Exception.php" hash="239b2ecc8821b6e55faef561d0f3089c"/><file name="Request.php" hash="60d6c8d0661ff97cfc828cc785e7c942"/></dir><file name="bootstrap.php" hash="95d828828c4fdf4d338407f4a270c397"/></dir></dir><dir name="etc"><file name="config.xml" hash="4dc8b38cdb7703025cdeca5ab9c9a177"/><file name="system.xml" hash="9d2ed460ff9d16ce45539e83034513a4"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="BillysBilling_Invoicer.xml" hash="4b11b30f403a358332323f04da27d1d4"/></dir></target></contents>
23
  <compatible/>
24
  <dependencies><required><php><min>5.3.0</min><max>5.4.13</max></php></required></dependencies>
25
  </package>