<?php

$model_company = new MasCompany();
$model_company = $model_company->findByPK(Yii::app()->user->master_user_company_id);
$address       = $model_company->billing_address;
$city          = $model_company->billing_city;
?>

<!DOCTYPE html">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />        
        <title>PICKING LIST</title>         
    </head>
    <body>
    <!-- <div class="heading">
        <div class="logo col-6">

        </div>
        <div class="companay_name col-6 text-right">
        </div>
    </div> -->
    <div class="">
        <div class="col-6">
            <br>
            
                <!--<span style="color:#1e62a3;font-size: 18px;margin-bottom: 25px"><b><?php// echo $title." # ".$model->id;?></b></span><br>-->
                <div class="h3" style="margin-top: 0;margin-bottom: 0;">
                    <?php echo "PICKING LIST"; ?>
                </div>
                <?php  ?>
                <div class="input-block">
                    <b><?php echo $model->file_id; ?></b>
                </div>
                <b><?php echo strtoupper($model->customer->customer_name); ?></b><br>
                <?php if($model->billing_address != '') {     ?>       
               <small><?php echo strtoupper(nl2br($model->billing_address)); ?></small><br>
                   <?php } ?>      
               <?php if($model->customer->customer_phone_no !='') { ?>        
               <small>Phone : <?php echo strtoupper($model->customer->customer_phone_no); ?></small><br>
               <?php } ?>
                <br>
            
        </div>
        <div class="col-5 offset-1" style="color:#101010;">
            <div class="text-right">
                <img src="<?php echo 'images/logo/'.Yii::app()->user->pdf_company_logo; ?>" class="logo">
            </div>
            <br />
            <br />
            <br />
            <br />
            
            
        </div>
        <div class="col-12">
            <?php echo $product_items; ?>
        </div>
        </br>
    </div>
    
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
 <htmlpagefooter name="myfooter">

            <div style="text-align:center;width:100%;font-size:10px"><?php echo Yii::app()->user->footer_autogenerated; ?>
        <?php
                  date_default_timezone_set("Asia/Dubai");
                 echo date('d/m/Y')." ".date("h:i:sa"); ?>
    </div>

    
        <div style="border-top: 1px dotted #000000; font-size: 12px; text-align: center; padding-top: 10px; background-color: #d7faeb;">
            <div style="text-align:center;width:100%">
                <b><?php echo Yii::app()->user->footer_line_1; ?></b><br>
                <?php echo Yii::app()->user->footer_line_2; ?>
            </div>
            <div style="text-align:center;width:100%">Page {PAGENO} of {nb} </div>
        </div>
    </htmlpagefooter>
</body>
 
</html>