<?php
$module_name='stu_ventas_detalle';
$subpanel_layout = array (
  'top_buttons' => 
  array (
    0 => 
    array (
      'widget_class' => 'SubPanelTopCreateButton',
    ),
    1 => 
    array (
      'widget_class' => 'SubPanelTopSelectButton',
      'popup_module' => 'stu_ventas_detalle',
    ),
  ),
  'where' => '',
  'list_fields' => 
  array (
    'name' => 
    array (
      'vname' => 'LBL_NAME',
      'widget_class' => 'SubPanelDetailViewLink',
      'width' => '45%',
      'default' => true,
    ),
    'cantidad' => 
    array (
      'type' => 'int',
      'vname' => 'LBL_CANTIDAD',
      'width' => '10%',
      'default' => true,
    ),
    'aos_productos_name' => 
    array (
      'type' => 'relate',
      'studio' => 'visible',
      'vname' => 'LBL_AOS_PRODUCTOS_NAME',
      'id' => 'AOS_PRODUCTS_ID_C',
      'link' => true,
      'width' => '10%',
      'default' => true,
      'widget_class' => 'SubPanelDetailViewLink',
      'target_module' => 'AOS_Products',
      'target_record_key' => 'aos_products_id_c',
    ),
    'stu_tallas_name' => 
    array (
      'type' => 'relate',
      'studio' => 'visible',
      'vname' => 'LBL_STU_TALLAS_NAME',
      'id' => 'STU_TALLAS_ID_C',
      'link' => true,
      'width' => '10%',
      'default' => true,
      'widget_class' => 'SubPanelDetailViewLink',
      'target_module' => 'stu_tallas',
      'target_record_key' => 'stu_tallas_id_c',
    ),
    'stu_colores_name' => 
    array (
      'type' => 'relate',
      'studio' => 'visible',
      'vname' => 'LBL_STU_COLORES_NAME',
      'id' => 'STU_COLORES_ID_C',
      'link' => true,
      'width' => '10%',
      'default' => true,
      'widget_class' => 'SubPanelDetailViewLink',
      'target_module' => 'stu_colores',
      'target_record_key' => 'stu_colores_id_c',
    ),
    'stu_linea_name' => 
    array (
      'type' => 'relate',
      'studio' => 'visible',
      'vname' => 'LBL_STU_LINEA_NAME',
      'id' => 'STU_LINEA_ID_C',
      'link' => true,
      'width' => '10%',
      'default' => true,
      'widget_class' => 'SubPanelDetailViewLink',
      'target_module' => 'stu_linea',
      'target_record_key' => 'stu_linea_id_c',
    ),
    'stu_colecciones_name' => 
    array (
      'type' => 'relate',
      'studio' => 'visible',
      'vname' => 'LBL_STU_COLECCIONES_NAME',
      'id' => 'STU_COLECCIONES_ID_C',
      'link' => true,
      'width' => '10%',
      'default' => true,
      'widget_class' => 'SubPanelDetailViewLink',
      'target_module' => 'stu_Colecciones',
      'target_record_key' => 'stu_colecciones_id_c',
    ),
    'edit_button' => 
    array (
      'vname' => 'LBL_EDIT_BUTTON',
      'widget_class' => 'SubPanelEditButton',
      'module' => 'stu_ventas_detalle',
      'width' => '4%',
      'default' => true,
    ),
  ),
);