<div class='panel panel-default margin-top-20' id='pending-loas'> <div class='panel-heading'>Pending Leaves of Absence</div> <table class='table table-striped table-hover' id='ploas'> <thead> <tr> <th>Member name</th> <th class="hidden-xs">Reason</th> <th class="hidden-xs hidden-sm">End Date</th> <th class='text-center'>Status</th> </tr> </thead> <tbody> <?php $pendingLoas = LeaveOfAbsence::find_pending($division->id); ?> <?php foreach ($pendingLoas as $player) { ?> <tr data-member-id='<?php echo $player->member_id; ?> ' data-loa-id='<?php echo $player->id; ?> ' data-comment='<?php echo $player->comment; ?> '>