Changeset 106844 in spip-zone


Ignore:
Timestamp:
Oct 13, 2017, 3:47:45 PM (2 years ago)
Author:
abelass@…
Message:

v 1.3.9

  • compatibilité spip 3.2
  • convertir float en decimal
Location:
_plugins_/reservations_bank
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/reservations_bank/branches/v1/base/reservation_bank.php

    r103237 r106844  
    2929
    3030        //Ajouter un champ montant_paye à la table spip_reservations_details
    31         $tables['spip_reservations_details']['field']['montant_paye'] = "float NOT NULL DEFAULT '0'";
     31        $tables['spip_reservations_details']['field']['montant_paye'] = "decimal(15,2) NOT NULL DEFAULT '0.00'";
    3232        $tables['spip_reservations_details']['champs_editables'][] = "montant_paye";
    3333
  • _plugins_/reservations_bank/branches/v1/paquet.xml

    r105584 r106844  
    22        prefix="reservation_bank"
    33        categorie="outil"
    4         version="1.3.8"
     4        version="1.3.9"
    55        etat="test"
    6         compatibilite="[3.0.20;3.1.*]"
     6        compatibilite="[3.0.20;3.2.*]"
    77        logo="prive/themes/spip/images/reservation_bank-64.png"
    88        documentation="https://contrib.spip.net/Reservation-Bank-4877"
    9         schema="1.0.0"
     9        schema="1.1.0"
    1010>
    1111        <nom>Réservations Bank</nom>
     
    1414        <licence>GNU/GPL</licence>
    1515
    16         <necessite nom="saisies" compatibilite="[2.5.29;]" />
    17         <necessite nom="reservation_evenement" compatibilite="[1.25.3;]" />
    18         <necessite nom="bank" compatibilite="[3.3.9;]" />
    19         <necessite nom="prix" compatibilite="[0.1.13;]" />
     16        <necessite nom="saisies" compatibilite="[2.19.1;]" />
     17        <necessite nom="reservation_evenement" compatibilite="[1.27.0;]" />
     18        <necessite nom="bank" compatibilite="[3.5.9;]" />
     19        <necessite nom="prix" compatibilite="[0.1.15;]" />
    2020
    2121        <pipeline nom="formulaire_charger" inclure="reservation_bank_pipelines.php" />
  • _plugins_/reservations_bank/branches/v1/reservation_bank_administrations.php

    r103236 r106844  
    4141                )
    4242        );
     43        $maj['1.1.0']  = array(
     44                array('sql_alter','TABLE spip_reservations_details CHANGE montant_paye montant_paye decimal(15,2) NOT NULL DEFAULT "0.00"'),
     45        );
    4346
    4447        include_spip('base/upgrade');
  • _plugins_/reservations_bank/trunk/base/reservation_bank.php

    r103236 r106844  
    2929
    3030        //Ajouter un champ montant_paye à la table spip_reservations_details
    31         $tables['spip_reservations_details']['field']['montant_paye'] = "float NOT NULL DEFAULT '0'";
     31        $tables['spip_reservations_details']['field']['montant_paye'] = "decimal(15,2) NOT NULL DEFAULT '0.00'";
    3232        $tables['spip_reservations_details']['champs_editables'][] = "montant_paye";
    3333
  • _plugins_/reservations_bank/trunk/paquet.xml

    r105584 r106844  
    22        prefix="reservation_bank"
    33        categorie="outil"
    4         version="1.3.8"
     4        version="1.3.9"
    55        etat="test"
    6         compatibilite="[3.0.20;3.1.*]"
     6        compatibilite="[3.0.20;3.2.*]"
    77        logo="prive/themes/spip/images/reservation_bank-64.png"
    88        documentation="https://contrib.spip.net/Reservation-Bank-4877"
    9         schema="1.0.0"
     9        schema="1.1.0"
    1010>
    1111        <nom>Réservations Bank</nom>
     
    1414        <licence>GNU/GPL</licence>
    1515
    16         <necessite nom="saisies" compatibilite="[2.5.29;]" />
    17         <necessite nom="reservation_evenement" compatibilite="[1.25.3;]" />
    18         <necessite nom="bank" compatibilite="[3.3.9;]" />
    19         <necessite nom="prix" compatibilite="[0.1.13;]" />
     16        <necessite nom="saisies" compatibilite="[2.19.1;]" />
     17        <necessite nom="reservation_evenement" compatibilite="[1.27.0;]" />
     18        <necessite nom="bank" compatibilite="[3.5.9;]" />
     19        <necessite nom="prix" compatibilite="[0.1.15;]" />
    2020
    2121        <pipeline nom="formulaire_charger" inclure="reservation_bank_pipelines.php" />
  • _plugins_/reservations_bank/trunk/reservation_bank_administrations.php

    r103233 r106844  
    4141                )
    4242        );
     43        $maj['1.1.0']  = array(
     44                array('sql_alter','TABLE spip_reservations_details CHANGE montant_paye montant_paye decimal(15,2) NOT NULL DEFAULT "0.00"'),
     45        );
    4346
    4447        include_spip('base/upgrade');
Note: See TracChangeset for help on using the changeset viewer.