<?php
$popupMeta = array (
    'moduleMain' => 'AOS_Products',
    'varName' => 'AOS_Products',
    'orderBy' => 'aos_products.name',
    'whereClauses' => array (
  'name' => 'aos_products.name',
  'part_number' => 'aos_products.part_number',
  'cost' => 'aos_products.cost',
  'price' => 'aos_products.price',
),
    'searchInputs' => array (
  1 => 'name',
  4 => 'part_number',
  5 => 'cost',
  6 => 'price',
),
    'searchdefs' => array (
  'name' => 
  array (
    'name' => 'name',
    'width' => '10%',
  ),
  'part_number' => 
  array (
    'name' => 'part_number',
    'width' => '10%',
  ),
  'cost' => 
  array (
    'name' => 'cost',
    'width' => '10%',
  ),
  'price' => 
  array (
    'name' => 'price',
    'width' => '10%',
  ),
),
    'listviewdefs' => array (
  'PRODUCT_IMAGE' => 
  array (
    'width' => '10%',
    'label' => 'LBL_PRODUCT_IMAGE',
    'default' => true,
    'name' => 'product_image',
  ),
  'NAME' => 
  array (
    'width' => '25%',
    'label' => 'LBL_NAME',
    'default' => true,
    'link' => true,
    'name' => 'name',
  ),
  'STOCK' => 
  array (
    'type' => 'float',
    'default' => true,
    'label' => 'LBL_STOCK',
    'width' => '10%',
    'name' => 'stock',
  ),
  'FRAGANCIA_C' => 
  array (
    'type' => 'DynamicEnum',
    'default' => true,
    'studio' => 'visible',
    'label' => 'LBL_FRAGANCIA',
    'width' => '10%',
    'name' => 'fragancia_c',
  ),
  'PRICE' => 
  array (
    'width' => '10%',
    'label' => 'LBL_PRICE',
    'currency_format' => true,
    'default' => true,
    'name' => 'price',
  ),
),
);
