</tbody> <tfoot> <tr> <td style=" text-align: center; font-weight: bold;" colspan="4"> รวมทั้งสิ้น </td> <td style=" text-align: right; font-weight: bold;" valign='bottom'> <?php echo number_format($model->income, 2); ?> </td> </tr> <tr> <td colspan="5" style=" text-align: right; font-weight: bold;"> <b>( <?php echo $thaibaht->convert($model->income); ?> )</b> </td> </tr> <tr> <td colspan="5" style=" text-align: center;"> ในนาม <?php echo $company['companyname']; ?> </td> </tr> </tfoot> </table>
</tbody> <tfoot> <tr> <td style=" text-align: center; font-weight: bold;" colspan="4"> รวมทั้งสิ้น </td> <td style=" text-align: right; font-weight: bold;" valign='bottom'> <?php echo number_format($model['income'], 2); ?> </td> </tr> <tr> <td colspan="5" style=" text-align: right; font-weight: bold;"> <b>( <?php echo $thaibaht->convert($model['income']); ?> )</b> </td> </tr> <tr> <td colspan="5" style=" text-align: center;"> ในนาม <?php echo $company['companyname']; ?> </td> </tr> </tfoot> </table>
</tbody> <tfoot> <tr> <td style=" text-align: center; font-weight: bold;" colspan="4"> รวมทั้งสิ้น </td> <td style=" text-align: right; font-weight: bold; color:red;" valign='bottom'> <?php echo number_format($total + $out_assign, 2); ?> </td> </tr> <tr> <td colspan="5" style=" text-align: right; font-weight: bold; color:red;"> <b>( <?php echo $thaibaht->convert($total + $out_assign); ?> )</b> </td> </tr> <tr> <td colspan="5" style=" text-align: center; font-weight: bold;">จึงเรียนมาเพื่อทราบ</td> </tr> <tr> <td colspan="5" style=" text-align: center;"> ในนาม <?php echo $company['companyname']; ?> </td> </tr> <tr>
</tbody> <tfoot> <tr> <td style=" text-align: center; font-weight: bold;" colspan="4"> รวมทั้งสิ้น </td> <td style=" text-align: right; font-weight: bold;" valign='bottom'> <?php echo number_format($sum, 2); ?> </td> </tr> <tr> <td colspan="5" style=" text-align: right; font-weight: bold;"> <b>( <?php echo $thaibaht->convert($sum); ?> )</b> </td> </tr> <tr> <td colspan="5" style=" text-align: center;"> ในนาม <?php echo $company['companyname']; ?> </td> </tr> </tfoot> </table>