mirror of
https://github.com/internetee/registry.git
synced 2025-08-03 08:22:05 +02:00
Updated REPP API for new registrar portal
This commit is contained in:
parent
e17b21436d
commit
a5ffce290d
61 changed files with 1269 additions and 408 deletions
|
@ -180,6 +180,13 @@ class Invoice < ApplicationRecord
|
|||
|
||||
private
|
||||
|
||||
ransacker :number_str do
|
||||
Arel.sql(
|
||||
"regexp_replace(
|
||||
to_char(\"#{table_name}\".\"number\", '999999999999'), ' ', '', 'g')"
|
||||
)
|
||||
end
|
||||
|
||||
def receipt_date_status
|
||||
if paid?
|
||||
receipt_date
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue