Subversion Repositories VORC

Rev

Rev 53 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 53 Rev 55
Line 230... Line 230...
230
        $F{assignee_id} = $h->a ({ onClick=>"window.open('make_shift_change.pl?change=lookup&id=$R->{$primary}','Confirm Shift Change','resizable,height=260,width=370'); return false;" }, "[ADD USER]");
230
        $F{assignee_id} = $h->a ({ onClick=>"window.open('make_shift_change.pl?change=lookup&id=$R->{$primary}','Confirm Shift Change','resizable,height=260,width=370'); return false;" }, "[ADD USER]");
231
      }
231
      }
232
      $F{doubletime} = $F{doubletime} ? "TRUE" : "FALSE";
232
      $F{doubletime} = $F{doubletime} ? "TRUE" : "FALSE";
Line 233... Line 233...
233
      
233
      
234
      $actionbutton = formField ("choice", "Update");
234
      $actionbutton = formField ("choice", "Update");
235
      if ($view eq "POSTSAVE") {
235
      if ($view eq "POSTSAVE" or $choice eq "View") {
236
        $actionbutton .= formField ("Cancel", "Back", "POSTSAVE");
236
        $actionbutton .= formField ("Cancel", "Back", "POSTSAVE");
237
      } else {
237
      } else {
238
        $actionbutton .= formField ("Cancel", "Back");
238
        $actionbutton .= formField ("Cancel", "Back");
239
      }
239
      }