/**
 * The Mining layer module.
 *
 * @return MiningLayer class (extends CartoDBLayerClass)
 */
define([
  'abstract/layer/CartoDBLayerClass',
], function(CartoDBLayerClass) {

  'use strict';

  var KhmProtectedAreasLayer = CartoDBLayerClass.extend({

    options: {
      sql: "SELECT \'{tableName}\' as tablename, cartodb_id, the_geom_webmercator, name_en as name, round((size_ha::float)/10000) as area_ha, category, to_char(issuedate, 'MM/DD/YYYY') as date_create, \'{tableName}\' AS layer, {analysis} AS analysis FROM {tableName}" ,
      infowindow: true,
      interactivity: 'cartodb_id, tablename, name, category, date_create, area_ha, analysis',
      analysis: true
    }
    


  });

  return KhmProtectedAreasLayer;

});
@@ -347,19 +347,8 @@
 tor,
- name_en as
  nam
@@ -360,24 +360,15 @@
 und(
-(
 size_ha
-::float)
 /100
@@ -382,16 +382,29 @@
 area_ha,
+ type_area as
  categor
@@ -720,8 +720,9 @@
 er;%0A%0A%7D);
+%0A

change column names on pas