Plugin Directory

Changeset 2173325


Ignore:
Timestamp:
10/15/2019 12:20:23 AM (6 years ago)
Author:
dancameron
Message:

Deploy version 19.9.0.5

Location:
sprout-invoices
Files:
652 added
6 edited

Legend:

Unmodified
Added
Removed
  • sprout-invoices/trunk/Sprout_Invoices.class.php

    r2150275 r2173325  
    3333     * Current version. Should match sprout-invoices.php plugin version.
    3434     */
    35     const SI_VERSION = '19.9.0.2';
     35    const SI_VERSION = '19.9.0.5';
    3636    /**
    3737     * DB Version
  • sprout-invoices/trunk/controllers/invoices/Invoices.php

    r1970647 r2173325  
    3131
    3232        // Mark paid or partial after payment
    33         add_action( 'si_new_payment',  array( __CLASS__, 'change_status_after_payment_status_update' ) );
     33        add_action( 'si_new_payment',  array( __CLASS__, 'change_status_after_new_payment' ) );
    3434        add_action( 'si_payment_status_updated',  array( __CLASS__, 'change_status_after_payment_status_update' ) );
    3535
     
    210210    }
    211211
     212    public static function change_status_after_new_payment( SI_Payment $payment ) {
     213        if ( $payment->get_status() === SI_Payment::STATUS_VOID ) {
     214            return;
     215        }
     216        self::change_status_after_payment_status_update( $payment );
     217    }
     218
    212219    public static function change_status_after_payment_status_update( SI_Payment $payment ) {
    213220
  • sprout-invoices/trunk/controllers/notifications/Notifications.php

    r2041674 r2173325  
    531531     */
    532532    public static function admin_payment_notification( SI_Payment $payment, $args = array() ) {
     533
     534        if ( $payment->get_status() === SI_Payment::STATUS_VOID ) {
     535            return;
     536        }
     537
    533538        $payment_method = $payment->get_payment_method();
    534539        // A notification shouldn't be sent to the admin when s/he created it
  • sprout-invoices/trunk/readme.txt

    r2150275 r2173325  
    55Requires at least: 4.5
    66Tested up to: 5.2
    7 Stable tag: 19.9.0.2
     7Stable tag: 19.9.0.5
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
  • sprout-invoices/trunk/resources/admin/css/sprout-invoice.css

    r2096696 r2173325  
    188188 */
    189189
    190 body[class*='sprout-invoices'] .clearfix,
    191 .post-type-sa_estimate .clearfix,
    192 .post-type-sa_invoice .clearfix,
    193 .sprout-apps_page_sprout-apps-settings .clearfix,
    194 #si_admin_field_send_metabox_recipients .clearfix,
    195 .sa-control-group.clearfix {
    196     overflow: auto;
    197 }
    198 
    199 #si_admin_field_send_metabox_recipients .clearfix {
    200     display: block;
     190body[class*='sprout-invoices'] .clearfix:after,
     191.post-type-sa_estimate .clearfix:after,
     192.post-type-sa_invoice .clearfix:after,
     193.sprout-apps_page_sprout-apps-settings .clearfix:after,
     194#si_admin_field_send_metabox_recipients .clearfix:after,
     195.sa-control-group.clearfix:after {
     196    content: "";
     197    display: table;
     198    clear: both;
     199}
     200
     201#si_admin_field_send_metabox_recipients .clearfix:after {
     202    content: "";
     203    display: table;
     204    clear: both;
    201205}
    202206
  • sprout-invoices/trunk/sprout-invoices.php

    r2150275 r2173325  
    33/**
    44 * @package Sprout_Invoices
    5  * @version 19.9.0.2
     5 * @version 19.9.0.5
    66 */
    77
     
    1111 * Description: Easily accept estimates, create invoices, and receive invoice payments on your WordPress site. Learn more at <a href="https://sproutinvoices.com">sproutinvoices.com</a>.
    1212 * Author: Sprout Invoices
    13  * Version: 19.9.0.2
     13 * Version: 19.9.0.5
    1414 * Author URI: https://sproutinvoices.com
    1515 * Text Domain: sprout-invoices
Note: See TracChangeset for help on using the changeset viewer.