Esempio n. 1
0
					 <tr>
						<th class="col-md-1" style="text-align: center; vertical-align:middle; height:40px">
							<?php 
$ttd1 = $model->SIG1_SVGBASE64 != '' ? '<img style="width:80; height:40px" src=' . $model->SIG1_SVGBASE64 . '></img>' : SignCreated($model);
echo $ttd1;
?>
						</th>
						<th class="col-md-1" style="text-align: center; vertical-align:middle">
							<?php 
$ttd2 = $model->SIG2_SVGBASE64 != '' ? '<img style="width:80; height:40px" src=' . $model->SIG2_SVGBASE64 . '></img>' : SignChecked($model);
echo $ttd2;
?>
						</th>
						<th  class="col-md-1" style="text-align: center; vertical-align:middle">
							<?php 
$ttd3 = $model->SIG3_SVGBASE64 != '' ? '<img style="width:80; height:40px" src=' . $model->SIG3_SVGBASE64 . '></img>' : SignApproved($model);
echo $ttd3;
?>
						</th>
					</tr>
					<!--Nama !-->
					 <tr>
						<th class="col-md-1" style="text-align: center; vertical-align:middle;height:20; background-color:rgba(126, 189, 188, 0.3);text-align: center;">
							<div>
								<?php 
$sigNm1 = $model->SIG1_NM != 'none' ? '<b>' . $model->SIG1_NM . '</b>' : 'none';
echo $sigNm1;
?>
							</div>
						</th>
						<th class="col-md-1" style="text-align: center; vertical-align:middle;height:20; background-color:rgba(126, 189, 188, 0.3);text-align: center;">
Esempio n. 2
0
 * STATUS AUTH3=103 CURRENT SIGNATURE
 * @author ptrnov [piter@lukison]
 * @since 1.2
 */
$ttd2 = $roHeader->SIG2_SVGBASE64 != '' ? '<img style="width:80; height:40px" src=' . $roHeader->SIG2_SVGBASE64 . '></img>' : SignChecked($roHeader);
echo $ttd2;
?>
						</th>
						<th  class="col-md-1" style="text-align: center; vertical-align:middle">
							<?php 
/*
 * STATUS AUTH3=103 CURRENT SIGNATURE
 * @author ptrnov [piter@lukison]
 * @since 1.2
 */
$ttd3 = $roHeader->SIG3_SVGBASE64 != '' ? '<img style="width:80; height:40px" src=' . $roHeader->SIG3_SVGBASE64 . '></img>' : SignApproved($roHeader);
echo $ttd3;
?>
						</th>
					</tr>
					<!--Nama !-->
					 <tr>
						<th class="col-md-1" style="text-align: center; vertical-align:middle;height:20; background-color:rgba(126, 189, 188, 0.3);text-align: center;">
							<div>
								<?php 
$sigNm1 = $roHeader->SIG1_NM != 'none' ? '<b>' . $roHeader->SIG1_NM . '</b>' : 'none';
echo $sigNm1;
?>
							</div>
						</th>
						<th class="col-md-1" style="text-align: center; vertical-align:middle;height:20; background-color:rgba(126, 189, 188, 0.3);text-align: center;">
Esempio n. 3
0
					</th>								
					<th style="background-color:rgba(0, 95, 218, 0.3);text-align: center; height:20px">
						  Menyetujui,
					</th>	
				</tr>
				<!-- Signature !-->
				 <tr>
					<th style="text-align: center; vertical-align:middle;width:180; height:80px">
						<div id="ro-view-approval-sig1"><div>
					</th>								
					<th style="text-align: center; vertical-align:middle;width:180; height:80px">
						<?php 
if ($roHeader->STATUS == 101) {
    echo '<div id="ro-view-approval-sig2">';
} else {
    echo SignApproved();
}
?>
						
					</th>
				</tr>
				<!--Nama !-->
				 <tr>
					<th style="text-align: center; vertical-align:middle;height:20">
						<div>		
							<b><?php 
