submit(event){

    var title = "Summary"
    var date = getDate();
    this.state.date = date;
    var product= "Design: " + this.state.design + ". Color: " + this.state.color;
    var mBelovac= "Belovac: Completed: " + this.state.belovac + ". Lost: " + this.state.belovacLost;
    var mGuillotine= "Guillotine: Completed: " + this.state.guillotine + ". Lost: " + this.state.guillotineLost;
    var mRotozip= "RotoZip: Completed: " + this.state.rotozip + ". Lost: " + this.state.rotozipLost;
    var mSanding= "Sanding: Completed: " + this.state.sanding + ". Lost: " + this.state.sandingLost;
    var mVelcro= "Velcro: Completed: " + this.state.velcro + ". Lost: " + this.state.velcroLost;
    var mStickers= "Stickers: Completed: " + this.state.stickers + ". Lost: " + this.state.stickersLost;
    var mPackaing= "Packaging: Completed: " + this.state.packaging + ". Lost: " + this.state.packagingLost;
    var message= title +"\n"+ date + "\n" + product+"\n"+mBelovac+"\n"+mGuillotine+"\n"+mRotozip+"\n"+mSanding+"\n"+mVelcro+"\n"+mStickers+"\n"+mPackaing;
    var show = "Grill | " + this.state.design+ " | " + this.state.color + " | Bel:" + this.state.belovac +"-"+this.state.belovacLost+" | Gui:"+this.state.guillotine+"-"+this.state.guillotineLost+" | Rto:"+this.state.rotozip+"-"+this.state.rotozipLost+" | Snd:"+this.state.sanding+"-"+this.state.sandingLost+" | Vlc:"+this.state.velcro+"-"+this.state.velcroLost+" | Stk:"+this.state.stickers+"-"+this.state.stickersLost+" | Pac:"+this.state.packaging+"-"+this.state.packagingLost;
    {/*This shows the alert with the summary*/}
    alert(message)
    {/*If click confirm add to database, click deny will not*/}
    {/*Will try to send data to the Output function here when confirm is selected*/}
    
  }
/*Function for when you add the information for the EndOfDay Grill information.
    you will get an alert with a summary then a confirmation popup to confirm.
    Will look into Modal for a possible replacement*/
Function for when you add the information for the EndOfDay Grill information.
you will get an alert with a summary then a confirmation popup to confirm.
Will look into Modal for a possible replacement
Function for when you add the information for the EndOfDay Grill information . you will get an alert with a summary then a confirmation popup to confirm . Will look into Modal for a possible replacement
submit(event){
    var title = "Summary"
    var date = getDate();
    this.state.date = date;
    var product= "Design: " + this.state.design + ". Color: " + this.state.color;
    var mBelovac= "Belovac: Completed: " + this.state.belovac + ". Lost: " + this.state.belovacLost;
    var mGuillotine= "Guillotine: Completed: " + this.state.guillotine + ". Lost: " + this.state.guillotineLost;
    var mRotozip= "RotoZip: Completed: " + this.state.rotozip + ". Lost: " + this.state.rotozipLost;
    var mSanding= "Sanding: Completed: " + this.state.sanding + ". Lost: " + this.state.sandingLost;
    var mVelcro= "Velcro: Completed: " + this.state.velcro + ". Lost: " + this.state.velcroLost;
    var mStickers= "Stickers: Completed: " + this.state.stickers + ". Lost: " + this.state.stickersLost;
    var mPackaing= "Packaging: Completed: " + this.state.packaging + ". Lost: " + this.state.packagingLost;
    var message= title +"\n"+ date + "\n" + product+"\n"+mBelovac+"\n"+mGuillotine+"\n"+mRotozip+"\n"+mSanding+"\n"+mVelcro+"\n"+mStickers+"\n"+mPackaing;
    var show = "Grill | " + this.state.design+ " | " + this.state.color + " | Bel:" + this.state.belovac +"-"+this.state.belovacLost+" | Gui:"+this.state.guillotine+"-"+this.state.guillotineLost+" | Rto:"+this.state.rotozip+"-"+this.state.rotozipLost+" | Snd:"+this.state.sanding+"-"+this.state.sandingLost+" | Vlc:"+this.state.velcro+"-"+this.state.velcroLost+" | Stk:"+this.state.stickers+"-"+this.state.stickersLost+" | Pac:"+this.state.packaging+"-"+this.state.packagingLost;
    {}
    alert(message)
    {}
    {}
  }
submit ( event ) { var title = "Summary" var date = getDate ( ) ; this . state . date = date ; var product = "Design: " + this . state . design + ". Color: " + this . state . color ; var mBelovac = "Belovac: Completed: " + this . state . belovac + ". Lost: " + this . state . belovacLost ; var mGuillotine = "Guillotine: Completed: " + this . state . guillotine + ". Lost: " + this . state . guillotineLost ; var mRotozip = "RotoZip: Completed: " + this . state . rotozip + ". Lost: " + this . state . rotozipLost ; var mSanding = "Sanding: Completed: " + this . state . sanding + ". Lost: " + this . state . sandingLost ; var mVelcro = "Velcro: Completed: " + this . state . velcro + ". Lost: " + this . state . velcroLost ; var mStickers = "Stickers: Completed: " + this . state . stickers + ". Lost: " + this . state . stickersLost ; var mPackaing = "Packaging: Completed: " + this . state . packaging + ". Lost: " + this . state . packagingLost ; var message = title + "\n" + date + "\n" + product + "\n" + mBelovac + "\n" + mGuillotine + "\n" + mRotozip + "\n" + mSanding + "\n" + mVelcro + "\n" + mStickers + "\n" + mPackaing ; var show = "Grill | " + this . state . design + " | " + this . state . color + " | Bel:" + this . state . belovac + "-" + this . state . belovacLost + " | Gui:" + this . state . guillotine + "-" + this . state . guillotineLost + " | Rto:" + this . state . rotozip + "-" + this . state . rotozipLost + " | Snd:" + this . state . sanding + "-" + this . state . sandingLost + " | Vlc:" + this . state . velcro + "-" + this . state . velcroLost + " | Stk:" + this . state . stickers + "-" + this . state . stickersLost + " | Pac:" + this . state . packaging + "-" + this . state . packagingLost ; { } alert ( message ) { } { } }
Function for when you add the information for the EndOfDay Grill information.
Function for when you add the information for the EndOfDay Grill information .
/*This shows the alert with the summary*/ /*If click confirm add to database, click deny will not*/ /*Will try to send data to the Output function here when confirm is selected*/