mirror of
https://github.com/internetee/registry.git
synced 2025-07-03 01:33:36 +02:00
use invoice.order for directo/banklink
This commit is contained in:
parent
52cf53343c
commit
145af2ac0f
3 changed files with 9 additions and 4 deletions
|
@ -35,7 +35,7 @@ class Directo < ActiveRecord::Base
|
|||
"ProductID" => Setting.directo_receipt_product_name,
|
||||
"Quantity" => 1,
|
||||
"UnitPriceWoVAT" => ActionController::Base.helpers.number_with_precision(invoice.sum_cache/(1+invoice.vat_prc), precision: 2, separator: "."),
|
||||
"ProductName" => invoice.description
|
||||
"ProductName" => invoice.order
|
||||
)
|
||||
}
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue