<?php


//All this setting can be configured accordingly for the view display
  	
  	//===Row Limit per page========
	$limit=50;
  
  	
    //===Search Label =============
    //no need to specify field for search after v7.1 framework
	//$listing_search_label[1]="Name";
	//$listing_search_label[2]="User ID";
	//$listing_search_label[3]="Email";
	
		
	//===Search Fields==========
	$listing_search_field[1]="rth_doc_no";
	$listing_search_field[2]="rth_customer_code";
	$listing_search_field[3]="rth_customer_name";
	$listing_search_field[4]="rth_status";
	$listing_search_field[5]="rth_date";
	
	
	
        
        
        
  	//===Header Label =============
  	$listing_header[1]="Modified Date";
	$listing_header[2]="Doc. No.";
	$listing_header[3]="Customer Code";
	$listing_header[4]="Customer Name";
	$listing_header[5]="Date";
	$listing_header[6]="Total Amount(Rounded)";
	$listing_header[7]="Status";
	$listing_header[8]="Device";
	
		
	//===Database Fields==========
	$listing_content[1]="modified_date";
	$listing_content[2]="rth_doc_no";
	$listing_content[3]="rth_customer_code";
	$listing_content[4]="rth_customer_name";
	$listing_content[5]="rth_date";
	$listing_content[6]="rth_total_amount_rounded";
	$listing_content[7]="rth_status";
	$listing_content[8]="device_id";
	
	
	
	//===Column width==========
	$listing_width[1]="120";
	$listing_width[2]="100";
	$listing_width[3]="100";
	$listing_width[4]="150";
	$listing_width[5]="80";
	$listing_width[6]="80";
	$listing_width[7]="80";
	$listing_width[8]="100";
	
	
	
        //===Column align==========
	$listing_align[1]="left";
    	$listing_align[2]="left";
    	$listing_align[3]="left";
	$listing_align[4]="left";
	$listing_align[5]="left";
	$listing_align[6]="right";
	$listing_align[7]="left";
	$listing_align[8]="left";
	
    
        
	//==Listing Url===============
	$this_url="mod/transaction_return/index.php";
	$display_url="mod/transaction_return/display.php";
	
	

	
	
	//===Main SQL query=============
    $query="SELECT * , date_format(modified_date,'%d-%m-%Y') as modified_date_f FROM $form_table_name ";
	//$query=$query." where client_id = '".$CurrentUserID."' ";
	$query=$query." where ifnull(client_id,0) >= 0 ";
    
	
	//==Action Button Setting======
	$action_cell=true;
	$action_cell_edit=false;
	$action_cell_delete=false;
?>