format date for date_submitted.
authorSteve Sutton <steve@gaslightmedia.com>
Fri, 18 May 2018 20:50:47 +0000 (16:50 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Fri, 18 May 2018 20:50:47 +0000 (16:50 -0400)
Was outputting the time which is not stored in the db field.

views/admin/registrations/requestDashboard.html

index 758eb99..4a8f847 100644 (file)
         <h2 class="glm-error">This request has been DELETED!</h2>
         <p>* All {$terms.reg_term_attendee_plur} included in this request have been removed along with all associated data.</p>
         <p>* All {$terms.reg_term_attendee} availability inventory that was consumed by this request has been made available again.</p>
-        <p>* This deleted request cannot be restored.</p> 
+        <p>* This deleted request cannot be restored.</p>
     </div>
-{else}    
+{else}
     <a href="" class="button button-secondary glm-button glm-right" id="glm-admin-reg_delete-request">Delete Request</a>
-{/if}    
-    
+{/if}
+
     <h1>Request</h1>
-    
+
     <div id="glm-admin-member-registrations-request-overview" class="glm-admin-table">
         <div class="glm-row">
             <div class="glm-small-4 glm-left">
@@ -71,7 +71,7 @@
                             {$cart.request.bill_city}, {$cart.request.bill_state} {$cart.request.bill_zip} {$cart.request.bill_country}
                         </div>
                     </div>
-                    
+
                 </div>
             </div>
             <div class="glm-small-4 glm-left">
@@ -81,7 +81,7 @@
                             <h3>Submitted:</h3>
                         </div>
                         <div class="glm-small-12 glm-column">
-                            {$cart.request.date_submitted.datetime}
+                            {$cart.request.date_submitted.datetime|date_format:"%D"}
                         </div>
                     </div>
                     <div class="glm-row">
                             <h3>Notes:</h3>
                         </div>
                         <div class="glm-small-12 glm-column">
-    {if $cart.request.notes != ''}                        
+    {if $cart.request.notes != ''}
                             <div style="background-color: white; border: solid black 1px; padding: .2em; margin-top: .2em;">
                                 {$cart.request.notes}
                             </div>
     {else}
                             (no notes entered)
-    {/if}                            
+    {/if}
                         </div>
                     </div>
                 </div>
             </div>
-        </div>  
+        </div>
 
     </div>
 </div>
 
 <div class="glm-admin-table-inner glm-admin-table">
-    
+
     <h1>Cart Contents When Submitted</h1>
     <p class="glm-notice" style="font-size: 1.2em;">
-        NOTE: The summary below is a historical record (exact copy) of the checkout summary at the time the cart was submitted. 
+        NOTE: The summary below is a historical record (exact copy) of the checkout summary at the time the cart was submitted.
         Editing {$terms.reg_term_attendee_plur} and other updates will not change the information below.
     </p>
-    
+
     <div>
 
 {if $cart.request.summary}
 
 {/if}
     </div>
-</div>    
-    
-    
+</div>
+
+
 <div id="deleteRegSubmissionDialog" title="Delete {$terms.reg_term_registration_cap} Confirmation">
     <h3 class="glm-error glm-center">You are deleting the registration request shown on this page!</h3>
     <p>Clicking "Delete This Request" below will permanently remove this request and any information associated with it.</p>
     </p>
     <p>To delete this request as described above, click "Delete This Request" below.</p>
 </div>
-    
-    
+
+
 
 
 </div>
     jQuery(document).ready(function($) {
 
         var dialogWidth = $("#glm-admin-member-registrations-request-overview").width();
-        
+
         // Summary Dialog Box
         $("#viewSummaryDialog").dialog({
             autoOpen: false,
             $('#deleteRegSubmissionDialog').dialog('open');
             return false;
         });
-        
+
     });
 </script>