brotherton-erpnext/buying/search_criteria/itemwise_purchase_details/itemwise_purchase_details.js
2011-07-01 13:34:41 +05:30

5 lines
291 B
JavaScript

report.customize_filters = function() {
this.filter_fields_dict['Purchase Order'+FILTER_SEP +'From PO Date'].df['report_default'] = sys_defaults.year_start_date;
this.filter_fields_dict['Purchase Order'+FILTER_SEP +'To PO Date'].df['report_default'] = dateutil.obj_to_str(new Date());
}