Exemple #1
0
            <tr  style="border:0px !important;">
                <td style="text-align:right; background-color:#f2f2f2; border:1px solid #333;"><b>Grand Total</b></td>
                <td style="border:1px solid #333; background-color:#f2f2f2;"><b><?php 
echo Yii::$app->mastercode->Rupiah($hsl);
?>
</b></td>
            </tr>

        </tbody>
    </table>

<br/><br/>
<?php 
$ship = Nmperusahaan::find()->where(['ID' => $model->SHIPPING])->one();
$bill = Nmperusahaan::find()->where(['ID' => $model->BILLING])->one();
?>
    <div class="row">
        <div class="col-xs-12 col-sm-6 col-md-6">
            <h3><u>&nbsp;&nbsp;Shipping Address :&nbsp;&nbsp;</u></h3>
            <?php 
echo '<b>' . $ship->NM_ALAMAT . '</b></br>';
echo $ship->ALAMAT_LENGKAP . '</br></br>';
echo 'Tlp : ' . $ship->TLP . '</br>';
echo 'Fax : ' . $ship->FAX . '</br>';
echo 'CP&nbsp; : ' . $ship->CP . '</br>';
?>
        </div>
        <div class="col-xs-12 col-sm-6 col-md-6">
            <h3><u>&nbsp;&nbsp;Billing Address :&nbsp;&nbsp;</u></h3>
            <?php 
Exemple #2
0
" onchange="hrga()" onkeypress="hrga()" onkeyup="hrga()"/>
				</td>
			</tr>

			<tr>
				<td style="text-align:right; font-size:13pt; font-weight:bold;">Total</td>
				<td>
					<input type="text" name="ttlHrgPjk" id="ttlHrgPjk" value="" disabled />
				</td>
			</tr>

		</tbody>
	</table>	

	<?php 
$nmpr = Nmperusahaan::find()->all();
?>
<div class="row form-horizontal">
  <div class="col-xs-12 col-sm-12 col-md-12">
	  <div class="form-group">
	    <label for="inputEmail3" class="col-sm-2 control-label">Shipping Address</label>
	    <div class="col-sm-5">
			<select class="form-control" name="shipping" required>
					<option value=""> -- PILIH --</option>
				<?php 
foreach ($nmpr as $nm) {
    ?>
					<option value="<?php 
    echo $nm->ID;
    ?>
" <?php