Exemple #1
0
     if ($file) {
         fclose($file);
     }
     if ($newf) {
         fclose($newf);
         //           return true;
         return $json = array('success' => true, 'msg' => 'save file ok');
     } else {
         //         return false;
         return $json = array('success' => false, 'msg' => 'Can not save file ' . $newfname);
     }
 }
 /**  ANH DUNG Sep 08, 2014
 *  @to do: save file from internet
Exemple #2
0
            </tr>
        </tbody>
    </table>
    <table class="report">
        <thead>
            <tr class="fsize_11">
                <th>TRXN NO</th>
                <th>DESCRIPTION</th>
                <th>CLIENT TYPE</th>
                <th>GROSS COMM. (<?php 
echo MyFormat::getSignCurrency();
?>
)</th>
                <th>COMM. %</th>
                <th>NET AMOUNT (<?php 
echo MyFormat::getSignCurrency();
?>
)</th>
            </tr>
        </thead>
        <tfoot>
                <tr>
                <td colspan="6">&nbsp;</td>
            </tr>
                <tr>
                <td colspan="5">CONSULTANT GROSS COMM:</td>
                <td><?php 
echo $voucher_number_11_text;
?>
</td>
            </tr>