{include file="header.dwt"}
      <div id="list" class="f_l">
      <h2 style="text-align:center; margin-top:30px;">INSPECTION BOOKING DETAIL FORM </h2>
<table width="100%" border="1" align="center" cellPadding="1" cellSpacing="1" bordercolor="#5272A9">
  <tr class="tb_title">
  <td>
        <strong>Please carefully follow these instructions in requesting all Chunyin inspection services</strong>
  </td>
  </tr>
  <tr>
  <td>       
	    <div class="marg" style="margin:10px 10px 14px 24px;">       
			   <p align="center"><b>( Please carefully follow these instructions in requesting all Chunyin inspection services: )</b></p>
               <p align="left"> ( 1 ) Must Fill booking form and email to related inspector of Chun Yin office before 5 workdays.<br>
	           </p>
			   <p align="left"> ( 2 ) The booking should include relevant contents such as Inspection Date,Products Name,Model NO,PO Number,Qty,Serial NO etc.		   </p>
               <p align="left"> ( 3 ) The inspection will be performed only when all products listed on this form have been 100% finished on the production line, and 80% fully packed into marked and sealed shipping cartons. A mis-inspection will occur if our company inspectors arrive at the inspection site and these requirements have not been fully arranged.
		       </p>
		</div>
	</td>
    </tr>
	<tr class="tb_title" >
    <td>
        <strong>Client / Supplier Information</strong>
	</td>
    </tr>
	<tr>
	<td>  			  
			  <div class="marg">
                <table width="100%"  border="0" align="center">
                  <TR align="middle">
                    <TD width="27%" align="right">Buyer ：</TD>
                    <TD width="21%" align="left">{$pro_summary['client']}</TD>
                    <TD width="25%" align="right">Manufactory ：</TD>
                    <TD width="27%" align="left">{$pro_summary['tbCompanyName']}</TD>
                  </TR>
                  <TR align="middle">
                    <TD align="right">Products Finish Date ：</TD>
                    <TD align="left">{$pro_summary['tbFinishDate']}</TD>
                    <TD align="right">Inspection Date ：</TD>
                    <TD align="left" class="f_red">{$pro_summary['tbInspectionDate']}</TD>
                  </TR>
                  <TR align="middle">
                    <TD align="right">Shipping Date ：</TD>
                    <TD align="left">{$pro_summary['tbShippingDate']}</TD>
                    <TD align="right">Inspection Time ：</TD>
                    <TD align="left" class="f_red">{$pro_summary['tbInspectionTime']}</TD>
                  </TR>
                  <TR align="middle">
                    <TD align="right">Inform ：</TD>
                    <TD align="left">{$pro_summary['tbContactPerson']}</TD>
                    <TD align="right">Factory NO. ：</TD>
                    <TD align="left">{$pro_summary['tbFactoryBookNO']}</TD>
                  </TR>
                  <TR align="middle">
                    <TD align="right">Tel ：</TD>
                    <TD align="left">{$pro_summary['tbTel']}</TD>
                    <TD align="right">Fax ：</TD>
                    <TD align="left">{$pro_summary['tbFax']}</TD>
                  </TR>
                  <TR align="middle">
                    <TD align="right">Factory Add  ：</TD>
                    <TD colspan="3" align="left">{$pro_summary['tbAddress']}</TD>
                  </TR>
                </table>
			  </div>	
     </td>
     </tr>
	 <tr class="tb_title">
     <td>
        <strong>Service Perfomed</strong>
	 </td>
     </tr>
     <td>	  
		<div class="marg">				
		<table width="100%"  border="0" align="center" cellpadding="0" cellspacing="0">
						  <tr>
							<td width="11%" rowspan="4" align="center">Select One</td>
							<td width="33%" align="left">
							<!--{if $pro_summary['tbCheckone'] eq 'Final Pre-Shipment Inspection'}-->
							  <input name="checkone" type="radio" value="Final Pre-Shipment Inspection" checked>
							<font color="#FF0000">Final Pre-Shipment Inspection </font>
							<!--{else}-->
							  <input name="checkone" type="radio" value="Final Pre-Shipment Inspection">
							Final Pre-Shipment Inspection
							<!--{/if}-->
				</td>
							<td width="29%" align="left">
							<!--{if $pro_summary['tbCheckone'] eq 'In-Process Inspection'}-->
							  <input name="checkone" type="radio" value="In-Process Inspection" checked>
							<font color="#FF0000">In-Process Inspection</font>
							<!--{else}-->
							  <input name="checkone" type="radio" value="In-Process Inspection">
							In-Process Inspection
							<!--{/if}-->
				</td>
							<td width="27%" align="left">
							<!--{if $pro_summary['tbCheckone'] eq '1st Re-Inspection'}-->
							  <input name="checkone" type="radio" value="1st Re-Inspection" checked>
							  <font color="#FF0000">1st Re-Inspection</font>
							<!--{else}-->
							  <input name="checkone" type="radio" value="1st Re-Inspection">
							  1st Re-Inspection
							<!--{/if}-->
				</td>
						  </tr>
						  <tr>
							<td align="left">
							<!--{if $pro_summary['tbCheckone'] eq '2nd Re-Inspection'}-->
							  <input name="checkone" type="radio" value="2nd Re-Inspection" checked>
							  <font color="#FF0000">2nd Re-Inspection</font>
							<!--{else}-->
							  <input name="checkone" type="radio" value="2nd Re-Inspection">
							 2nd Re-Inspection
							<!--{/if}-->
				</td>
							<td align="left">
							<!--{if $pro_summary['tbCheckone'] eq '3rd Re-Inspection'}-->
							  <input name="checkone" type="radio" value="3rd Re-Inspection" checked>
							  <font color="#FF0000">3rd Re-Inspection</font>
							<!--{else}-->
							  <input name="checkone" type="radio" value="3rd Re-Inspection">
							  3rd Re-Inspection
							<!--{/if}-->
				</td>
							<td align="left">
							<!--{if $pro_summary['tbCheckone'] eq '4th Re-Inspection'}-->
							  <input name="checkone" type="radio" value="4th Re-Inspection" checked>
							  <font color="#FF0000">4th Re-Inspection</font>
							<!--{else}-->
							  <input name="checkone" type="radio" value="4th Re-Inspection">
							  4th Re-Inspection
							<!--{/if}-->
				 </td>
						  </tr>
						  <tr>
						  <td align="left">
							<!--{if $pro_summary['tbCheckone'] eq 'B Stock Inspection'}-->
							<input name="checkone" type="radio" value="B Stock Inspection" checked>
							<font color="#FF0000">B Stock Inspection</font>
							<!--{else}-->
							<input name="checkone" type="radio" value="B Stock Inspection">
							B Stock Inspection
							<!--{/if}-->
		</td>
						  <td align="left">
							<!--{if $pro_summary['tbCheckone'] eq 'B Stock 1st Re-Inspection'}-->
							<input name="checkone" type="radio" value="B Stock 1st Re-Inspection" checked>
							<font color="#FF0000">B Stock 1st Re-Inspection</font>
							<!--{else}-->
							<input name="checkone" type="radio" value="B Stock 1st Re-Inspection">
							B Stock 1st Re-Inspection
							<!--{/if}-->
		</td>
						  <td align="left">
							<!--{if $pro_summary['tbCheckone'] eq 'B Stock 2nd Re-Inspection'}-->
							<input name="checkone" type="radio" value="B Stock 2nd Re-Inspection" checked>
							<font color="#FF0000">B Stock 2nd Re-Inspection</font>
							<!--{else}-->
							<input name="checkone" type="radio" value="B Stock 2nd Re-Inspection">
							B Stock 2nd Re-Inspection
							<!--{/if}-->
		</td>
						</tr>
						<tr>
						  <td align="left">
							<!--{if $pro_summary['tbCheckone'] eq 'B Stock 3rd Re-Inspection'}-->
							<input name="checkone" type="radio" value="B Stock 3rd Re-Inspection" checked>
							<font color="#FF0000">B Stock 3rd Re-Inspection</font>
							<!--{else}-->
							<input name="checkone" type="radio" value="B Stock 3rd Re-Inspection">
							B Stock 3rd Re-Inspection
							<!--{/if}-->
		</td>
						  <td>
						  		<!--{if $pro_summary['tbCheckone'] eq 'Full-Check Inspection'}-->
								<input name="checkone" type="radio" value="Full-Check Inspection" checked>
								<font color="#FF0000">Full-Check Inspection</font>
								<!--{else}-->
								<input name="checkone" type="radio" value="Full-Check Inspection">
								Full-Check Inspection
								<!--{/if}-->
		</td>
						  <td>
						  		<!--{if $pro_summary['tbCheckone'] eq 'During Production Inspection'}-->
								<input name="checkone" type="radio" value="During Production Inspection" checked>
								<font color="#FF0000">During Production Inspection</font>
								<!--{else}-->
								<input name="checkone" type="radio" value="During Production Inspection">
								During Production Inspection
								<!--{/if}-->
						</td>
						</tr>
						</table>				
					</div>	
    </td>
    </tr>
	<tr class="tb_title">
    <td>
        <strong>Inspection Company Information</strong>
	</td>
    </tr>
    <tr>
    <td>
                <table width="100%"  border="0" align="center">
                  <TR align="middle">
                    <TD width="27%" align="right">SI Booking NO.：</TD>
                    <TD width="23%" align="left">{$pro_summary['tbPONumber']}</TD>
                    <TD width="25%" align="right">Inspection Leader ：</TD>
                    <TD width="25%" align="left">{$pro_summary['tbPM']}</TD>
                  </TR>
                  <TR align="middle">
                    <TD align="right">Inspectors ：</TD>
                    <TD colspan="3" align="left">{$pro_summary['tbTeam']}</TD>
                  </TR>
