[freeside-commits] branch FREESIDE_4_BRANCH updated. 0505597728b8a0b9b0f3b97c2e3c0607b869f92f

Ivan ivan at 420.am
Wed Sep 6 11:20:52 PDT 2017


The branch, FREESIDE_4_BRANCH has been updated
       via  0505597728b8a0b9b0f3b97c2e3c0607b869f92f (commit)
      from  72f91c20c1bd2690e17e1bc44e99fefb219ec8d2 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 0505597728b8a0b9b0f3b97c2e3c0607b869f92f
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Wed Sep 6 11:20:51 2017 -0700

    warning if product/service code import wasn't run, RT#77163, RT#75262

diff --git a/httemplate/browse/part_pkg_taxproduct/compliance_solutions.html b/httemplate/browse/part_pkg_taxproduct/compliance_solutions.html
index bbcb687..b5936da 100644
--- a/httemplate/browse/part_pkg_taxproduct/compliance_solutions.html
+++ b/httemplate/browse/part_pkg_taxproduct/compliance_solutions.html
@@ -53,6 +53,9 @@ function category_changed(what) {
       jopt( $('#product_code'), '', 'Select product code' );
 
       var part_pkg_taxproduct = reply.part_pkg_taxproduct;
+      if ( part_pkg_taxproduct.length == 0 ) {
+        alert('No compliance solutions product codes found; did you run freeside-compliance_solutions-import?');
+      }
       for ( var s = 0; s < part_pkg_taxproduct.length; s=s+2 ) {
         var product_code = part_pkg_taxproduct[s];
         var description = part_pkg_taxproduct[s+1];

-----------------------------------------------------------------------

Summary of changes:
 httemplate/browse/part_pkg_taxproduct/compliance_solutions.html |    3 +++
 1 file changed, 3 insertions(+)




More information about the freeside-commits mailing list