X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=modules%2Fpayment.php;h=1fa7639d195ee71dd961ca889101f0c9b7669907;hb=9b947ed0b79a856d8702a054f374da0c897c5226;hp=edee6fe4134892c815957e11b9fe85a904c4fbd1;hpb=93d42b4fcc6f055a428c9b63e386ac62c918d08a;p=platal.git diff --git a/modules/payment.php b/modules/payment.php index edee6fe..1fa7639 100644 --- a/modules/payment.php +++ b/modules/payment.php @@ -454,6 +454,11 @@ class PaymentModule extends PLModule $table_editor->describe('amount_max','montant maximum',false); $table_editor->describe('mail','email contact',true); $table_editor->describe('confirmation','message confirmation',false); + + // adds a column with the start date of the linked event if there is one + $table_editor->add_option_table('group_events','group_events.paiement_id = t.id'); + $table_editor->add_option_field('group_events.debut', 'related_event', 'évènement', 'timestamp'); + $table_editor->apply($page, $action, $id); } }