mirror of
https://github.com/internetee/registry.git
synced 2025-08-05 17:28:18 +02:00
added api service for generate invoice in billing system
This commit is contained in:
parent
8a34e9e2ba
commit
9bdca96f87
2 changed files with 115 additions and 0 deletions
|
@ -12,6 +12,10 @@ class Registrar
|
|||
|
||||
if @invoice
|
||||
flash[:notice] = t(:please_pay_the_following_invoice)
|
||||
|
||||
add_invoice_instance = EisBilling::AddDeposits.new(@invoice)
|
||||
add_invoice_instance.some_meth
|
||||
|
||||
redirect_to [:registrar, @invoice]
|
||||
else
|
||||
flash[:alert] = @deposit.errors.full_messages.join(', ')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue