Index: branches/5.1.x/units/zones/zones_config.php =================================================================== diff -u -N -r14257 -r14534 --- branches/5.1.x/units/zones/zones_config.php (.../zones_config.php) (revision 14257) +++ branches/5.1.x/units/zones/zones_config.php (.../zones_config.php) (revision 14534) @@ -1,6 +1,6 @@ Array ( 'default' => Array ( 'new_status_labels' => Array ('z' => '!la_title_AddingShippingZone!'), - 'edit_status_labels' => Array ('z' => '!la_title_EditingShippingZone!'), - ), + 'edit_status_labels' => Array ('z' => '!la_title_EditingShippingZone!'), + ), 'zones_edit' => Array ( 'prefixes' => Array ('z'), 'format' => "#z_status# - '#z_titlefield#'"), ), 'TableName' => TABLE_PREFIX . 'ShippingZones', @@ -59,7 +59,7 @@ 'ShippingTypeID' => Array ('type' => 'int', 'not_null' => 1, 'default' => 0, ), 'Name' => Array ( 'type' => 'string', 'max_len' => 100, - 'required' => 1, 'default' => '', 'not_null' => 1, + 'required' => 1, 'default' => '', 'not_null' => 1, 'error_msgs' => Array ('required' => 'Please fill in'), ), 'Type' => Array ( @@ -69,7 +69,7 @@ 1 => 'la_ByCountry', 2 => 'la_ByState', 3 => 'la_ByZIP' - ), + ), 'not_null' => 1, 'default' => 1, ), 'CODallowed' => Array ( @@ -89,10 +89,10 @@ 'module' => 'core', ), 'Fields' => Array ( - 'ZoneID' => Array ( 'title' => 'la_col_Id', 'data_block' => 'grid_checkbox_td', 'filter_block' => 'grid_range_filter', 'width' => 50, ), - 'Name' => Array ( 'title' => 'la_col_ShipZoneName', 'filter_block' => 'grid_like_filter', 'width' => 250, ), - 'Type' => Array ( 'title' => 'la_col_Type', 'filter_block' => 'grid_options_filter', 'width' => 100, ), - 'CODallowed' => Array ( 'title' => 'la_col_CODallowed', 'filter_block' => 'grid_options_filter', 'width' => 120, ) + 'ZoneID' => Array ( 'title' => 'column:la_fld_Id', 'data_block' => 'grid_checkbox_td', 'filter_block' => 'grid_range_filter', 'width' => 50, ), + 'Name' => Array ( 'title' => 'column:la_fld_ShipZoneName', 'filter_block' => 'grid_like_filter', 'width' => 250, ), + 'Type' => Array ( 'filter_block' => 'grid_options_filter', 'width' => 100, ), + 'CODallowed' => Array ( 'filter_block' => 'grid_options_filter', 'width' => 120, ) ), ), ), Index: branches/5.1.x/units/reports/reports_event_handler.php =================================================================== diff -u -N -r14257 -r14534 --- branches/5.1.x/units/reports/reports_event_handler.php (.../reports_event_handler.php) (revision 14257) +++ branches/5.1.x/units/reports/reports_event_handler.php (.../reports_event_handler.php) (revision 14534) @@ -1,6 +1,6 @@ Array ( 'CategoryName' => Array ('title' => 'la_col_CategoryName', 'filter_block' => 'grid_like_filter'), - 'Qty' => Array ('title' => 'la_col_Qty', 'td_style' => 'text-align: center', 'total' => 'sum', 'filter_block' => 'grid_range_filter'), + 'Qty' => Array ('td_style' => 'text-align: center', 'total' => 'sum', 'filter_block' => 'grid_range_filter'), 'StoreQty' => Array ('title' => 'la_col_StoreQty', 'td_style' => 'text-align: center', 'total' => 'sum', 'filter_block' => 'grid_range_filter'), 'eBayQty' => Array ('title' => 'la_col_eBayQty', 'td_style' => 'text-align: center', 'total' => 'sum', 'filter_block' => 'grid_range_filter'), - 'Cost' => Array ('title' => 'la_col_Cost', 'td_style' => 'text-align: right', 'total' => 'sum', 'hidden' => 1, 'filter_block' => 'grid_float_range_filter'), + 'Cost' => Array ('td_style' => 'text-align: right', 'total' => 'sum', 'hidden' => 1, 'filter_block' => 'grid_float_range_filter'), 'Amount' => Array ('title' => 'la_col_GMV', 'td_style' => 'text-align: right', 'total' => 'sum', 'filter_block' => 'grid_float_range_filter'), 'StoreAmount' => Array ('title' => 'la_col_StoreGMV', 'td_style' => 'text-align: right', 'total' => 'sum', 'filter_block' => 'grid_float_range_filter'), 'eBayAmount' => Array ('title' => 'la_col_eBayGMV', 'td_style' => 'text-align: right', 'total' => 'sum', 'filter_block' => 'grid_float_range_filter'), @@ -436,11 +436,11 @@ 'module' => 'core', ), 'Fields' => Array ( - 'Login' => Array ('title' => 'la_col_Login', 'filter_block' => 'grid_like_filter'), - 'FirstName' => Array ('title' => 'la_col_FirstName', 'filter_block' => 'grid_like_filter'), - 'LastName' => Array ('title' => 'la_col_LastName', 'filter_block' => 'grid_like_filter'), - 'Qty' => Array ('title' => 'la_col_Qty', 'td_style' => 'text-align: center', 'total' => 'sum', 'filter_block' => 'grid_range_filter'), - 'Cost' => Array ('title' => 'la_col_Cost', 'td_style' => 'text-align: right', 'total' => 'sum', 'filter_block' => 'grid_float_range_filter'), + 'Login' => Array ('filter_block' => 'grid_like_filter'), + 'FirstName' => Array ('filter_block' => 'grid_like_filter'), + 'LastName' => Array ('filter_block' => 'grid_like_filter'), + 'Qty' => Array ('td_style' => 'text-align: center', 'total' => 'sum', 'filter_block' => 'grid_range_filter'), + 'Cost' => Array ('td_style' => 'text-align: right', 'total' => 'sum', 'filter_block' => 'grid_float_range_filter'), 'Amount' => Array ('title' => 'la_col_GMV', 'td_style' => 'text-align: right', 'total' => 'sum', 'filter_block' => 'grid_float_range_filter'), 'Tax' => Array ('title' => 'la_col_Tax', 'td_style' => 'text-align: right', 'total' => 'sum', 'filter_block' => 'grid_float_range_filter'), 'Shipping' => Array ('title' => 'la_col_Shipping', 'td_style' => 'text-align: right', 'total' => 'sum', 'filter_block' => 'grid_float_range_filter'), @@ -475,10 +475,10 @@ ), 'Fields' => Array ( 'ProductName' => Array ('title' => 'la_col_ProductName', 'filter_block' => 'grid_like_filter'), - 'Qty' => Array ('title' => 'la_col_Qty', 'td_style' => 'text-align: center', 'total' => 'sum', 'filter_block' => 'grid_range_filter'), + 'Qty' => Array ('td_style' => 'text-align: center', 'total' => 'sum', 'filter_block' => 'grid_range_filter'), 'StoreQty' => Array ('title' => 'la_col_StoreQty', 'td_style' => 'text-align: center', 'total' => 'sum', 'filter_block' => 'grid_range_filter'), 'eBayQty' => Array ('title' => 'la_col_eBayQty', 'td_style' => 'text-align: center', 'total' => 'sum', 'filter_block' => 'grid_range_filter'), - 'Cost' => Array ('title' => 'la_col_Cost', 'td_style' => 'text-align: right', 'total' => 'sum', 'hidden' => 1, 'filter_block' => 'grid_float_range_filter'), + 'Cost' => Array ('td_style' => 'text-align: right', 'total' => 'sum', 'hidden' => 1, 'filter_block' => 'grid_float_range_filter'), 'Amount' => Array ('title' => 'la_col_GMV', 'td_style' => 'text-align: right', 'total' => 'sum', 'filter_block' => 'grid_float_range_filter'), 'StoreAmount' => Array ('title' => 'la_col_StoreGMV', 'td_style' => 'text-align: right', 'total' => 'sum', 'filter_block' => 'grid_float_range_filter'), 'eBayAmount' => Array ('title' => 'la_col_eBayGMV', 'td_style' => 'text-align: right', 'total' => 'sum', 'filter_block' => 'grid_float_range_filter'), @@ -543,8 +543,8 @@ ), 'Fields' => Array( 'Marketplace' => Array ('title' => 'la_col_Marketplace', 'filter_block' => 'grid_options_filter'), - 'Qty' => Array ('title' => 'la_col_Qty', 'td_style' => 'text-align: center', 'total' => 'sum', 'filter_block' => 'grid_range_filter'), - 'Cost' => Array ('title' => 'la_col_Cost', 'td_style' => 'text-align: right', 'total' => 'sum', 'filter_block' => 'grid_float_range_filter'), + 'Qty' => Array ('td_style' => 'text-align: center', 'total' => 'sum', 'filter_block' => 'grid_range_filter'), + 'Cost' => Array ('td_style' => 'text-align: right', 'total' => 'sum', 'filter_block' => 'grid_float_range_filter'), 'Amount' => Array ('title' => 'la_col_GMV', 'td_style' => 'text-align: right', 'total' => 'sum', 'filter_block' => 'grid_float_range_filter'), 'Tax' => Array ('title' => 'la_col_Tax', 'td_style' => 'text-align: right', 'total' => 'sum', 'filter_block' => 'grid_float_range_filter'), 'Shipping' => Array ('title' => 'la_col_Shipping', 'td_style' => 'text-align: right', 'total' => 'sum', 'filter_block' => 'grid_float_range_filter'), Index: branches/5.1.x/units/pricing/pricing_config.php =================================================================== diff -u -N -r14257 -r14534 --- branches/5.1.x/units/pricing/pricing_config.php (.../pricing_config.php) (revision 14257) +++ branches/5.1.x/units/pricing/pricing_config.php (.../pricing_config.php) (revision 14534) @@ -1,6 +1,6 @@ 1, 'default' => 0, ), 'GroupId' => Array ('type' => 'int', 'default' => 0, 'not_null' => 1), - + /* TODO implement these fields in business logic 'AccessRebillDate' => Array ( 'type'=> 'int', 'min_value' => 0, 'max_value' => 31, 'not_null'=> '1', 'default' => 0, @@ -123,30 +123,13 @@ ), 'Grids' => Array ( - /* - 'Default' => Array ( - 'Icons' => Array ( - 'default' => 'icon16_item.png', - 'module' => 'core', - ), - 'Fields' => Array ( - 'MinQty' => Array ( 'title'=> 'la_col_MinQty', 'data_block' => 'grid_checkbox_td', 'filter_block' => 'grid_range_filter'), - 'MaxQty' => Array ( 'title'=> 'la_col_MaxQty', 'filter_block' => 'grid_range_filter'), - 'Price' => Array ( 'title'=> 'la_col_Price', 'filter_block' => 'grid_range_filter'), - 'Points' => Array ( 'title'=> 'la_col_Points', 'filter_block' => 'grid_range_filter'), - 'Cost' => Array ( 'title'=> 'la_col_Cost', 'filter_block' => 'grid_range_filter'), - 'Negotiated' => Array ( 'title'=> 'la_col_Negotiated', 'data_block' => 'negotiated_td', 'filter_block' => 'grid_options_filter'), - ), - - ), - */ 'Access' => Array ( 'Icons' => Array ('default'=> 'icon16_pricing.gif', '0'=> 'icon16_pricing.gif', '1'=> 'icon16_pricing_primary.gif'), 'Fields' => Array ( - 'AccessDuration' => Array ( 'title'=> 'la_col_AccessDuration', 'data_block' => 'grid_checkbox_td', 'filter_block' => 'grid_range_filter'), - 'AccessUnit' => Array ( 'title'=> 'la_col_AccessDurationUnit', 'filter_block' => 'grid_options_filter'), - 'Description' => Array ( 'title'=> 'la_col_Description', 'filter_block' => 'grid_like_filter'), - 'Price' => Array ( 'title'=> 'la_col_Price', 'filter_block' => 'grid_float_range_filter'), + 'AccessDuration' => Array ('data_block' => 'grid_checkbox_td', 'filter_block' => 'grid_range_filter'), + 'AccessUnit' => Array ( 'title'=> 'column:la_fld_AccessDurationUnit', 'filter_block' => 'grid_options_filter'), + 'Description' => Array ('filter_block' => 'grid_like_filter'), + 'Price' => Array ( 'filter_block' => 'grid_float_range_filter'), ), ), Index: branches/5.1.x/admin_templates/affiliate_plans/affiliate_plans_brackets.tpl =================================================================== diff -u -N -r14257 -r14534 --- branches/5.1.x/admin_templates/affiliate_plans/affiliate_plans_brackets.tpl (.../affiliate_plans_brackets.tpl) (revision 14257) +++ branches/5.1.x/admin_templates/affiliate_plans/affiliate_plans_brackets.tpl (.../affiliate_plans_brackets.tpl) (revision 14534) @@ -162,8 +162,8 @@ - - + + Index: branches/5.1.x/units/addresses/addresses_config.php =================================================================== diff -u -N -r14257 -r14534 --- branches/5.1.x/units/addresses/addresses_config.php (.../addresses_config.php) (revision 14257) +++ branches/5.1.x/units/addresses/addresses_config.php (.../addresses_config.php) (revision 14534) @@ -1,6 +1,6 @@ Array('type'=>'string', 'default' => ''), ), - 'Grids' => Array(), - ); \ No newline at end of file Index: branches/5.1.x/units/manufacturers/manufacturers_config.php =================================================================== diff -u -N -r14257 -r14534 --- branches/5.1.x/units/manufacturers/manufacturers_config.php (.../manufacturers_config.php) (revision 14257) +++ branches/5.1.x/units/manufacturers/manufacturers_config.php (.../manufacturers_config.php) (revision 14534) @@ -1,6 +1,6 @@ Array ( 'default' => Array ( 'new_status_labels' => Array ('manuf' => '!la_title_AddingManufacturer!'), - 'edit_status_labels' => Array ('manuf' => '!la_title_EditingManufacturer!'), + 'edit_status_labels' => Array ('manuf' => '!la_title_EditingManufacturer!'), ), 'manuf_list' => Array ( 'prefixes' => Array ('manuf_List'), 'format' => "!la_title_Manufacturers!", @@ -120,10 +120,10 @@ 'module' => 'core', ), 'Fields' => Array ( - 'ManufacturerId' => Array ('title' => 'la_col_Id', 'data_block' => 'grid_checkbox_td', 'filter_block' => 'grid_range_filter', 'width' => 60, ), + 'ManufacturerId' => Array ('title' => 'column:la_fld_Id', 'data_block' => 'grid_checkbox_td', 'filter_block' => 'grid_range_filter', 'width' => 60, ), 'Name' => Array ('title' => 'la_col_ManufacturerName', 'filter_block' => 'grid_like_filter', 'width' => 200, ), 'IsPopular' => Array ('title' => 'la_col_IsPopular', 'filter_block' => 'grid_options_filter', 'width' => 100, ), - 'URL' => Array ('title' => 'la_col_URL', 'filter_block' => 'grid_like_filter', 'width' => 250, ), + 'URL' => Array ('filter_block' => 'grid_like_filter', 'width' => 250, ), ), ), ), Index: branches/5.1.x/admin_templates/products/products_pricing_grid.tpl =================================================================== diff -u -N -r14257 -r14534 --- branches/5.1.x/admin_templates/products/products_pricing_grid.tpl (.../products_pricing_grid.tpl) (revision 14257) +++ branches/5.1.x/admin_templates/products/products_pricing_grid.tpl (.../products_pricing_grid.tpl) (revision 14534) @@ -89,17 +89,17 @@
- - - - + + + + - + - +