<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML {$html_attrs}><HEAD><TITLE>SPC Approval</TITLE>
<link REL="stylesheet" href="include/style.css" type="text/css"><!--[if IE]><link REL="stylesheet" href="include/styleIE.css" type="text/css"><![endif]-->{BEGIN style_block}
<STYLE>
#height100{$id} {height:auto;padding:10px;}
/*#search_block{$id} div {padding:5px 7px;}*/
#global_block{$id} {padding:5px 12px;/*min-height:800px;*/ border: 1px solid #516C81;}
#search_block_center{$id} {padding:3px 5px;text-align:center;}
#center_block{$id} {text-align:center;padding:4px;}
#center_block_caption{$id} {text-align:center;padding:4px;}
#left_block{$id} { position:absolute;width:202px; {BEGIN RTL_block} right:20px;{END RTL_block}{BEGIN LTR_block} left:20px;{END LTR_block} overflow:visible; margin-top:10px}
#right_block{$id} { padding:10px 0px 0px 0px;}
{BEGIN shiftstyle_block}
#right_block{$id} {padding-left:220px;{BEGIN RTL_block}padding-left:0px;padding-right:220px;{END RTL_block}}
{END shiftstyle_block}
#toplinks_block{$id} {padding:0 5px 5px 5px;}
#toplinks_block{$id} > * {margin:4px 6px;vertical-align:middle;}
#menu_block{$id} {clear:left;padding:5px 0px; width:auto;}
#details_block{$id}, #pages_block{$id}, .rppBlock {white-space:nowrap;padding:5px 7px;text-align:center;}
#recordcontrols_block{$id} {padding:13px 10px 9px 10px;text-align:left}
#record_controls{$id} > *,#newrecord_controls{$id} > * {margin:2px 2px;vertical-align:middle}
.listIcons img.listIcon{margin:0 3px;opacity:0.3;filter:alpha(opacity=30);}
.menuitem {padding:6px 18px 10px 13px}
.menuitem_active {padding:6px 18px 11px 13px}
.message_block {text-align:center;}
.grid_recordheader {padding-top:5px;}
.grid_recordheader a {margin:0 5px;}
#grid_block{$id} {margin-top:10px;}
.headerlist_right2 *,.headerlist * {vertical-align:middle}
body{margin:0px;padding:0px;}

#searchPanelContainer{$id}{
	width: 200px

}

/*report styles*/
#export_links{$id} * {padding:0}
</STYLE>
{END style_block}<!--[if IE]>{BEGIN iestyle_block}
<STYLE>
#right_block{$id} { width:100%}
.list_table, .list_table1,.grid  {height:100%;}
</STYLE>
{END iestyle_block}<![endif]-->
<META name=GENERATOR content="MSHTML 8.00.7600.16821"></HEAD>
<BODY {$bodyattrs} marginwidth="0" marginheight="0">{BEGIN body}{$header} 
<DIV id="height100{$id}"><B class=xtop><B class=xb1b></B><B 
class=xb2b></B><B class=xb3b></B><B class=xb4b></B></B>
{BEGIN toplinks_block}<DIV id="toplinks_block{$id}" class=upeditmenu><SPAN><FONT style="FONT-FAMILY: Verdana, Arial">Logged 
on as</FONT>&nbsp;<B>{$username}</B>&nbsp;</SPAN> <SPAN 
class=buttonborder><INPUT class=button value="Log out" type=button {$logoutlink_attrs}></SPAN> 
{BEGIN changepwd_link}<SPAN class=buttonborder><INPUT class=button value="Change password" type=button {$changepwdlink_attrs}></SPAN>{END changepwd_link} 
{BEGIN asearch_link}<SPAN class=buttonborder><INPUT class=button value="Advanced search" type=button {$asearchlink_attrs}></SPAN>{END asearch_link} 
</DIV>{END toplinks_block}
<DIV id="global_block{$id}" class="main_table_border2 main_table">
{BEGIN left_block}<DIV id="left_block{$id}"><B class=xtop><B 
class=xb1b1></B><B class=xb2b1></B><B class=xb3b1></B><B class=xb4b1></B></B><!-- MenuBegin -->
{BEGIN menu_block}<DIV id="menu_block{$id}" class=menu_table><!-- MainMenuBegin -->{$mainmenu}<!-- MainMenuEnd --></DIV>{END menu_block}<!-- MenuEnd -->
{BEGIN search_records_block}<DIV>
{BEGIN searchform}<DIV id="search_block{$id}" class=menu_table><!-- search panel and window -->
<STYLE>
<!--

#center_block{$id}{
	padding: 5px;
}
#searchPanelHeader{$id}{
	padding: 5px 0px 5px 5px;
}