echo $roHeader->EMP_NM;
?>
</b>
						</div>
					</th>								
Esempio n. 4
0
?>
							</th>
							<th class="col-md-1" style="text-align: center; vertical-align:middle">
								<?php 
$ttd2 = $poHeader->SIG2_SVGBASE64 != '' ? '<img style="width:80; height:40px" src=' . $poHeader->SIG2_SVGBASE64 . '></img>' : SignChecked($poHeader);
echo $ttd2;
?>
							</th>
							<th  class="col-md-1" style="text-align: center; vertical-align:middle">
								<?php 
if (getPermission()) {
    if (getPermission()->BTN_SIGN3 == 0) {
        $ttd3 = '';
        echo $ttd3;
    } else {
        $ttd3 = $poHeader->SIG3_SVGBASE64 != '' ? '<img src="' . $poHeader->SIG3_SVGBASE64 . '" height="60" width="150"></img>' : SignApproved($poHeader);
        echo $ttd3;
    }
} else {
    $ttd3 = '';
    echo $ttd3;
}
?>
							</th>
						</tr>
						<!--Nama !-->
						 <tr>
							<th class="col-md-1" style="text-align: center; vertical-align:middle;height:20; background-color:rgba(126, 189, 188, 0.3);text-align: center;">
								<div>
									<?php 
$sigNm1 = $poHeader->SIG1_NM != 'none' ? '<b>' . $poHeader->SIG1_NM . '</b>' : 'none';
Esempio n. 5
0
					</th>								
					<th style="background-color:rgba(0, 95, 218, 0.3);text-align: center; height:20px">
						  Menyetujui,
					</th>	
				</tr>
				<!-- Signature !-->
				 <tr>
					<th style="text-align: center; vertical-align:middle;width:180; height:80px">
						<div id="ro-view-approval-sig1"><div>
					</th>								
					<th style="text-align: center; vertical-align:middle;width:180; height:80px">
						<?php 
if ($saHeader->STATUS == 101 or $saHeader->STATUS == 10) {
    echo '<div id="ro-view-approval-sig2">';
} else {
    echo SignApproved($saHeader->KD_SA);
}
?>
						
					</th>
				</tr>
				<!--Nama !-->
				 <tr>
					<th style="text-align: center; vertical-align:middle;height:20">
						<div>		
							<b><?php 
echo $saHeader->EMP_NM;
?>
</b>
						</div>
					</th>								
Esempio n. 6
0
					</th>								
					<th style="background-color:rgba(0, 95, 218, 0.3);text-align: center; height:20px">
						  Menyetujui,
					</th>	
				</tr>
				<!-- Signature !-->
				 <tr>
					<th style="text-align: center; vertical-align:middle;width:180; height:80px">
						<div id="ro-view-approval-sig1"><div>
					</th>								
					<th style="text-align: center; vertical-align:middle;width:180; height:80px">
						<?php 
if ($roHeader->STATUS == 101 or $roHeader->STATUS == 10) {
    echo '<div id="ro-view-approval-sig2">';
} else {
    echo SignApproved($roHeader->KD_RO);
}
?>
						
					</th>
				</tr>
				<!--Nama !-->
				 <tr>
					<th style="text-align: center; vertical-align:middle;height:20">
						<div>		
							<b><?php 
echo $roHeader->EMP_NM;
?>
</b>
						</div>
					</th>								
Esempio n. 7
0
        // $sign2 = '<img style="width:80; height:40px" src='.$soHeaderData->sign2.'></img>';
    } else {
        $sign2 = $soHeaderData->USER_SIGN2 ? '<img style="width:80; height:40px" src=' . $soHeaderData->sign2 . '></img>' : '';
    }
}
// $sign2 = $soHeaderData->sign2!=?'<img style="width:80; height:40px" src='.$profile->emp->SIGSVGBASE64.'></img>' :
?>
								<?php 
echo $sign2;
?>
							</th>
							<th  class="col-md-1" style="text-align: center; vertical-align:middle">
								<?php 
