forked from rubyforgood/partner
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e75d05c
commit f409b99
Showing
4 changed files
with
55 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,62 +1,52 @@ | ||
<div class="app-title"> | ||
<div> | ||
<h1 style="font-size: 4rem;text-align: center;"> Pickup Sheet</h1> | ||
<h1 style="font-size: 2rem;text-align: center;"><%= Date.today.strftime("%B") %> Pickup Sheet</h1> | ||
</div> | ||
</div> | ||
<div class="row"> | ||
<div class="col-md-12"> | ||
<div class="row"> | ||
<div class="col-12"> | ||
<div class="card mb-12"> | ||
<table class="table table-striped"> | ||
<thead> | ||
<tr> | ||
<th scope="col">Child's name</th> | ||
<th scope="col">Picked Up By</th> | ||
<th scope="col">Quantity Ordered</th> | ||
<th scope="col">Quantity Picked Up</th> | ||
<th scope="col">Item Ordered</th> | ||
<th scope="col">Item Picked Up</th> | ||
<th scope="col">Picked up</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<% child_item_requests.each do |child_item_request| %> | ||
<% child = child_item_request.child %> | ||
<tr> | ||
<td colspan="7" id="flash-message-container-nested-<%= child_item_request.id%>"> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td><%= child.display_name %></td> | ||
<td> | ||
<% child.family.authorized_family_members.each do |authed| %> | ||
<div> | ||
<input type="checkbox"> | ||
<label><%= authed.display_name %></label> | ||
</div> | ||
<% end %> | ||
</td> | ||
<td><%= child_item_request.quantity %></td> | ||
<td> | ||
<input type="text"> | ||
<div class="col-12"> | ||
<table class="table table-striped"> | ||
<thead> | ||
<tr> | ||
<th scope="col">Child's name</th> | ||
<th scope="col">Picked Up By</th> | ||
<th scope="col">Quantity Ordered</th> | ||
<th scope="col">Quantity Picked Up</th> | ||
<th scope="col">Item Ordered</th> | ||
<th scope="col">Item Picked Up</th> | ||
<th scope="col">Picked up</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<% child_item_requests.each do |child_item_request| %> | ||
<% child = child_item_request.child %> | ||
<tr> | ||
<td><%= child.display_name %></td> | ||
<td> | ||
<% child.family.authorized_family_members.each do |authed| %> | ||
<div> | ||
<input type="checkbox"> | ||
<label><%= authed.display_name %></label> | ||
</div> | ||
<% end %> | ||
</td> | ||
<td><%= child_item_request.quantity %></td> | ||
<td> | ||
<input type="text"> | ||
|
||
</td> | ||
<td><%= item_id_to_display_string_map[child_item_request.child.item_needed_diaperid] %></td> | ||
<td> | ||
<input type="text"> | ||
</td> | ||
<td> | ||
</td> | ||
<td><%= item_id_to_display_string_map[child_item_request.child.item_needed_diaperid] %></td> | ||
<td> | ||
<input type="text"> | ||
</td> | ||
<td> | ||
|
||
<input type="checkbox"> | ||
<input type="checkbox"> | ||
|
||
</td> | ||
</tr> | ||
<% end %> | ||
</tbody> | ||
</table> | ||
</div> | ||
</div> | ||
</div> | ||
</td> | ||
</tr> | ||
<% end %> | ||
</tbody> | ||
</table> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
WickedPdf.config = { | ||
#cross enviroment configs | ||
} | ||
|
||
if Rails.env.development? | ||
WickedPdf.config[:lowquality] = true | ||
end |