mirror of
https://github.com/fspc/bike-database.git
synced 2026-09-16 16:41:38 -04:00
lk | receipt button appears when client has a bike
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
.btn.btn-default
|
||||
= link_to 'Print Receipt', client_receipt_path(@client)
|
||||
@@ -1,4 +1,5 @@
|
||||
.container
|
||||
%h1 Edit client
|
||||
= render 'receipt_button' if @client.bike_id
|
||||
= render 'form'
|
||||
= link_to 'Back', clients_path
|
||||
|
||||
Reference in New Issue
Block a user