invoices: make duplicate
This commit is contained in:
parent
7ed1a674aa
commit
cb52388bf1
2 changed files with 29 additions and 0 deletions
|
|
@ -40,6 +40,9 @@
|
|||
<% if @invoice.paid? %>Mark unpaid<% else %>Mark paid<% end %>
|
||||
</button>
|
||||
</form>
|
||||
<p style="margin-top: 14px;">
|
||||
<a href="/admin/invoices/<%= @invoice.uuid %>/duplicate">Use as template for a new invoice →</a>
|
||||
</p>
|
||||
</section>
|
||||
|
||||
<% unless @invoice.notes.to_s.strip.empty? %>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue