Move extra bills to credit cards
This commit is contained in:
parent
c14a408f9a
commit
0887a5f6b9
38 changed files with 242 additions and 251 deletions
|
@ -15,8 +15,8 @@
|
|||
</p>
|
||||
|
||||
<p class="my-5">
|
||||
<strong class="block font-medium mb-1">Autopaid:</strong>
|
||||
<%= expense.autopaid %>
|
||||
<strong class="block font-medium mb-1">Credit card:</strong>
|
||||
<%= expense.credit_card %>
|
||||
</p>
|
||||
|
||||
<p class="my-5">
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
json.extract! expense, :id, :description, :payment, :period, :autopaid, :estimated, :created_at, :updated_at
|
||||
json.extract! expense, :id, :description, :payment, :period, :credit_card, :estimated, :created_at, :updated_at
|
||||
json.url expense_url(expense, format: :json)
|
||||
|
|
|
@ -32,8 +32,8 @@
|
|||
</div>
|
||||
|
||||
<div class="my-5">
|
||||
<%= form.label :autopaid %>
|
||||
<%= form.check_box :autopaid, class: "block mt-2 h-5 w-5" %>
|
||||
<%= form.label :credit_card %>
|
||||
<%= form.check_box :credit_card, class: "block mt-2 h-5 w-5" %>
|
||||
</div>
|
||||
|
||||
<div class="my-5">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue