Plugin Directory

Changeset 2086238


Ignore:
Timestamp:
05/12/2019 02:03:52 PM (7 years ago)
Author:
marguspala
Message:

Better discounts rounding

Location:
smartaccounts/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • smartaccounts/trunk/SmartAccountsSalesInvoice.php

    r2047038 r2086238  
    2525        $body->rows        = $this->getOrderRows();
    2626        $body->roundAmount = $this->getRoundingAmount($body->rows);
    27         $body->amount      = number_format($this->getOrderTotal(), 2);
     27        $body->amount      = $this->order->get_total();
    2828        $body->invoiceNote = "WooCommerce order #" . $this->order->get_id();
    2929
  • smartaccounts/trunk/readme.txt

    r2053161 r2086238  
    22Tags: SmartAccounts, smartaccounts, WooCommerce
    33Requires at least: 4.8
    4 Tested up to: 5.1
     4Tested up to: 5.2
    55License: GPLv2 or later
    66License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    4747== Changelog ==
    4848
     49= 2.2.4 =
     50Better discount and cents fraction rounding
     51
    4952= 2.2.3 =
    5053Product backorders setting overwriting removed
  • smartaccounts/trunk/smartaccounts.php

    r2053161 r2086238  
    44 * Plugin URI: https://github.com/smartman/woocommerce_smartaccounts
    55 * Description: This plugin creates sales invoices in the smartaccounts.ee Online Accounting Software after Woocommerce order creation
    6  * Version: 2.2.3
     6 * Version: 2.2.4
    77 * Author: Margus Pala
    88 * Author URI: https://marguspala.com
     
    1010 * License URI:  https://www.gnu.org/licenses/gpl-2.0.html
    1111 * Requires at least: 4.8.0
    12  * Tested up to: 5.1.1
     12 * Tested up to: 5.2
    1313 */
    1414
Note: See TracChangeset for help on using the changeset viewer.