Subversion Repositories SmartDukaan

Rev

Rev 9835 | Rev 9844 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

<!DOCTYPE ui:UiBinder SYSTEM "http://dl.google.com/gwt/DTD/xhtml.ent">
<ui:UiBinder xmlns:ui="urn:ui:com.google.gwt.uibinder"
        xmlns:g="urn:import:com.google.gwt.user.client.ui"
    xmlns:dp="urn:import:com.google.gwt.user.datepicker.client">
    
    <ui:image field='gradient' src='gradient_bg_dark.png' repeatStyle='Horizontal'/>
        
        <ui:style type='in.shop2020.catalog.dashboard.client.ItemDetails.ItemDetailStyle'>
                .outer {
                        border-left: 1px solid #999;
                        border-bottom: 1px solid #999;
                        cursor: pointer;
                        cursor: hand;
                }
                
                .blueLabel {
                        color: white;
                        font: bold 12px tahoma, arial, helvetica, sans-serif;
                        border: 1px solid #99bbe8;
                        padding: 5px;
                        background-color: blue
                }
                
                .greenLabel {
                        width: 100px;
                        color: black;
                        font: bold 12px tahoma, arial, helvetica, sans-serif;
                        border: 1px solid #99bbe8;
                        padding: 5px;
                        background-color: #66ff99;
                }
                
                .fieldChanged {
                        color: white;
                        font: bold 12px tahoma, arial, helvetica, sans-serif;
                        border: 1px solid #99bbe8;
                        padding: 5px;
                        background-color: red;
                }
                
                .outer {
            border-left: 1px solid #999;
            border-bottom: 1px solid #999;
            cursor: pointer;
            cursor: hand;
        }
        
        @sprite .header {
            gwt-image: 'gradient';
            background-color: #d3d6dd;
            table-layout: fixed;
            width: 100%;
            height: 100%;
        }
        
        .header td {
            font-weight: bold;
            text-shadow: #fff 0 2px 2px;
            padding: 2px 0 1px 10px;
            border-top: 1px solid #999;
            border-bottom: 1px solid #999;
        }
        
        .table {
            table-layout: fixed;
            width: 100%;
        }
        
        .table td {
            border-top: 1px solid #fff;
            border-bottom: 1px solid #fff;
            padding: 2px 0 2px 10px;
        }
        .numeric-box{
                width: 80px;
                text-align: right;
                color: black;
                        font: bold 12px tahoma, arial, helvetica, sans-serif;
                        border: 1px solid #99bbe8;
                        padding: 5px;
                        background-color: #66ff99;
        }
        
        .vendorTable {
                float: right;
                        border: 1px solid #99bbe8;
                        padding-top:10px
        }
                
                .inventoryTable {
                        float: left;
                        border: 1px solid #99bbe8;
                        padding-bottom:10px
                }
                
                .buttonContainer        {
                        width: 100%;
                        padding-top: 40px;
                        padding-left: 370px;
                }
                
                .textlabel {
              border-top: 2px solid #99bbe8;
              text-align: center;
            }           
        </ui:style>

        <g:DockLayoutPanel styleName='{style.outer}' unit='EM'>
                <g:center>
        <g:ScrollPanel>
            <g:VerticalPanel>
                        <g:HorizontalPanel>
                                <g:cell>
                                        <g:Grid>
                                                <g:row>
                                                        <g:customCell>
                                                                <g:Label styleName='{style.blueLabel}'>Item id:</g:Label>
                                                        </g:customCell>
                                                        <g:customCell>
                                                                <g:Label styleName='{style.greenLabel}' ui:field="itemId"></g:Label>
                                                        </g:customCell>
                                                </g:row>
                            <g:row>
                                <g:customCell>
                                    <g:Label styleName='{style.blueLabel}'>Item Status:</g:Label>
                                </g:customCell>
                                <g:customCell>
                                    <g:Label styleName='{style.greenLabel}' ui:field="itemStatus"></g:Label>
                                </g:customCell>
                            </g:row>
                                                <g:row>
                                                        <g:customCell>
                                                                <g:Label styleName='{style.blueLabel}'>Product Group:</g:Label>
                                                        </g:customCell>
                                                        <g:customCell>
                                                                <g:Label styleName='{style.greenLabel}' ui:field="productGroup"></g:Label>
                                                        </g:customCell>
                                                </g:row>
                                                <g:row>
                                                        <g:customCell>
                                                                <g:Label styleName='{style.blueLabel}'>Brand:</g:Label>
                                                        </g:customCell>
                                                        <g:customCell>
                                                                <g:TextBox styleName="{style.greenLabel}" ui:field="brand"></g:TextBox>
                                                        </g:customCell>
                                                </g:row>
                                                <g:row>
                                                        <g:customCell>
                                                                <g:Label styleName='{style.blueLabel}'>Model Number:</g:Label>
                                                        </g:customCell>
                                                        <g:customCell>
                                                                <g:TextBox styleName="{style.greenLabel}" ui:field="modelNumber"></g:TextBox>
                                                        </g:customCell>
                                                </g:row>
                                                <g:row>
                                                        <g:customCell>
                                                                <g:Label styleName='{style.blueLabel}'>Model Name:</g:Label>
                                                        </g:customCell>
                                                        <g:customCell>
                                                                <g:TextBox styleName="{style.greenLabel}" ui:field="modelName"></g:TextBox>
                                                        </g:customCell>
                                                </g:row>
                                                <g:row>
                                                        <g:customCell>
                                                                <g:Label styleName='{style.blueLabel}'>Colour:</g:Label>
                                                        </g:customCell>
                                                        <g:customCell>
                                                                <g:TextBox styleName="{style.greenLabel}" ui:field="color"></g:TextBox>
                                                        </g:customCell>
                                                </g:row>
                                                <g:row>
                                                        <g:customCell>
                                                                <g:Label styleName='{style.blueLabel}'>Preferred Insurer:</g:Label>
                                                        </g:customCell>
                                                        <g:customCell>
                                                                <g:ListBox ui:field="preferredInsurer"></g:ListBox>
                                                        </g:customCell>
                                                </g:row>
                                                <g:row>
                                                        <g:customCell>
                                                                <g:Label styleName='{style.blueLabel}'>ASIN:</g:Label>
                                                        </g:customCell>
                                                        <g:customCell>
                                                                <g:TextBox ui:field="asin"></g:TextBox>
                                                        </g:customCell>
                                                </g:row>
                                                <g:row>
                                                        <g:customCell>
                                                                <g:Label styleName='{style.blueLabel}'>Website N-Day Sale:</g:Label>
                                                        </g:customCell>
                                                        <g:customCell>
                                                                <g:TextBox styleName='{style.greenLabel}' ui:field="websiteLastNdaySale"></g:TextBox>
                                                        </g:customCell>
                                                </g:row>                                                
                                        </g:Grid>
                                </g:cell>
                                <g:cell>
                                        <g:Grid>
                            <g:row>
                                <g:customCell>
                                    <g:Label styleName='{style.blueLabel}'>Status Description</g:Label>
                                </g:customCell>
                                <g:customCell>
                                    <g:TextBox styleName='{style.greenLabel}' ui:field="statusDesc"></g:TextBox>
                                </g:customCell>
                            </g:row>
                                                <g:row>
                                                        <g:customCell>
                                                                <g:Label styleName='{style.blueLabel}'>Category:</g:Label>
                                                        </g:customCell>
                                                        <g:customCell>
                                                                <g:Label styleName='{style.greenLabel}' ui:field="contentCategory"></g:Label>
                                                        </g:customCell>
                                                </g:row>
                                                <g:row>
                                                        <g:customCell>
                                                                <g:Label styleName='{style.blueLabel}'>Comments:</g:Label>
                                                        </g:customCell>
                                                        <g:customCell>
                                                                <g:TextBox styleName='{style.greenLabel}' ui:field="comments"></g:TextBox>
                                                        </g:customCell>
                                                </g:row>
                                                <g:row>
                                                        <g:customCell>
                                                                <g:Label styleName='{style.blueLabel}'>Catalog Item ID:</g:Label>
                                                        </g:customCell>
                                                        <g:customCell>
                                                                <g:Label styleName='{style.greenLabel}' ui:field="catalogItemId"></g:Label>
                                                        </g:customCell>
                                                </g:row>
                                                <g:row>
                                                        <g:customCell>
                                                                <g:Label styleName='{style.blueLabel}'>Preferred Vendor:</g:Label>
                                                        </g:customCell>
                                                        <g:customCell>
                                                                <g:ListBox ui:field="preferredVendor"></g:ListBox>
                                                        </g:customCell>
                                                </g:row>
                                                <g:row>
                                                        <g:customCell>
                                                                <g:Button ui:field="comingSoonButton" text="Coming Soon"></g:Button>
                                                        </g:customCell>
                                                </g:row>
                                                 <g:row>
                                                  <g:customCell>
                                                    <g:Label styleName='{style.blueLabel}'>Coming Soon Start Date</g:Label>
                                                  </g:customCell>
                                                  <g:customCell>
                                                     <dp:DateBox styleName='{style.greenLabel}' ui:field="comingSoonStartDate" enabled="false"></dp:DateBox>
                                                  </g:customCell>
                                                </g:row>
                                                 <g:row>
                                                  <g:customCell>
                                                    <g:Label styleName='{style.blueLabel}'>Expected Arrival Date</g:Label>
                                                  </g:customCell>
                                                  <g:customCell>
                                                    <dp:DateBox styleName='{style.greenLabel}' ui:field="expectedArrivalDate"  enabled="false"></dp:DateBox>
                                                  </g:customCell>
                                                </g:row>
                                                    <g:row>
                                                        <g:customCell>
                                                                <g:Label styleName='{style.blueLabel}'>Amazon N-Day Sale:</g:Label>
                                                        </g:customCell>
                                                        <g:customCell>
                                                                <g:TextBox styleName='{style.greenLabel}' ui:field="amazonLastNdaySale"></g:TextBox>
                                                        </g:customCell>
                                                </g:row>                                                
                                        </g:Grid>
                                </g:cell>
                                <g:cell>
                                        <g:Grid>
                                                <g:row>
                                                        <g:customCell>
                                                                <g:Label styleName='{style.blueLabel}'>MRP:</g:Label>
                                                        </g:customCell>
                                                        <g:customCell width='6'>
                                                                <g:TextBox styleName='{style.numeric-box}' ui:field="mrp"></g:TextBox>
                                                        </g:customCell>
                                                </g:row>
                                                <g:row>
                                                        <g:customCell>
                                                                <g:Label styleName='{style.blueLabel}'>Selling Price:</g:Label>
                                                        </g:customCell>
                                                        <g:customCell size='6'>
                                                                <g:TextBox styleName='{style.numeric-box}' ui:field="sellingPrice"></g:TextBox>
                                                        </g:customCell>
                                                </g:row>
                                                <g:row>
                                                        <g:customCell>
                                                                <g:Label styleName='{style.blueLabel}'>Weight(in kg):</g:Label>
                                                        </g:customCell>
                                                        <g:customCell>
                                                                <g:TextBox styleName='{style.numeric-box}' ui:field="weight"></g:TextBox>
                                                        </g:customCell>
                                                </g:row>
                                                <g:row>
                                                        <g:customCell>
                                                                <g:Label styleName='{style.blueLabel}'>Expected Delay(Days):</g:Label>
                                                        </g:customCell>
                                                        <g:customCell>
                                                                <g:TextBox styleName='{style.numeric-box}' ui:field="expectedDelay"></g:TextBox>
                                                        </g:customCell>
                                                </g:row>
                                                <g:row>
                                <g:customCell>
                                    <g:Label styleName='{style.blueLabel}'>Is Warehouse Preference Sticky:</g:Label>
                                </g:customCell>
                                <g:customCell>
                                    <g:CheckBox ui:field="warehouseStickiness"></g:CheckBox>
                                </g:customCell>
                            </g:row>
                            <g:row>
                                                        <g:customCell>
                                                                <g:Label styleName='{style.blueLabel}'>Has Serial Number:</g:Label>
                                                        </g:customCell>
                                                        <g:customCell>
                                                                <g:CheckBox ui:field="itemType"></g:CheckBox>
                                                        </g:customCell>
                                                </g:row>
                            <g:row>
                                                        <g:customCell>
                                                                <g:Label styleName='{style.blueLabel}'>Show Selling Price</g:Label>
                                                        </g:customCell>
                                                        <g:customCell>
                                                                <g:CheckBox ui:field="showSellingPrice" enabled="false"></g:CheckBox>
                                                        </g:customCell>
                                                </g:row>
                                                <g:row>
                                                        <g:customCell>
                                                                <g:Label styleName='{style.blueLabel}'>Hold Override</g:Label>
                                                        </g:customCell>
                                                        <g:customCell>
                                                                <g:CheckBox ui:field="holdOverride" enabled="false"></g:CheckBox>
                                                        </g:customCell>
                                                </g:row>
                                                <g:row>
                                                        <g:customCell>
                                                                <g:Label styleName='{style.blueLabel}'>Best Deals Details Text:</g:Label>
                                                        </g:customCell>
                                                        <g:customCell>
                                                                <g:TextBox styleName='{style.greenLabel}' ui:field="bestDealsDetailsText"></g:TextBox>
                                                        </g:customCell>
                                                </g:row>
                                                <g:row>
                                                        <g:customCell>
                                                                <g:Label styleName='{style.blueLabel}'>Ebay N-Day Sale:</g:Label>
                                                        </g:customCell>
                                                        <g:customCell>
                                                                <g:TextBox styleName='{style.greenLabel}' ui:field="ebayLastNdaySale"></g:TextBox>
                                                        </g:customCell>
                                                </g:row>                                                
                                        </g:Grid>
                                </g:cell>
                                <g:cell>
                                        <g:Grid>
                                                <g:row>
                                                        <g:customCell>
                                                                <g:Label styleName='{style.blueLabel}'>Added On:</g:Label>
                                                        </g:customCell>
                                                        <g:customCell>
                                                                <g:Label styleName='{style.greenLabel}' ui:field="addedOn"></g:Label>
                                                        </g:customCell>
                                                </g:row>
                                                <g:row>
                                                        <g:customCell>
                                                                <g:Label styleName='{style.blueLabel}'>Start Date:</g:Label>
                                                        </g:customCell>
                                                        <g:customCell>
                                                                <dp:DateBox styleName='{style.greenLabel}' ui:field="startDate"></dp:DateBox>
                                                        </g:customCell>
                                                </g:row>
                                                <g:row>
                                                        <g:customCell>
                                                                <g:Label styleName='{style.blueLabel}'>Retiring Date:</g:Label>
                                                        </g:customCell>
                                                        <g:customCell>
                                                                <g:Label styleName='{style.greenLabel}' ui:field="retireDate"></g:Label>
                                                        </g:customCell>
                                                </g:row>
                                                <g:row>
                                                        <g:customCell>
                                                                <g:Label styleName='{style.blueLabel}'>Updated On:</g:Label>
                                                        </g:customCell>
                                                        <g:customCell>
                                                                <g:Label styleName='{style.greenLabel}' ui:field="updatedOn"></g:Label>
                                                        </g:customCell>
                                                </g:row>
                                                <g:row>
                                <g:customCell>
                                    <g:Label styleName='{style.blueLabel}'>Has Item Number:</g:Label>
                                </g:customCell>
                                <g:customCell>
                                    <g:CheckBox ui:field="hasItemNo"></g:CheckBox>
                                </g:customCell>
                            </g:row>
                            <g:row>
                                                        <g:customCell>
                                                                <g:Label styleName='{style.blueLabel}'>Best Deals Details Link:</g:Label>
                                                        </g:customCell>
                                                        <g:customCell>
                                                                <g:TextBox styleName='{style.greenLabel}' ui:field="bestDealsDetailsLink"></g:TextBox>
                                                        </g:customCell>
                                                </g:row>
                                                <g:row>
                                                        <g:customCell>
                                                                <g:Label styleName='{style.blueLabel}'>Freebie ItemId:</g:Label>
                                                        </g:customCell>
                                                        <g:customCell>
                                                                <g:TextBox styleName='{style.greenLabel}' ui:field="freebieItemId"></g:TextBox>
                                                        </g:customCell>
                                                </g:row>
                                                <g:row>
                                                        <g:customCell>
                                                                <g:Label styleName='{style.blueLabel}'>Last N Day Sale:</g:Label>
                                                        </g:customCell>
                                                        <g:customCell>
                                                                <g:TextBox styleName='{style.greenLabel}' ui:field="lastNdaySale"></g:TextBox>
                                                        </g:customCell>
                                                </g:row>
                                                <g:row>
                                                        <g:customCell>
                                                                <g:Label styleName='{style.blueLabel}'>Snapdeal N-Day Sale:</g:Label>
                                                        </g:customCell>
                                                        <g:customCell>
                                                                <g:TextBox styleName='{style.greenLabel}' ui:field="snapdealLastNdaySale"></g:TextBox>
                                                        </g:customCell>
                                                </g:row>                                                
                                        </g:Grid>
                                </g:cell>
                                <g:cell>
                                        <g:Grid>
                                                <g:row>
                                                        <g:customCell>
                                                                <g:Label styleName='{style.blueLabel}'>Best Deals Text:</g:Label>
                                                        </g:customCell>
                                                        <g:customCell>
                                                                <g:TextBox styleName='{style.greenLabel}' ui:field="bestDealsText"></g:TextBox>
                                                        </g:customCell>
                                                </g:row>
                                                <g:row>
                                                        <g:customCell>
                                                                <g:Label styleName='{style.blueLabel}'>Best Deals Value:</g:Label>
                                                        </g:customCell>
                                                        <g:customCell>
                                                                <g:TextBox styleName='{style.numeric-box}' ui:field="bestDealsValue"></g:TextBox>
                                                        </g:customCell>
                                                </g:row>
                            <g:row>
                                <g:customCell>
                                    <g:Label styleName='{style.blueLabel}'>Best Selling Rank:</g:Label>
                                </g:customCell>
                                <g:customCell>
                                    <g:TextBox styleName='{style.numeric-box}' ui:field="bestSellingRank"></g:TextBox>
                                </g:customCell>
                            </g:row>
                            <g:row>
                                <g:customCell>
                                    <g:Label styleName='{style.blueLabel}'>Default for Entity:</g:Label>
                                </g:customCell>
                                <g:customCell>
                                    <g:CheckBox ui:field="defaultForEntity"></g:CheckBox>
                                </g:customCell>
                            </g:row>
                            <g:row>
                                <g:customCell>
                                    <g:Label styleName='{style.blueLabel}'>Is Risky:</g:Label>
                                </g:customCell>
                                <g:customCell>
                                    <g:CheckBox ui:field="risky" enabled='false'></g:CheckBox>
                                </g:customCell>
                            </g:row>
                            <g:row>
                                <g:customCell>
                                    <g:Label styleName='{style.blueLabel}'>Min StockLevel:</g:Label>
                                </g:customCell>
                                <g:customCell>
                                    <g:TextBox styleName='{style.numeric-box}' ui:field="minStockLevel"></g:TextBox>
                                </g:customCell>
                            </g:row>
                            <g:row>
                                <g:customCell>
                                    <g:Label styleName='{style.blueLabel}'>min Days Of Stock:</g:Label>
                                </g:customCell>
                                <g:customCell>
                                    <g:TextBox styleName='{style.numeric-box}' ui:field="numOfDaysStock"></g:TextBox>
                                </g:customCell>
                            </g:row>
                            <g:row>
                                <g:customCell>
                                    <g:Label styleName='{style.blueLabel}'>Hold Inventory:</g:Label>
                                </g:customCell>
                                <g:customCell>
                                    <g:TextBox styleName='{style.numeric-box}' ui:field="holdInventory"></g:TextBox>
                                </g:customCell>
                            </g:row>
                            <g:row>
                                <g:customCell>
                                    <g:Label styleName='{style.blueLabel}'>Default Inventory:</g:Label>
                                </g:customCell>
                                <g:customCell>
                                    <g:TextBox styleName='{style.numeric-box}' ui:field="defaultInventory"></g:TextBox>
                                </g:customCell>
                            </g:row>
                                            <g:row>
                                                        <g:customCell>
                                                                <g:Label styleName='{style.blueLabel}'>Flipkart N-Day Sale:</g:Label>
                                                        </g:customCell>
                                                        <g:customCell>
                                                                <g:TextBox styleName='{style.greenLabel}' ui:field="flipkartLastNdaySale"></g:TextBox>
                                                        </g:customCell>
                                                </g:row>                                                
                                        
                                        </g:Grid>
                                </g:cell>
                        </g:HorizontalPanel>
                
                <g:VerticalPanel>
                    <g:VerticalPanel styleName='{style.inventoryTable}'>
                        <g:FlexTable ui:field='headerAvailability' styleName='{style.header}' cellSpacing='0' cellPadding='0'/>
                        <g:FlexTable ui:field='availabilityTable' styleName='{style.table}' cellSpacing='0' cellPadding='0' />
                    </g:VerticalPanel>
                    <g:VerticalPanel>
                        <g:Label styleName='{style.textlabel}'>Vendor Keys</g:Label>
                        <g:FlexTable ui:field='headerVendorItemKey' styleName='{style.header}' cellSpacing='0' cellPadding='0'/>
                        <g:FlexTable ui:field='tableVendorItemKey' styleName='{style.table}' cellSpacing='0' cellPadding='0' />
                        <g:Label></g:Label>
                    </g:VerticalPanel>
                    <g:VerticalPanel>
                        <g:Label styleName='{style.textlabel}'>Vendor Prices</g:Label>
                        <g:FlexTable ui:field='headerVendorPrices' styleName='{style.header}' cellSpacing='0' cellPadding='0'/>
                        <g:FlexTable ui:field='tableVendorPrices' styleName='{style.table}' cellSpacing='0' cellPadding='0' />
                    </g:VerticalPanel>
                    <g:VerticalPanel>
                        <g:Label styleName='{style.textlabel}'>Vouchers</g:Label>
                        <g:FlexTable ui:field='headerVouchers' styleName='{style.header}' cellSpacing='0' cellPadding='0'/>
                        <g:FlexTable ui:field='tableVouchers' styleName='{style.table}' cellSpacing='0' cellPadding='0' />
                    </g:VerticalPanel>
                    <g:VerticalPanel>
                        <g:Label styleName='{style.textlabel}'>Source Prices</g:Label>
                        <g:FlexTable ui:field='headerSourcePrices' styleName='{style.header}' cellSpacing='0' cellPadding='0'/>
                        <g:FlexTable ui:field='tableSourcePrices' styleName='{style.table}' cellSpacing='0' cellPadding='0' />
                    </g:VerticalPanel>
                    <g:VerticalPanel>
                        <g:Label styleName='{style.textlabel}'>Similar Items</g:Label>
                        <g:FlexTable ui:field='headerSimilarItems' styleName='{style.header}' cellSpacing='0' cellPadding='0'/>
                        <g:FlexTable ui:field='tableSimilarItems' styleName='{style.table}' cellSpacing='0' cellPadding='0' />
                    </g:VerticalPanel>
                </g:VerticalPanel>
                <g:VerticalPanel>
                        <g:Label styleName='{style.textlabel}'>Inactive Inventory Sync Warehouses</g:Label>
                        <g:FlexTable ui:field='headerIgnoredWarehouse' styleName='{style.header}' cellSpacing='0' cellPadding='0'/>
                        <g:FlexTable ui:field='tableIgnoredWarehouse' styleName='{style.table}' cellSpacing='0' cellPadding='0' />
                </g:VerticalPanel>          
                 
                <!-- <g:VerticalPanel styleName='{style.buttonContainer}'>
                    <g:Button ui:field="submit">Update Item</g:Button>
                </g:VerticalPanel> -->
            </g:VerticalPanel>
            </g:ScrollPanel>
                </g:center>
        </g:DockLayoutPanel>
</ui:UiBinder>