$i = 0;?>
$i = 0;?>
foreach ( $this -> task['text_history'] as $history ):?>
endforeach;?>
= htmlspecialchars_decode( $history['text'] );?>
Nowa treść
Dodaj element do checklisty
Checklista
if ( is_array( $this -> task['actions'] ) ): foreach( $this -> task['actions'] as $action ):?>
endforeach; endif;?>
= date( 'Y-m-d H:i', strtotime( $action['date_add'] ) );?> | = $action['name'];?>
Historia
-
foreach ( $this -> task['history_works'] as $history ):?>
-
= \factory\Users::user_details( $history['user_id'] )['name'];?> = \factory\Users::user_details( $history['user_id'] )['surname'];?> = $history['text'];?>$date_start = new DateTime( $history['date_start'] ); $date_end = new DateTime( $history['date_end'] ); $interval = $date_start -> diff( $date_end ); echo $interval -> format( '%H:%I:%S' ); ?>
endforeach;?>