[form] page_title= add_form_title= view_form_title= edit_form_title= id_column_name=con_id form_validation=1 form_name=frm_edit form_method=POST enctype= form_action=/contract data_collection_name=filter_info edit_link=/master-data/view-customer?customer_id= back_link=/master-data/index cancel_link=/system-configuration/view-meter?meter_id= form_element_type= [dropdowns] ;id name data_collection_name cssClass rows value id_column_name text_column_name select_text multiple ;--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- am_id, am_id, filter_info, validate[required], appentice_mood, am_id, am_id, am_mode, -- ALL --, 0 tm_id, tm_id, filter_info, validate[required], training_mood, tm_id, tm_id, tm_mode, -- ALL --, 0 reading_mode, reading_mode, meter_info, width-200, dropdown_reading_mode, reading_mode, reading_mode, reading_mode, , , [hidden fields] ;field_id, value_filed, ;-------------------------------------------------------- selected_year, selected_year ;meter_full_name, meter_full_name [fields] ;caption, type, display_mode, field_id, value_filed, cssClass, required(1 or 0), compare_filed, row_css ; 0 or null = All ; 1 = Edit only ; 2 = Add only ; 3 = View only ;-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Reason, text, , reason, reason, , , , col-md-6 Last Date , date, , lastDate, lastDate, form-control, , , col-md-6 [buttons] ;button_ype, button_id, button_caption, css_style, button_location, button_mode ;(button/submit/rest) left/right 0 = View | 1 = Edit ;-------------------------------------------------------------------------------------------------------------------------------------------------------- ;submit, btn_save, Search, btn-primary, right, 1 [script] function submit_drop() { ids = get_row_ids(); if(ids == '' ) { confirm("Please select some contracts to drop"); }else { var reason_txt = $("#reason").val(); var lastDate = $("#lastDate").val(); postwith('/contract/update-drop', {ids:ids,reason_txt:reason_txt,lastDate:lastDate}); } ; //alert('/studio/order-search?'+search_key+'='+search_txt); }