Changeset 372 for trunk/Modules/Member/Member.php
- Timestamp:
- Jan 19, 2012, 1:58:03 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Member/Member.php
r371 r372 3 3 class MemberOptionsView extends View 4 4 { 5 function __construct( )5 function __construct($Database) 6 6 { 7 parent::__construct($Database); 7 8 $this->Title = 'Nastavení domácnosti'; 8 $this-> Table = '(SELECT Member.Id, Member.InternetTariffNextMonth, Member.FamilyMemberCount, Subject.Name, Subject.AddressStreet, Subject.AddressTown, Subject.AddressPSC, Subject.IC, Subject.DIC FROM Member JOIN Subject ON Subject.Id = Member.Subject)';9 AddItemString('Name', 'Fakturační jméno', '');10 AddItemString('AddressStreet', 'Ulice', '');11 AddItemString('AddressTown', 'Město', '');12 AddItemString('PSC', 'PSČ', '');13 AddItemString('IC', 'IČ', '');14 AddItemString('DIC', 'DIČ', '');15 AddItemInteger('FamiltyMemberCount', 'Počet osob v domácnosti', '');16 AddItemOneToMany('BillingPeriodNext', 'Požadované fakturační období', '');17 AddItemOneToMany('InternetTariffNextMonth', 'Tarif internetu od dalšího období', 2);9 $this->ModelName = '(SELECT Member.Id, Member.InternetTariffNextMonth, Member.FamilyMemberCount, Subject.Name, Subject.AddressStreet, Subject.AddressTown, Subject.AddressPSC, Subject.IC, Subject.DIC FROM Member JOIN Subject ON Subject.Id = Member.Subject)'; 10 $this->AddItemString('Name', 'Fakturační jméno', ''); 11 $this->AddItemString('AddressStreet', 'Ulice', ''); 12 $this->AddItemString('AddressTown', 'Město', ''); 13 $this->AddItemString('PSC', 'PSČ', ''); 14 $this->AddItemString('IC', 'IČ', ''); 15 $this->AddItemString('DIC', 'DIČ', ''); 16 $this->AddItemInteger('FamilyMemberCount', 'Počet osob v domácnosti', ''); 17 $this->AddItemOneToMany('BillingPeriodNext', 'Požadované fakturační období', 'FinanceBillingPeriod', ''); 18 $this->AddItemOneToMany('InternetTariffNextMonth', 'Tarif internetu od dalšího období', 'FinanceTariff', 2); 18 19 } 19 20 }
Note:
See TracChangeset
for help on using the changeset viewer.