Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- PHP notice
- Undefined variable: isdirb
- C:\wamp\www\eproma2\protected\models\Company.php(567)
- 555 if ($isejo < $atejo)
- 556 {
- 557 echo '-------<br/>';
- 558 $pertrauk = date_diff($isejo, $atejo);
- 559 if (is_object($isdirb))
- 560 {
- 561 echo $pertrauk->format('H:i:s').' = '.$atejo->format('H:i:s').' - '.$isejo->format('H:i:s').'<br/>';
- 562 }
- 563 echo '-------<br/>';
- 564 }
- 565 }
- 566 }
- 567 if (is_object($isdirb) && is_object($pertrauk) && is_object($darbo_laikas) && is_object($pertraukos_laikas))
- 568 {
- 569 $darbo_laikas->add($isdirb);
- 570 $pertraukos_laikas->add($pertrauk);
- 571 }
- 572 $kint++;
- 573 }
- 574 } echo '***********<br/>';
- 575 $lentele .= '<tr><td colspan=2></td><td>Darbo laikas:</td><td>'.$isdirb->format('H:i:s').'</td></tr>';
- 576 $lentele .= '<tr><td colspan=2></td><td>Pertraukos laikas:</td><td>'.$pertrauk->format('H:i:s').'</td></tr>';
- 577 }
- 578
- 579 }
Advertisement
Add Comment
Please, Sign In to add comment