-->
</STYLE>
<!-- search panel and window header -->
<DIV id="center_block{$id}" class=blackshade2>Search for: {BEGIN searchPanelTopButtons}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <SPAN 
class=buttonborder><INPUT style="BACKGROUND-IMAGE: url(images/search/showWindowPin.gif); WIDTH: 18px" id="showSrchWin{$id}" class=button type=button {$showHideSearchWin_attrs}></SPAN> 
&nbsp; <SPAN class=buttonborder><INPUT style="BACKGROUND-IMAGE: url(images/search/showOptions.gif); WIDTH: 18px" id="showOptPanel{$id}" class=button type=button {$showHideSearchPanel_attrs}></SPAN> 
{END searchPanelTopButtons}</DIV>
<DIV id="searchform{$id}">
<DIV id="searchPanelHeader{$id}" class=blackshade>{$simpleSearchFieldCombo} {$simpleSearchTypeCombo} {BEGIN searchform_text}<INPUT size=25 {$searchfor_attrs}>{END searchform_text} &nbsp; {BEGIN searchform_search}<SPAN class=buttonborder><INPUT style="BACKGROUND-IMAGE: url(images/search/search.gif); WIDTH: 18px" class=button type=button {$searchbutton_attrs}></SPAN>{END searchform_search} 
&nbsp; {BEGIN searchform_showall}<SPAN id="showall{$id}" class=buttonborder {$showAllCont_attrs}><INPUT class=button value="Show all" type=button {$showallbutton_attrs}></SPAN>{END searchform_showall} 
</DIV></DIV>
<DIV id="searchPanelContainer{$id}" class=searchPanelContainer>{$adv_search_panel} </DIV>
<DIV id="details_block{$id}" class=blackshade2>{BEGIN details_block}<SPAN {$details_attrs}>Details found: {$records_found}</SPAN> {END details_block}</DIV>
<DIV id="pages_block{$id}" class="menu_text blackshade">{BEGIN pages_block}<SPAN {$pages_attrs}>Page {$page} of {$maxpages}</SPAN> {END pages_block}</DIV></DIV>{END searchform}
<DIV class=menu_table2>{BEGIN recordspp_block}
<DIV class="menu_text blackshade rppBlock" align=center>{$recsPerPage} </DIV>{END recordspp_block}</DIV></DIV>{END search_records_block}</DIV>{END left_block}
<DIV id="right_block{$id}">
{BEGIN mastertable_block}<DIV id="mastertable_block{$id}">{$showmasterfile} <A class=toplinks 
{$backtomasterlink_attrs}><B>Back {$backtomasterlink_caption}</B></A> 
<BR></DIV>{END mastertable_block}
<DIV class=list_table1>
<DIV class=list_table>
<DIV id="center_block_caption{$id}" class=blackshade2>SPC&nbsp;Approval 
</DIV>
{BEGIN recordcontrols_block}<DIV id="recordcontrols_block{$id}" class=blackshade>{$lookupSearchControls} {BEGIN record_controls}<SPAN id="record_controls{$id}">{BEGIN editselected_link}<SPAN class=buttonborder {$editselectedlink_span}><INPUT class=button value="Edit selected" type=button {$editselectedlink_attrs}></SPAN>{END editselected_link} 
{BEGIN saveall_link}<SPAN class=buttonborder {$savealllink_span}><INPUT class=button value="Save all" type=button {$savealllink_attrs}></SPAN>{END saveall_link} 
{BEGIN cancelall_link}<SPAN class=buttonborder {$cancelalllink_span}><INPUT class=button value=Cancel type=button {$cancelalllink_attrs}></SPAN>{END cancelall_link} 
</SPAN>{END record_controls}</DIV>{END recordcontrols_block}
<DIV id="usermessage{$id}" class=message>{$user_message}</DIV>
<DIV>{BEGIN grid_block}
<DIV id="grid_block{$id}">
<TABLE id=SPC_Approval class=data border=0 cellSpacing=0 cellPadding=3 
width="100%" name="maintable">
  {BEGIN grid_header}<THEAD>
  <TR vAlign=top {$gridHeader_attrs}>{BEGIN record_header}
    {BEGIN listIcons_column}<TH class=headerlist noWrap align=middle {$widthListIcons}>&nbsp;</TH>{END listIcons_column}
    {BEGIN checkbox_column}<TH class=headerlist width=20 align=middle><INPUT type=checkbox {$checkboxheader_attrs}> 
    </TH>{END checkbox_column}
    {BEGIN LBOMID_fieldheadercolumn}<TH class=headerlist align=middle>{BEGIN LBOMID_fieldheader}&nbsp; <A class=tablelinks 
      {$LBOMID_orderlinkattrs}>LBOMID</A> &nbsp; {END LBOMID_fieldheader}</TH>{END LBOMID_fieldheadercolumn}
    {BEGIN Material_Category_fieldheadercolumn}<TH class=headerlist align=middle>{BEGIN Material_Category_fieldheader}&nbsp; <A class=tablelinks 
      {$Material_Category_orderlinkattrs}>Material Category</A> &nbsp; {END Material_Category_fieldheader}</TH>{END Material_Category_fieldheadercolumn}
    {BEGIN Material_Code_fieldheadercolumn}<TH class=headerlist align=middle>{BEGIN Material_Code_fieldheader}&nbsp; 
      Material&nbsp;Specification&nbsp;&nbsp; {END Material_Code_fieldheader}</TH>{END Material_Code_fieldheadercolumn}
    {BEGIN Quantity_fieldheadercolumn}<TH class=headerlist align=middle>{BEGIN Quantity_fieldheader}&nbsp; <A class=tablelinks 
      {$Quantity_orderlinkattrs}>Quantity</A> &nbsp; {END Quantity_fieldheader}</TH>{END Quantity_fieldheadercolumn}
    {BEGIN List_Price_fieldheadercolumn}<TH class=headerlist align=middle>{BEGIN List_Price_fieldheader}&nbsp; <A class=tablelinks 
      {$List_Price_orderlinkattrs}>List Price</A> &nbsp; {END List_Price_fieldheader}</TH>{END List_Price_fieldheadercolumn}
    {BEGIN Target_Price_fieldheadercolumn}<TH class=headerlist align=middle>{BEGIN Target_Price_fieldheader}&nbsp; <A class=tablelinks 
      {$Target_Price_orderlinkattrs}>Target Price</A> &nbsp; {END Target_Price_fieldheader}</TH>{END Target_Price_fieldheadercolumn}
    {BEGIN MDP_fieldheadercolumn}<TH class=headerlist align=middle>{BEGIN MDP_fieldheader}&nbsp; <A class=tablelinks 
      {$MDP_orderlinkattrs}>MDP</A> &nbsp; {END MDP_fieldheader}</TH>{END MDP_fieldheadercolumn}
    {BEGIN Last_Updated_on_fieldheadercolumn}<TH class=headerlist align=middle>{BEGIN Last_Updated_on_fieldheader}&nbsp; <A class=tablelinks 
      {$Last_Updated_on_orderlinkattrs}>Last Updated on</A> &nbsp; {END Last_Updated_on_fieldheader}</TH>{END Last_Updated_on_fieldheadercolumn}
    {BEGIN Last_Updated_by_fieldheadercolumn}<TH class=headerlist align=middle>{BEGIN Last_Updated_by_fieldheader}&nbsp; <A class=tablelinks 
      {$Last_Updated_by_orderlinkattrs}>Last Updated by</A> &nbsp; {END Last_Updated_by_fieldheader}</TH>{END Last_Updated_by_fieldheadercolumn}
    {BEGIN Special_Price_fieldheadercolumn}<TH class=headerlist align=middle>{BEGIN Special_Price_fieldheader}&nbsp; <A class=tablelinks 
      {$Special_Price_orderlinkattrs}>Special Price</A> &nbsp; {END Special_Price_fieldheader}</TH>{END Special_Price_fieldheadercolumn}
    {BEGIN Target_Amt_fieldheadercolumn}<TH class=headerlist align=middle>{BEGIN Target_Amt_fieldheader}&nbsp; <A class=tablelinks 
      {$Target_Amt_orderlinkattrs}>Target Amt</A> &nbsp; {END Target_Amt_fieldheader}</TH>{END Target_Amt_fieldheadercolumn}
    {BEGIN SPC_Amt_fieldheadercolumn}<TH class=headerlist align=middle>{BEGIN SPC_Amt_fieldheader}&nbsp; <A class=tablelinks 
      {$SPC_Amt_orderlinkattrs}>SPC Amt</A> &nbsp; {END SPC_Amt_fieldheader}</TH>{END SPC_Amt_fieldheadercolumn}
    {BEGIN SPC_REQ_BY_fieldheadercolumn}<TH class=headerlist align=middle>{BEGIN SPC_REQ_BY_fieldheader}&nbsp; <A class=tablelinks 
      {$SPC_REQ_BY_orderlinkattrs}>SPC REQ BY</A> &nbsp; {END SPC_REQ_BY_fieldheader}</TH>{END SPC_REQ_BY_fieldheadercolumn}
    {BEGIN SPC_Status_fieldheadercolumn}<TH class=headerlist align=middle>{BEGIN SPC_Status_fieldheader}&nbsp; <A class=tablelinks 
      {$SPC_Status_orderlinkattrs}>SPC Status</A> &nbsp; {END SPC_Status_fieldheader}</TH>{END SPC_Status_fieldheadercolumn}
    {BEGIN SPC_Approved_By_fieldheadercolumn}<TH class=headerlist align=middle>{BEGIN SPC_Approved_By_fieldheader}&nbsp; <A class=tablelinks 
      {$SPC_Approved_By_orderlinkattrs}>SPC Approved By</A> &nbsp; {END SPC_Approved_By_fieldheader}</TH>{END SPC_Approved_By_fieldheadercolumn}
    {BEGIN endrecordheader_block}<TH class=table_right></TH>{END endrecordheader_block}{END record_header}</TR></THEAD>{END grid_header}
  <TBODY>{BEGIN grid_row}
  <TR vAlign=top {$rowattrs} {$rowstyle}>{BEGIN grid_record}
    {BEGIN listIcons_column}<TD class=listIcons vAlign=middle noWrap align=middle iEditCont="all">{BEGIN inlineedit_column}{BEGIN inlineedit_link}<A class=tablelinks title="Inline Edit" 
      {$inlineeditlink_attrs}><IMG class=listIcon border=0 alt="Inline Edit" 
      align=middle src="images/icon_inline_edit_new.gif"></A> {END inlineedit_link}{END inlineedit_column}</TD>{END listIcons_column}
    {BEGIN checkbox_column}<TD vAlign=middle width=20 align=middle>{BEGIN checkbox}<INPUT type=checkbox {$checkbox_attrs}> {END checkbox}</TD>{END checkbox_column}
    {BEGIN LBOMID_fieldcolumn}<TD class=borderbody vAlign=middle {$LBOMID_style}>{$LBOMID_value} </TD>{END LBOMID_fieldcolumn}
    {BEGIN Material_Category_fieldcolumn}<TD class=borderbody vAlign=middle {$Material_Category_style}>{$Material_Category_value} </TD>{END Material_Category_fieldcolumn}
    {BEGIN Material_Code_fieldcolumn}<TD class=borderbody vAlign=middle {$Material_Code_style}>{$Material_Code_value} </TD>{END Material_Code_fieldcolumn}
    {BEGIN Quantity_fieldcolumn}<TD class=borderbody vAlign=middle {$Quantity_style}>{$Quantity_value} </TD>{END Quantity_fieldcolumn}
    {BEGIN List_Price_fieldcolumn}<TD class=borderbody vAlign=middle {$List_Price_style}><STRONG>{$List_Price_value}</STRONG> </TD>{END List_Price_fieldcolumn}
    {BEGIN Target_Price_fieldcolumn}<TD class=borderbody vAlign=middle {$Target_Price_style}><STRONG><FONT color=#ff0000>{$Target_Price_value}</FONT></STRONG> </TD>{END Target_Price_fieldcolumn}
    {BEGIN MDP_fieldcolumn}<TD class=borderbody vAlign=middle {$MDP_style}><STRONG><FONT color=#0000ff>{$MDP_value}</FONT></STRONG> </TD>{END MDP_fieldcolumn}
    {BEGIN Last_Updated_on_fieldcolumn}<TD class=borderbody vAlign=middle {$Last_Updated_on_style}>{$Last_Updated_on_value} </TD>{END Last_Updated_on_fieldcolumn}
    {BEGIN Last_Updated_by_fieldcolumn}<TD class=borderbody vAlign=middle {$Last_Updated_by_style}>{$Last_Updated_by_value} </TD>{END Last_Updated_by_fieldcolumn}
    {BEGIN Special_Price_fieldcolumn}<TD class=borderbody vAlign=middle {$Special_Price_style}>{$Special_Price_value} </TD>{END Special_Price_fieldcolumn}
    {BEGIN Target_Amt_fieldcolumn}<TD class=borderbody vAlign=middle {$Target_Amt_style}>{$Target_Amt_value} </TD>{END Target_Amt_fieldcolumn}
    {BEGIN SPC_Amt_fieldcolumn}<TD class=borderbody vAlign=middle {$SPC_Amt_style}>{$SPC_Amt_value} </TD>{END SPC_Amt_fieldcolumn}
    {BEGIN SPC_REQ_BY_fieldcolumn}<TD class=borderbody vAlign=middle {$SPC_REQ_BY_style}>{$SPC_REQ_BY_value} </TD>{END SPC_REQ_BY_fieldcolumn}
    {BEGIN SPC_Status_fieldcolumn}<TD class=borderbody vAlign=middle {$SPC_Status_style}>{$SPC_Status_value} </TD>{END SPC_Status_fieldcolumn}
    {BEGIN SPC_Approved_By_fieldcolumn}<TD class=borderbody vAlign=middle {$SPC_Approved_By_style}>{$SPC_Approved_By_value} </TD>{END SPC_Approved_By_fieldcolumn}
    {BEGIN endrecord_block}<TD class=table_right width=20 {$endrecordblock_attrs}>&nbsp;</TD>{END endrecord_block}{END grid_record}</TR>{END grid_row}</TBODY>
  {BEGIN totals_row}<TFOOT>
  <TR {$totals_attr} rowid="totals">{BEGIN totals_record}
    {BEGIN listIcons_column}<TD class=blackshade noWrap>&nbsp;</TD>{END listIcons_column}
    {BEGIN checkbox_column}<TD class=blackshade>&nbsp;</TD>{END checkbox_column}
    {BEGIN LBOMID_fieldfootercolumn}<TD class=blackshade align=middle>&nbsp; </TD>{END LBOMID_fieldfootercolumn}
    {BEGIN Material_Category_fieldfootercolumn}<TD class=blackshade align=middle>&nbsp; </TD>{END Material_Category_fieldfootercolumn}
    {BEGIN Material_Code_fieldfootercolumn}<TD class=blackshade align=middle>&nbsp; </TD>{END Material_Code_fieldfootercolumn}
    {BEGIN Quantity_fieldfootercolumn}<TD class=blackshade align=middle>&nbsp; </TD>{END Quantity_fieldfootercolumn}
    {BEGIN List_Price_fieldfootercolumn}<TD class=blackshade align=middle>&nbsp; </TD>{END List_Price_fieldfootercolumn}
    {BEGIN Target_Price_fieldfootercolumn}<TD class=blackshade align=middle>&nbsp; </TD>{END Target_Price_fieldfootercolumn}
    {BEGIN MDP_fieldfootercolumn}<TD class=blackshade align=middle>&nbsp; 
    </TD>{END MDP_fieldfootercolumn}
    {BEGIN Last_Updated_on_fieldfootercolumn}<TD class=blackshade align=middle>&nbsp; </TD>{END Last_Updated_on_fieldfootercolumn}
    {BEGIN Last_Updated_by_fieldfootercolumn}<TD class=blackshade align=middle>&nbsp; </TD>{END Last_Updated_by_fieldfootercolumn}
    {BEGIN Special_Price_fieldfootercolumn}<TD class=blackshade align=middle>&nbsp; </TD>{END Special_Price_fieldfootercolumn}
    {BEGIN Target_Amt_fieldfootercolumn}<TD class=blackshade align=middle>{BEGIN Target_Amt_showtotal}<FONT color=black>Total: {$Target_Amt_total} </FONT>{END Target_Amt_showtotal}</TD>{END Target_Amt_fieldfootercolumn}
    {BEGIN SPC_Amt_fieldfootercolumn}<TD class=blackshade align=middle>{BEGIN SPC_Amt_showtotal}<FONT color=black>Total: {$SPC_Amt_total} </FONT>{END SPC_Amt_showtotal}</TD>{END SPC_Amt_fieldfootercolumn}
    {BEGIN SPC_REQ_BY_fieldfootercolumn}<TD class=blackshade align=middle>&nbsp; </TD>{END SPC_REQ_BY_fieldfootercolumn}
    {BEGIN SPC_Status_fieldfootercolumn}<TD class=blackshade align=middle>&nbsp; </TD>{END SPC_Status_fieldfootercolumn}
    {BEGIN SPC_Approved_By_fieldfootercolumn}<TD class=blackshade align=middle>&nbsp; </TD>{END SPC_Approved_By_fieldfootercolumn}
    {BEGIN endrecordtotals_block}<TD class=table_right>&nbsp;</TD>{END endrecordtotals_block}{END totals_record}</TR></TFOOT>{END totals_row}</TABLE></DIV>{END grid_block}</DIV>
{BEGIN message_block}<DIV id="message_block{$id}" class="xboxcontentb message_block">{$message} </DIV>{END message_block}
{BEGIN pagination_block}<DIV id="pagination_block{$id}" class="xboxcontentb message_block">{$pagination}</DIV>{END pagination_block}</DIV></DIV></DIV></DIV><B 
class=xbottom><B class=xb4b></B><B class=xb3b></B><B class=xb2b></B><B 
class=xb1b></B></B></DIV>{$footer} {END body}</BODY></HTML>
