Compare commits

...

4 Commits

Author SHA1 Message Date
a741cd0217 update readme 2026-01-22 21:54:03 -05:00
b096244454 Better display of customer note 2026-01-22 21:50:17 -05:00
4983cd661c Fixed missing locale 2026-01-22 21:49:33 -05:00
5f6fb4af27 Only show select all when more than one invoice 2026-01-22 21:29:08 -05:00
4 changed files with 17 additions and 9 deletions

View File

@@ -93,6 +93,7 @@ To enable automatic Time Activity entries for an Issue, you simply need to assig
## TODO
* Separate Vehicles into a separate plugin (I use Redmine for my automotive shop management 😉)
* Checkout branch dev-6 for a stripped down version
* MORE Stuff as I make it up...

View File

@@ -37,8 +37,11 @@
</tr>
<tr>
<th><%=t(:field_notes)%></th>
<td>
<th colspan="2"><h4><%=t(:field_notes)%></hr></th>
</tr>
<tr>
<td colspan="2">
<pre id="note-display" style="text-align: left; white-space: pre-wrap; font-family: inherit;">
<%= customer.notes %>
</pre>

View File

@@ -11,7 +11,7 @@
<div class="splitcontent">
<div class="splitcontentleft">
<h4><%=t(:label_customer)%>:</h4>
<h4><%=t(:field_customer)%>:</h4>
<%= render :partial => 'customers/details', locals: {customer: @customer} %>
</div>

View File

@@ -2,12 +2,14 @@
<%= form_with(url: invoice_path, method: :get) do |form| %>
<% if @customer.invoices.count > 1 %>
<div class="form-check">
<%= check_box_tag "select-all-invoices", "1", false, id: "select-all-invoices" %>
<%= label_tag "select-all-invoices", t(:label_select_all) %>
</div>
<hr>
<% end %>
<% @customer.invoices.order(id: :desc).each do |invoice| %>
<div class="row">
@@ -16,8 +18,10 @@
</div>
<% end %>
<% if @customer.invoices.count > 1 %>
<%= form.submit t(:button_bulk_pdf) %>
<% end %>
<% end %>
<% else %>
<p><%=t(:label_no_invoices)%>.</p>