change logic for generate invoice

This commit is contained in:
olegphenomenon 2022-02-08 10:27:47 +02:00
parent ccd9260ce8
commit c2969fa877
6 changed files with 32 additions and 29 deletions

View file

@ -8,6 +8,9 @@ module EisBilling
sum = params[:standing_amount]
everypay_response = params
logger.info 'REQUEST FROM BILLING'
logger.info params
payment_status = define_payment_status(params[:payment_state])
invoice = Invoice.find_by(number: invoice_number)