Conjunto a39ba88 en sipes


Ignorar:
Fecha y hora:
12/07/2016 11:49:59 (hace 8 años)
Autor:
lhernandez <lhernandez@…>
Branches:
stable, version-3.0
Children:
2e777a4
Parents:
7a1dc07
Mensaje:

se agregaron las nuevas funcionalidades referentes al monto

Fichero:
1 editado

Leyenda

No modificado
Añadido
Eliminado
  • 0.3-modules/proyectos_operativos/accion_especifica.install

    r303fae2 ra39ba88  
    33703370    ),
    33713371  );
     3372//SE AGREGA EL MONTO A FINANCIAR
     3373  $content['fields'][] = array (
     3374    'label' => 'Monto a Financiar',
     3375    'type_name' => 'accion_especifica',
     3376    'field_name' => 'field_accion_esp_monto_finan',
     3377    'type' => 'number_decimal',
     3378    'widget_type' => 'number',
     3379    'change' => 'Change basic information',
     3380    'weight' => '29',
     3381    'description' => '',
     3382    'default_value' =>
     3383    array (
     3384      0 =>
     3385      array (
     3386        'value' => '',
     3387        '_error_element' => 'default_value_widget][field_accion_esp_monto_finan][0][value',
     3388      ),
     3389    ),
     3390    'default_value_php' => '',
     3391    'default_value_widget' =>
     3392    array (
     3393      'field_accion_esp_monto_finan' =>
     3394      array (
     3395        0 =>
     3396        array (
     3397          'value' => '',
     3398          '_error_element' => 'default_value_widget][field_accion_esp_monto_finan][0][value',
     3399        ),
     3400      ),
     3401    ),
     3402    'required' => 0,
     3403    'multiple' => '0',
     3404    'min' => '0',
     3405    'max' => '',
     3406    'precision' => '32',
     3407    'scale' => '2',
     3408    'decimal' => '.',
     3409    'prefix' => '',
     3410    'suffix' => '',
     3411    'allowed_values' => '',
     3412    'allowed_values_php' => '',
     3413    'op' => 'Save field settings',
     3414    'module' => 'number',
     3415    'widget_module' => 'number',
     3416    'columns' =>
     3417    array (
     3418      'value' =>
     3419      array (
     3420        'type' => 'numeric',
     3421        'precision' => '32',
     3422        'scale' => '2',
     3423        'not null' => false,
     3424        'sortable' => true,
     3425      ),
     3426    ),
     3427    'display_settings' =>
     3428    array (
     3429      'label' =>
     3430      array (
     3431        'format' => 'above',
     3432        'exclude' => 0,
     3433      ),
     3434      'teaser' =>
     3435      array (
     3436        'format' => 'default',
     3437        'exclude' => 0,
     3438      ),
     3439      'full' =>
     3440      array (
     3441        'format' => 'default',
     3442        'exclude' => 0,
     3443      ),
     3444      4 =>
     3445      array (
     3446        'format' => 'default',
     3447        'exclude' => 0,
     3448      ),
     3449      'inline' =>
     3450      array (
     3451        'format' => 'default',
     3452        'exclude' => 0,
     3453      ),
     3454      'modal' =>
     3455      array (
     3456        'format' => 'default',
     3457        'exclude' => 0,
     3458      ),
     3459      'token' =>
     3460      array (
     3461        'format' => 'default',
     3462        'exclude' => 0,
     3463      ),
     3464    ),
     3465  );
     3466//SE AGREGA EL TOTAL A FINANCIAR
     3467  $content['fields'][] = array (
     3468    'label' => 'Total Fuentes',
     3469    'type_name' => 'accion_especifica',
     3470    'field_name' => 'field_accion_esp_total_fuent',
     3471    'type' => 'number_decimal',
     3472    'widget_type' => 'number',
     3473    'change' => 'Change basic information',
     3474    'weight' => '29',
     3475    'description' => '',
     3476    'default_value' =>
     3477    array (
     3478      0 =>
     3479      array (
     3480        'value' => '',
     3481        '_error_element' => 'default_value_widget][field_accion_esp_total_fuent][0][value',
     3482      ),
     3483    ),
     3484    'default_value_php' => '',
     3485    'default_value_widget' =>
     3486    array (
     3487      'field_accion_esp_monto_finan' =>
     3488      array (
     3489        0 =>
     3490        array (
     3491          'value' => '',
     3492          '_error_element' => 'default_value_widget][field_accion_esp_total_fuent][0][value',
     3493        ),
     3494      ),
     3495    ),
     3496    'required' => 0,
     3497    'multiple' => '0',
     3498    'min' => '0',
     3499    'max' => '',
     3500    'precision' => '32',
     3501    'scale' => '2',
     3502    'decimal' => '.',
     3503    'prefix' => '',
     3504    'suffix' => '',
     3505    'allowed_values' => '',
     3506    'allowed_values_php' => '',
     3507    'op' => 'Save field settings',
     3508    'module' => 'number',
     3509    'widget_module' => 'number',
     3510    'columns' =>
     3511    array (
     3512      'value' =>
     3513      array (
     3514        'type' => 'numeric',
     3515        'precision' => '32',
     3516        'scale' => '2',
     3517        'not null' => false,
     3518        'sortable' => true,
     3519      ),
     3520    ),
     3521    'display_settings' =>
     3522    array (
     3523      'label' =>
     3524      array (
     3525        'format' => 'above',
     3526        'exclude' => 0,
     3527      ),
     3528      'teaser' =>
     3529      array (
     3530        'format' => 'default',
     3531        'exclude' => 0,
     3532      ),
     3533      'full' =>
     3534      array (
     3535        'format' => 'default',
     3536        'exclude' => 0,
     3537      ),
     3538      4 =>
     3539      array (
     3540        'format' => 'default',
     3541        'exclude' => 0,
     3542      ),
     3543      'inline' =>
     3544      array (
     3545        'format' => 'default',
     3546        'exclude' => 0,
     3547      ),
     3548      'modal' =>
     3549      array (
     3550        'format' => 'default',
     3551        'exclude' => 0,
     3552      ),
     3553      'token' =>
     3554      array (
     3555        'format' => 'default',
     3556        'exclude' => 0,
     3557      ),
     3558    ),
     3559  );
     3560//SE AGREGA EL TOTAL de la meta
     3561  $content['fields'][] = array (
     3562    'label' => 'Meta Total',
     3563    'type_name' => 'accion_especifica',
     3564    'field_name' => 'field_accion_esp_total_meta',
     3565    'type' => 'number_decimal',
     3566    'widget_type' => 'number',
     3567    'change' => 'Change basic information',
     3568    'weight' => '29',
     3569    'description' => '',
     3570    'default_value' =>
     3571    array (
     3572      0 =>
     3573      array (
     3574        'value' => '',
     3575        '_error_element' => 'default_value_widget][field_accion_esp_total_meta][0][value',
     3576      ),
     3577    ),
     3578    'default_value_php' => '',
     3579    'default_value_widget' =>
     3580    array (
     3581      'field_accion_esp_monto_finan' =>
     3582      array (
     3583        0 =>
     3584        array (
     3585          'value' => '',
     3586          '_error_element' => 'default_value_widget][field_accion_esp_total_meta][0][value',
     3587        ),
     3588      ),
     3589    ),
     3590    'required' => 0,
     3591    'multiple' => '0',
     3592    'min' => '0',
     3593    'max' => '',
     3594    'precision' => '32',
     3595    'scale' => '2',
     3596    'decimal' => '.',
     3597    'prefix' => '',
     3598    'suffix' => '',
     3599    'allowed_values' => '',
     3600    'allowed_values_php' => '',
     3601    'op' => 'Save field settings',
     3602    'module' => 'number',
     3603    'widget_module' => 'number',
     3604    'columns' =>
     3605    array (
     3606      'value' =>
     3607      array (
     3608        'type' => 'numeric',
     3609        'precision' => '32',
     3610        'scale' => '2',
     3611        'not null' => false,
     3612        'sortable' => true,
     3613      ),
     3614    ),
     3615    'display_settings' =>
     3616    array (
     3617      'label' =>
     3618      array (
     3619        'format' => 'above',
     3620        'exclude' => 0,
     3621      ),
     3622      'teaser' =>
     3623      array (
     3624        'format' => 'default',
     3625        'exclude' => 0,
     3626      ),
     3627      'full' =>
     3628      array (
     3629        'format' => 'default',
     3630        'exclude' => 0,
     3631      ),
     3632      4 =>
     3633      array (
     3634        'format' => 'default',
     3635        'exclude' => 0,
     3636      ),
     3637      'inline' =>
     3638      array (
     3639        'format' => 'default',
     3640        'exclude' => 0,
     3641      ),
     3642      'modal' =>
     3643      array (
     3644        'format' => 'default',
     3645        'exclude' => 0,
     3646      ),
     3647      'token' =>
     3648      array (
     3649        'format' => 'default',
     3650        'exclude' => 0,
     3651      ),
     3652    ),
     3653  );
    33723654  return $content;
    33733655}
Nota: Vea TracChangeset para ayuda en el uso del visor de conjuntos de cambios.