/[Frey]/trunk/lib/App/RoomReservation/Reservation.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/lib/App/RoomReservation/Reservation.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1152 by dpavlin, Wed Jul 1 22:25:11 2009 UTC revision 1160 by dpavlin, Thu Jul 2 15:56:40 2009 UTC
# Line 88  has _seat_number => ( Line 88  has _seat_number => (
88          isa => 'Int',          isa => 'Int',
89  );  );
90    
91    has _canceled => (
92            is => 'rw',
93            isa => 'Bool',
94            default => sub { 0 },
95    );
96    
97    sub form_labels {{
98            ime => 'Ime',
99            prezime => 'Prezime',
100            institucija => 'Institucija',
101            zanimaje => 'Zanimanje',
102            grad => 'Grad',
103            drzava => 'Država',
104            telefon => 'Telefon',
105            mobitel => 'Mobitel',
106            email => 'e-mail adresa',
107            verify => 'unesite ponovo',
108    }}
109    
110  sub BUILD {  sub BUILD {
111          my $self = shift;          my $self = shift;
112          my $email = $self->email;          my $email = $self->email;
# Line 134  sub create_as_markup { Line 153  sub create_as_markup {
153          my $sth = $self->dbh->prepare( $sql );          my $sth = $self->dbh->prepare( $sql );
154          $sth->execute( @vals );          $sth->execute( @vals );
155    
156          return $self->send_confirmation_message( email => $self->email );          return $self->seat_confirmation_message( email => $self->email );
157    
158  }  }
159    

Legend:
Removed from v.1152  
changed lines
  Added in v.1160

  ViewVC Help
Powered by ViewVC 1.1.26