mirror of
https://github.com/internetee/registry.git
synced 2025-07-31 23:16:23 +02:00
updated e-invoice response controller - added inherit from base class
This commit is contained in:
parent
d0236be063
commit
8201e1e0d0
2 changed files with 3 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
||||||
class EisBilling::EInvoiceResponseController < ApplicationController
|
class EisBilling::EInvoiceResponseController < EisBilling::BaseController
|
||||||
def update
|
def update
|
||||||
invoice_number = params[:invoice_number]
|
invoice_number = params[:invoice_number]
|
||||||
date = params[:date]
|
date = params[:date]
|
||||||
|
|
|
@ -12,8 +12,8 @@ module EisBilling
|
||||||
invoice_subtotal: invoice.subtotal,
|
invoice_subtotal: invoice.subtotal,
|
||||||
buyer_billing_email: invoice.buyer.billing_email,
|
buyer_billing_email: invoice.buyer.billing_email,
|
||||||
buyer_e_invoice_iban: invoice.buyer.e_invoice_iban,
|
buyer_e_invoice_iban: invoice.buyer.e_invoice_iban,
|
||||||
seller_country: invoice.seller_country,
|
seller_country_code: invoice.seller_country_code,
|
||||||
buyer_country: invoice.buyer_country,
|
buyer_country_code: invoice.buyer_country_code,
|
||||||
payable: payable,
|
payable: payable,
|
||||||
initiator: INITIATOR
|
initiator: INITIATOR
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue