|
@@ 558-562 (lines=5) @@
|
| 555 |
|
} |
| 556 |
|
} |
| 557 |
|
|
| 558 |
|
if ( $count > 0 ) { |
| 559 |
|
$message = sprintf( _n( 'Total <b>%d</b> price package is merged successfully.', 'Total <b>%d</b> price packages are merged successfully.', $count, 'invoicing' ), $count ); |
| 560 |
|
} else { |
| 561 |
|
$message = __( 'No price packages merged.', 'invoicing' ); |
| 562 |
|
} |
| 563 |
|
} else { |
| 564 |
|
$success = false; |
| 565 |
|
$message = __( 'No price packages found to merge!', 'invoicing' ); |
|
@@ 619-623 (lines=5) @@
|
| 616 |
|
|
| 617 |
|
$wpi_gdp_inv_merge = false; |
| 618 |
|
|
| 619 |
|
if ( $count > 0 ) { |
| 620 |
|
$message = sprintf( _n( 'Total <b>%d</b> invoice is merged successfully.', 'Total <b>%d</b> invoices are merged successfully.', $count, 'invoicing' ), $count ); |
| 621 |
|
} else { |
| 622 |
|
$message = __( 'No invoices merged.', 'invoicing' ); |
| 623 |
|
} |
| 624 |
|
} else { |
| 625 |
|
$success = false; |
| 626 |
|
$message = __( 'No invoices found to merge!', 'invoicing' ); |
|
@@ 679-683 (lines=5) @@
|
| 676 |
|
} |
| 677 |
|
} |
| 678 |
|
|
| 679 |
|
if ( $count > 0 ) { |
| 680 |
|
$message = sprintf( _n( 'Total <b>%d</b> coupon is merged successfully.', 'Total <b>%d</b> coupons are merged successfully.', $count, 'invoicing' ), $count ); |
| 681 |
|
} else { |
| 682 |
|
$message = __( 'No coupons merged.', 'invoicing' ); |
| 683 |
|
} |
| 684 |
|
} else { |
| 685 |
|
$success = false; |
| 686 |
|
$message = __( 'No coupons found to merge!', 'invoicing' ); |