Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
info [2014/12/06 19:10] – [Contact] hessinfo [2015/04/18 08:32] (current) – [Contact] hess
Line 6: Line 6:
   function tasks(task) {   function tasks(task) {
     $(".result").html("Processing, please wait...");     $(".result").html("Processing, please wait...");
-    var message = $("#message").val() + "\n Articles: \n" + $("#article-list").text() + "\n Address: \n" + $("#address").val();+    var message = $("#message").val() + "\n Articles: \n" + $("#article-list").text() + "\n E-mail: \n" + $("#replyTo").val() + "\n Address: \n" + $("#address").val();
     var subject = $("#subject option:selected").text()     var subject = $("#subject option:selected").text()
-    var recipient = 'sam.hess@me.com';+    var recipient = 'sales@netmodule.com';
     var replyTo = $("#replyTo").val();     var replyTo = $("#replyTo").val();
     if ($("#subject").val() == "order" ) {     if ($("#subject").val() == "order" ) {
-      recipient = 'samuel.hess@netmodule.com';+      recipient = 'orders@netmodule.com';
     }     }
     $.get("/lib/tpl/netmodule/tasks.php", { task: task, subject: subject, message: message, recipient: recipient, replyTo: replyTo }, function( data ) {     $.get("/lib/tpl/netmodule/tasks.php", { task: task, subject: subject, message: message, recipient: recipient, replyTo: replyTo }, function( data ) {
Line 42: Line 42:
   <tr>   <tr>
     <td>Articles:</td>     <td>Articles:</td>
-    <td><p id='article-list'>Select articles below <br/>(amount for quotations/orders, ? for questions)</p></td>+    <td><p id='article-list'>Select articles below</p></td>
   </tr>   </tr>
   <tr>   <tr>
Line 52: Line 52:
     <td>Address:</td>     <td>Address:</td>
     <td>     <td>
-      <textarea id='address' rows="3" cols="50">E-mail and mail address</textarea> +      <textarea id='address' rows="3" cols="50">Mail address</textarea> 
     </td>     </td>
   </tr>   </tr>
Line 74: Line 74:
 foreach ($lines as $line) {  foreach ($lines as $line) {
   $counter++;   $counter++;
-  echo "<tr><td><input name='amount-$counter' type='text' size='4' onchange='update()'></td>";+  echo "<tr><td><input name='amount-$counter' type='text' size='2' onchange='update()'></td>";
   $article= explode(",", $line); // catalog.txt is comma separated   $article= explode(",", $line); // catalog.txt is comma separated
   $number = $article[0]; // first column   $number = $article[0]; // first column