hide `trial_period_end` and `invoices` if empty
diff --git a/erpnext/accounts/doctype/subscriptions/subscriptions.json b/erpnext/accounts/doctype/subscriptions/subscriptions.json
index acadf65..61f83e1 100644
--- a/erpnext/accounts/doctype/subscriptions/subscriptions.json
+++ b/erpnext/accounts/doctype/subscriptions/subscriptions.json
@@ -270,6 +270,7 @@
    "bold": 0, 
    "collapsible": 0, 
    "columns": 0, 
+   "depends_on": "eval:doc.trial_period_start", 
    "fieldname": "trial_period_end", 
    "fieldtype": "Date", 
    "hidden": 0, 
@@ -617,7 +618,7 @@
    "bold": 0, 
    "collapsible": 0, 
    "columns": 0, 
-   "depends_on": "eval(doc.invoices)", 
+   "depends_on": "eval:doc.invoices", 
    "fieldname": "sb_3", 
    "fieldtype": "Section Break", 
    "hidden": 0, 
@@ -686,7 +687,7 @@
  "issingle": 0, 
  "istable": 0, 
  "max_attachments": 0, 
- "modified": "2018-02-26 05:07:43.969220", 
+ "modified": "2018-02-26 05:14:02.269620", 
  "modified_by": "Administrator", 
  "module": "Accounts", 
  "name": "Subscriptions",