repost button removed from closing entry voucher
diff --git a/erpnext/accounts/doctype/period_closing_voucher/period_closing_voucher.js b/erpnext/accounts/doctype/period_closing_voucher/period_closing_voucher.js
index a27ecce..830092b 100644
--- a/erpnext/accounts/doctype/period_closing_voucher/period_closing_voucher.js
+++ b/erpnext/accounts/doctype/period_closing_voucher/period_closing_voucher.js
@@ -20,17 +20,6 @@
if (!doc.transaction_date) doc.transaction_date = dateutil.obj_to_str(new Date());
}
-cur_frm.cscript.refresh = function(doc, cdt, cdn) {
- hide_field('repost_account_balances');
- hide_field('next_fiscal_year');
- hide_field('repost');
-
- if (doc.docstatus == 1) {
- unhide_field('repost_account_balances');
- unhide_field('next_fiscal_year');
- unhide_field('repost');
- }
-}
// ***************** Get Account Head *****************
cur_frm.fields_dict['closing_account_head'].get_query = function(doc, cdt, cdn) {