removed duplicate itemwise sales register
diff --git a/accounts/search_criteria/itemwise_sales_register1/__init__.py b/accounts/search_criteria/itemwise_sales_register1/__init__.py
deleted file mode 100644
index e69de29..0000000
--- a/accounts/search_criteria/itemwise_sales_register1/__init__.py
+++ /dev/null
diff --git a/accounts/search_criteria/itemwise_sales_register1/itemwise_sales_register1.js b/accounts/search_criteria/itemwise_sales_register1/itemwise_sales_register1.js
deleted file mode 100755
index b2bc8a9..0000000
--- a/accounts/search_criteria/itemwise_sales_register1/itemwise_sales_register1.js
+++ /dev/null
@@ -1,19 +0,0 @@
-report.customize_filters = function() {
- this.hide_all_filters();
- filter_list = ['From Voucher Date', 'To Voucher Date', 'Debit To', 'From Posting Date', 'To Posting Date']
- for(var i=0;i<filter_list.length;i++)
- this.filter_fields_dict['Receivable Voucher'+FILTER_SEP +filter_list[i]].df.filter_hide = 0;
-
- this.filter_fields_dict['RV Detail'+FILTER_SEP +'Item'].df.filter_hide = 0;
- this.filter_fields_dict['RV Detail'+FILTER_SEP +'Item Group'].df.filter_hide = 0;
- this.filter_fields_dict['RV Detail'+FILTER_SEP +'Brand Name'].df.filter_hide = 0;
- this.filter_fields_dict['RV Detail'+FILTER_SEP +'Cost Center'].df.filter_hide = 0;
-
- this.filter_fields_dict['Receivable Voucher'+FILTER_SEP +'From Posting Date'].df.in_first_page = 1;
- this.filter_fields_dict['Receivable Voucher'+FILTER_SEP +'To Posting Date'].df.in_first_page = 1;
- this.filter_fields_dict['RV Detail'+FILTER_SEP +'Item'].df.in_first_page = 1;
-
- this.filter_fields_dict['Receivable Voucher'+FILTER_SEP +'From Posting Date'].df['report_default'] = sys_defaults.year_start_date;
- this.filter_fields_dict['Receivable Voucher'+FILTER_SEP +'To Posting Date'].df['report_default'] = dateutil.obj_to_str(new Date());
- this.filter_fields_dict['Receivable Voucher'+FILTER_SEP +'Company'].df['report_default']=sys_defaults.company
-}
diff --git a/accounts/search_criteria/itemwise_sales_register1/itemwise_sales_register1.py b/accounts/search_criteria/itemwise_sales_register1/itemwise_sales_register1.py
deleted file mode 100755
index 7f1e4fb..0000000
--- a/accounts/search_criteria/itemwise_sales_register1/itemwise_sales_register1.py
+++ /dev/null
@@ -1,26 +0,0 @@
-#adding columns
-cl = [c[0] for c in sql("select distinct account_head from `tabRV Tax Detail` where parenttype='Receivable Voucher' and docstatus=1 order by idx asc")]
-
-cl+=['Total Tax', 'Grand Total']
-for c in cl:
- colnames.append(c)
- coltypes.append('Currency')
- colwidths.append('100px')
- coloptions.append('')
-
-cl = cl[:-2]
-for r in res:
- total_tax = 0
- qty = flt(r[col_idx['Qty']] or 0)
- amt = flt(r[col_idx['Amount*']] or 0)
- for c in cl:
- val = sql("select t1.tax_amount, t2.net_total from `tabRV Tax Detail` t1, `tabReceivable Voucher` t2 where t2.name = %s and t1.parent = %s and t1.parenttype='Receivable Voucher' and t1.account_head = %s", (r[col_idx['ID']],r[col_idx['ID']], c))
- tax = val and flt(val[0][0]) or 0
- net_total = val and flt(val[0][1]) or 0
- if tax != 0:
- tax = amt*tax/net_total
- total_tax += tax
-
- r.append(tax)
- r.append(total_tax)
- r.append(amt + total_tax)
diff --git a/accounts/search_criteria/itemwise_sales_register1/itemwise_sales_register1.txt b/accounts/search_criteria/itemwise_sales_register1/itemwise_sales_register1.txt
deleted file mode 100644
index 50e52c1..0000000
--- a/accounts/search_criteria/itemwise_sales_register1/itemwise_sales_register1.txt
+++ /dev/null
@@ -1,37 +0,0 @@
-[
- {
- 'add_col': None,
- 'add_cond': None,
- 'add_tab': None,
- 'columns': 'RV Detail\x01Item,RV Detail\x01Item Name,RV Detail\x01Item Group,Receivable Voucher\x01ID,Receivable Voucher\x01Voucher Date,Receivable Voucher\x01Posting Date,Receivable Voucher\x01Debit To,RV Detail\x01Cost Center,Receivable Voucher\x01Territory,RV Detail\x01Qty,RV Detail\x01Basic Rate*,RV Detail\x01Amount*',
- 'creation': '2011-01-20 12:49:18',
- 'criteria_name': 'Itemwise Sales Register',
- 'custom_query': '',
- 'description': None,
- 'dis_filters': None,
- 'disabled': None,
- 'doc_type': 'RV Detail',
- 'docstatus': 0,
- 'doctype': 'Search Criteria',
- 'filters': "{'Receivable Voucher\x01Submitted':1,'Receivable Voucher\x01Is Opening':'','Receivable Voucher\x01Fiscal Year':''}",
- 'graph_series': None,
- 'graph_values': None,
- 'group_by': None,
- 'idx': None,
- 'modified': '2011-01-19 15:56:31',
- 'modified_by': 'Administrator',
- 'module': 'Accounts',
- 'name': 'itemwise_sales_register1',
- 'owner': 'Administrator',
- 'page_len': 50,
- 'parent': None,
- 'parent_doc_type': 'Receivable Voucher',
- 'parentfield': None,
- 'parenttype': None,
- 'report_script': '',
- 'server_script': None,
- 'sort_by': '`tabReceivable Voucher`.`name`',
- 'sort_order': 'DESC',
- 'standard': 'Yes'
- }
-]
\ No newline at end of file