if (getPermission()) {
    if (getPermission()->BTN_SIGN3) {
        $sign3 = $soHeaderData->USER_SIGN3 ? '<img style="width:80; height:40px" src=' . $soHeaderData->sign3 . '></img>' : SignApproved($soHeaderData);
        // $sign2 = '<img style="width:80; height:40px" src='.$soHeaderData->sign2.'></img>';
    } else {
        $sign3 = $soHeaderData->USER_SIGN3 ? '<img style="width:80; height:40px" src=' . $soHeaderData->sign3 . '></img>' : '';
    }
}
// if($soHeaderData->USER_SIGN2 !='')
// {
// 	if($soHeaderData->USER_SIGN3 !=''){
//    	 $sign3 = '<img style="width:80; height:40px" src='.$soHeaderData->sign3.'></img>';
//    }else{
//    	 $sign3 = SignApproved($soHeaderData);
//    }
// }
// $sign3 = $soHeaderData->sign3!=''?'<img style="width:80; height:40px" src='.$soHeaderData->sign3.'></img>' :SignApproved($soHeaderData);
?>
Esempio n. 8
0
						<!-- Tanggal PO Approved!-->				
						<th style="text-align: center; height:20px">
							<div style="text-align:center;">
								<?php 
$placeTgl3 = $poHeader->SIG3_TGL != 0 ? Yii::$app->ambilKonvesi->convert($poHeader->SIG3_TGL, 'date') : '';
echo '<b>Tanggerang</b>,' . $placeTgl3;
?>
							</div> 				
						</th>	
						
					</tr>
					<!-- Signature !-->
					 <tr>
						<th style="text-align: center; vertical-align:middle;width:100; height:40px">
							<?php 
$ttd1 = $poHeader->SIG1_SVGBASE64 != '' ? '<img style="width:100; height:40px" src=' . $poHeader->SIG1_SVGBASE64 . '></img>' : SignApproved($poHeader);
echo $ttd1;
?>
 
						</th>								
						<th style="text-align: center; vertical-align:middle;width:100">
							<?php 
$ttd2 = $poHeader->SIG2_SVGBASE64 != '' ? '<img style="width:100; height:40px" src=' . $poHeader->SIG2_SVGBASE64 . '></img>' : SignStt();
echo $ttd2;
?>
 
						</th>
						<th style="text-align: center; vertical-align:middle;width:100">
							<?php 
$ttd3 = $poHeader->SIG3_SVGBASE64 != '' ? '<img style="width:100; height:40px" src=' . $poHeader->SIG3_SVGBASE64 . '></img>' : SignApprovedStt();
echo $ttd3;
Esempio n. 9
0
} else {
    $sign2 = SignChecked($soHeaderData);
}
// $sign2 = $soHeaderData->sign2!=?'<img style="width:80; height:40px" src='.$profile->emp->SIGSVGBASE64.'></img>' :
?>
								<?php 
echo $sign2;
?>
							</th>
							<th  class="col-md-1" style="text-align: center; vertical-align:middle">
								<?php 
if ($soHeaderData->USER_SIGN2 != '') {
    if ($soHeaderData->USER_SIGN3 != '') {
        $sign3 = '<img style="width:80; height:40px" src=' . $soHeaderData->sign3 . '></img>';
    } else {
        $sign3 = SignApproved($soHeaderData);
    }
}
// $sign3 = $soHeaderData->sign3!=''?'<img style="width:80; height:40px" src='.$soHeaderData->sign3.'></img>' :SignApproved($soHeaderData);
?>
								<?php 
echo $sign3;
?>
							</th>
						</tr>
						<!--Nama !-->
						 <tr>
							<th class="col-md-1" style="text-align: center; vertical-align:middle;height:20; background-color:rgba(126, 189, 188, 0.3);text-align: center;">
								<div>
									<?php 
$sign1NM = $soHeaderData->sign1Nm != '' ? $soHeaderData->sign1Nm : '';