Example #1
0
<style type="text/css">
    body{color: #666666; font-size: 12px;}
    table tr td{ border-left: #000000 solid 1px; border-bottom: #000000 solid 1px; padding: 5px;}
    table tr th{ border-left: #000000 solid 1px; border-bottom: #000000 solid 1px;  border-top: #000000 solid 1px; padding: 5px; text-align: left; font-weight: bold;}
    table{ border-right: #000000 solid 1px;}
    table tr th p{ margin-bottom: 10px;}
    #line{ color: #FFF; font-size: 5px;}
</style>
<?php 
use yii\helpers\Url;
$affiliated = new app\models\Affiliated();
$truck_model = new \app\models\AffiliatedTruck();
$config = new \app\models\Config_system();
//$driver = new app\models\Driver();
$customer_model = new \app\models\Customer();
$changwat_model = new app\models\Changwat();
$producttype_model = new app\models\ProductType();
?>
<h3>
    สรุปรายรับ - รายจ่าย รหัสปฏิบัติงาน <?php 
echo $order_id;
?>
</h3>
<?php 
$employer = $customer_model->find()->where(['cus_id' => $model->employer])->one();
?>
<b>ผู้ว่าจ้าง :</b> <?php 
echo $employer['company'];
?>
  <br/>
<b>ที่อยู่ : </b> <?php 
Example #2
0
<style type="text/css">
    body{color: #666666; font-size: 12px;}
    table tr td{ border-left: #000 solid 1px; border-bottom: #000 solid 1px; padding: 5px;}
    table tr th{ border-left: #000 solid 1px; border-bottom: #000 solid 1px; border-top: #000 solid 1px; padding: 5px; text-align: left; font-weight: normal;}
    table{ border-right: #000 solid 1px;}
    table tr th p{ margin-bottom: 10px;}
    #line{ color: #FFF; font-size: 5px;}
</style>
<?php 
use yii\helpers\Url;
$truck_model = new \app\models\Truck();
$config = new \app\models\Config_system();
$driver = new app\models\Driver();
$customer_model = new \app\models\Customer();
$changwat_model = new app\models\Changwat();
$producttype_model = new app\models\ProductType();
$thaibaht = new app\models\Thaibaht();
$company_model = new \app\models\Company();
$company = $company_model->find()->one();
?>
<!--
    #ข้อมูลใบปฏิบัติงาน
    Comment By Kimniyom
-->
<div style=" position: absolute; left: 50px; top: 30px;">
    <div style="width: 80px;">
        <img src="<?php 
echo Url::to('@web/web/uploads/logo/' . $company['logo'], true);
?>
"/>
    </div>
Example #3
0
<style type="text/css">
    table tbody td{ white-space: nowrap;}
    table thead th{ white-space: nowrap;}
</style>
<?php 
use yii\helpers\Url;
$config = new app\models\Config_system();
$order = new app\models\OrdersTransportAffiliated();
$assign = new \app\models\AssignAffiliated();
$changwat = new \app\models\Changwat();
function get_customer($cus_id = null)
{
    $customer = new app\models\Customer();
    $cs = $customer->find()->where(['cus_id' => $cus_id])->one();
    return $cs['company'];
}
?>

<table class="table table-bordered table-striped" id="history_affiliated">
    <thead>
        <tr>
            <th>#</th>
            <th>รหัสปฏิบัติงาน</th>
            <th>วันที่(ไป - กลับ)</th>
            <th>คนขับ</th>
            <th>สถานที่ส่ง</th>
            <th>เส้นทาง</th>
            <th>ค่าขนสินค้า</th>
        </tr>
    </thead>
    <tbody>
Example #4
0
<style type="text/css">
    body{color: #666666; font-size: 12px;}
    table tr td{ border-left: #000000 solid 1px; border-bottom: #000000 solid 1px; padding: 5px;}
    table tr th{ border-left: #000000 solid 1px; border-bottom: #000000 solid 1px; border-top: #000000 solid 1px; padding: 5px; text-align: left; font-weight: normal;}
    table{ border-right: #000000 solid 1px;}
    table tr th p{ margin-bottom: 10px;}
</style>
<?php 
use yii\helpers\Url;
$truck_model = new \app\models\Truck();
$config = new \app\models\Config_system();
$driver = new app\models\Driver();
$customer_model = new \app\models\Customer();
$changwat_model = new app\models\Changwat();
$producttype_model = new app\models\ProductType();
?>
<!--
    #ข้อมูลใบปฏิบัติงาน
    Comment By Kimniyom
-->
<div style=" width: 100%; position: relative;">
    <div style="width: 80px; float: left;">
        <img src="<?php 
echo Url::to('@web/web/images/logo.jpg');
?>
"/>
    </div>
    <div style="float: left; padding-top: 5px;">
       
    </div>
</div>
Example #5
0
<?php

use yii\helpers\Url;
$changwat = new app\models\Changwat();
$customer = new \app\models\Customer();
$config = new \app\models\Config_system();
?>
<div class="box box-info table-responsive">
    <table class="table table-striped table-bordered">
        <thead>
            <tr>
                <th>#</th>
                <th>วันที่</th>
                <th>ใบสั่งงาน</th>
                <th>ลูกค้า</th>
                <th>ระยะทาง</th>
                <th style=" text-align: center;">เบี้ยเลี้ยง</th>
            </tr>
        </thead>
        <tbody>
            <?php 
$i = 0;
foreach ($result as $rs) {
    $i++;
    ?>
                <tr>
                    <td><?php 
    echo $i;
    ?>
</td>
                    <td><?php