<!--{if $_SESSION['tbRank'] gt '50'}-->
				  <TR align="middle">
                    <TD align="right">Actual Inspectors ：</TD>
					<TD colspan="3" align="left"><!--{if $pro_summary['tbATeam'] neq ''}-->{$pro_summary['tbATeam']}<!--{else}-->----<!--{/if}--></TD>
					
                  </TR>
<!--{/if}-->				  
				  <TR align="middle">
                    <TD align="right">Over Time Work ：</TD>
					<TD align="left"><!--{if $pro_summary['tbOverWork'] neq ''}-->{$pro_summary['tbOverWork']}<!--{else}-->----<!--{/if}--></TD>
					<TD align="right">Extra Fee ：</TD>
					<TD align="left"><!--{if $pro_summary['tbTaxi'] neq ''}-->{$pro_summary['tbTaxi']}<!--{else}-->----<!--{/if}--></TD>
                  </TR>
                </table>
     </td>
     </tr>
     <tr  class="tb_title">
     <td>
        <strong>List All Products To Be Inspected Below</strong>
	 </td>
     </tr>
     <tr>
     <td>
			  
                <table width="100%"  border="0" align="center">
                  <TR height="25" align="middle">
                    <TD class="strong_c">Products Name</TD>
					<TD class="strong_c">Model NO</TD>
                    <TD class="strong_c">PO Number</TD>
                    <TD class="strong_c">Qty</TD>
                    <TD class="strong_c">Serial NO</TD>
                    <TD class="strong_c">CTN</TD>
                  </TR>
				  <!--{foreach from=$rep_summary item=con}-->
					  <!--{if substr_count($con.tbModelNO,'&')}--> 
								  <!--{section name=loop loop=substr_count($con.tbModelNO,'&')+1 start='0'}-->
								  <TR align="middle" onMouseOver="this.style.backgroundColor='#E1FFDF'" onMouseOut="this.style.backgroundColor='#ffffff'">
									<TD><div align="center" class="font_blue">{$con.tbProductName}</div></TD>
									<TD><div align="center">
									<!--{if $models=explode('&',$con.tbModelNO)}-->
	<!--{if $models[$smarty.section.loop.index]}-->{$models[$smarty.section.loop.index]}<!--{else}--><!--{/if}-->
									 <!--{else}-->
									 {$con.tbModelNO}
									 <!--{/if}--></div></TD>
									<TD><div align="center">
									<!--{if $ClientPO = explode('&',$con.tbClientPONo)}-->
	<!--{if $ClientPO[$smarty.section.loop.index] neq ''}-->{$ClientPO[$smarty.section.loop.index]}<!--{else}--><!--{/if}-->
									<!--{else}-->
									{$con.tbClientPONo}
									<!--{/if}--></div></TD>
									
									<TD><div align="center">
									<!--{if $ShipQty = explode('&',$con.tbShippingQty)}-->
	<!--{if $ShipQty[$smarty.section.loop.index] neq ''}-->{$ShipQty[$smarty.section.loop.index]}<!--{else}--><!--{/if}-->
									<!--{else}-->
									{$con.tbShippingQty}
									<!--{/if}--></div></TD>
									
									<TD><div align="center">
									<!--{if $SerialNO = explode('&',$con.tbSerialNO)}-->
	<!--{if $SerialNO[$smarty.section.loop.index] neq ''}-->{$SerialNO[$smarty.section.loop.index]}<!--{else}--><!--{/if}-->
									<!--{else}-->
									{$con.tbSerialNO}
									<!--{/if}--></div></TD>
									
									<TD><div align="center">
									<!--{if $CTNQty = explode('&',$con.tbCTNQty)}-->
    <!--{if $CTNQty[$smarty.section.loop.index] neq ''}-->{$CTNQty[$smarty.section.loop.index]}<!--{else}--><!--{/if}-->
									<!--{else}-->
									{$con.tbCTNQty}
									<!--{/if}--></div></TD>
									
								  </TR>	
								  <!--{/section}-->
								 
					  
					  <!--{else}-->
								  <TR align="middle" onMouseOver="this.style.backgroundColor='#E1FFDF'" onMouseOut="this.style.backgroundColor='#ffffff'">
									<TD><div align="center" class="font_blue">{$con.tbProductName}</div></TD>
									<TD><div align="center">{$con.tbModelNO}</div></TD>
									<TD><div align="center">{$con.tbClientPONo}</div></TD>
									<TD><div align="center">{$con.tbShippingQty}</div></TD>
									<TD><div align="center">{$con.tbSerialNO}</div></TD>
									<TD><div align="center">{$con.tbCTNQty}</div></TD>
								  </TR>	
					  <!--{/if}-->
				  <!--{/foreach}-->
                </table>
				
     </td>
     </tr>
	 <tr class="tb_title">
	 <td>
        <strong>Below information needs be filled by CY,and confirmed by Client</strong>
	 </td>
	 </tr>
	 <tr>
	 <td>
	    <div class="info">
        <li>Inspection Leader Signature: {$pro_summary['tbPM']}</li>
		<li>Confirmed Date： {$confirmedDate}</li>
		<li>Confirmed By： {$pro_summary['client']}</li>
		</div>
        <div style="text-align:left; margin:10px 0px 10px 10px;"></div>
	 </td>
	 </tr>
</table>
        <div style="width:100%; text-align:right; float:left; margin-top:8px;">Form Made By ：{$pro_summary['tbFrom']}&nbsp;</div>
		<div style="width:100%; text-align:center; float:left; margin-top:8px;"><input name="Close" type="button" value="Close Page" onclick="javascript:self.close();"/><input name="GoBack" type="button" value="Go Back To Project Page" onclick="location.href='projects.php?active=1&client={$pre}'" />
		<!--{if $rank gt '50'}-->
		<input name="Edit Book" type="button" value="Edit Book" onclick="location.href='project_page.php?id={$pro_summary['tbSN']}&act=edit&client={$pre}'" />
		<!--{/if}-->
		</div>
      </div>
      {include file="footer.dwt"}	 
</div>
</body>
</html>
