private JPanel getAproveCarPanel() {
        pnlaproveCarPanel = new JPanel();
        aproveAllOnCar = new JCheckBox();

        aproveAllOnCar.setText(" Vælg alle på bilen");
        aproveAllOnCar.setFont(MyConstants.FONT_HEADER_TEXT);
        aproveAllOnCar.addActionListener(new java.awt.event.ActionListener() {

            @Override
            public void actionPerformed(ActionEvent ae) {
                for (int i = 0; model.getRowCount() > i; i++) {
                    model.setValueAt(true, i, 5);
                }
                model.fireTableDataChanged();
            }
        }
        );

        btnAproveTimesheet = new JButton();

        btnAproveTimesheet.setFont(MyConstants.FONT_BUTTON_FONT); // NOI18N
        btnAproveTimesheet.setBackground(MyConstants.COLOR_GREEN);
        btnAproveTimesheet.setForeground(Color.WHITE);
        btnAproveTimesheet.setText("<html><body marginwidth=30 marginheight=20>Godkend Timerne</body></html>");
        btnAproveTimesheet.setActionCommand("<html><body marginwidth=30 marginheight=20>Godkend Timerne</body></html>");

        btnAproveTimesheet.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                boolean ok = true;
                for (int i = 0; model.getRowCount() > i; i++) {
                    String coment = "";
                    Time_Sheet t = model.getTimeSheet(i);
                    if (model.getValueAt(i, 5).equals(false)) {
                        coment = JOptionPane.showInputDialog("Kometar til timesedlen på " + t.getFireman().getFirstName() + " " + t.getFireman().getLastName());
                        if(coment== null){
                            ok = false;
                            break;
                        }
                    }
                    if(ok){                        
                        approvalSheet = new ApprovalSheet(LogIn.getFiremanStatic(), coment, (boolean) model.getValueAt(i, 5), (Integer) model.getValueAt(i, 4));
                        try {
                            tsa.aproveTimesheetByTimesheetId(t, approvalSheet);
                            
                        } catch (SQLException ex) {
                            JOptionPane.showMessageDialog(ViewObjectTimeSheet.this, "Der er sket en database fejl, kontakt system administrator  " + ex);
                            ex.printStackTrace();
                        }
                    }
                }
                if(ok){
                    ViewObjectTimeSheet.this.setVisible(false);
                }

            }
        });

        pnlaproveCarPanel.setLayout(new FlowLayout());

        pnlaproveCarPanel.add(btnAproveTimesheet);
        pnlaproveCarPanel.add(aproveAllOnCar);
        return pnlaproveCarPanel;
    }