mirror of
https://github.com/internetee/registry.git
synced 2025-07-12 14:08:17 +02:00
Story#105855968 - set directo min and max default settings
This commit is contained in:
parent
e954c212c7
commit
20c15e41b0
2 changed files with 2 additions and 24 deletions
|
@ -130,27 +130,3 @@ class Directo < ActiveRecord::Base
|
|||
end
|
||||
end
|
||||
|
||||
=begin
|
||||
RN - incremental
|
||||
RR - grouping of rows - is same for rows where sum is devided to more than one year eg. 7€ - 7€ - 7€ for 3 year 21€ domains
|
||||
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<invoices>
|
||||
<!-- Period (UTC) : 2015-06-30 21:00:00 to 2015-07-31 21:00:00 -->
|
||||
<!-- Executed at : Thu Aug 13 09:32:51 2015 -->
|
||||
<invoice Number="13980" InvoiceDate="2015-07-31" PaymentTerm="E" CustomerCode="REGISTRAR2" Language="" Currency="EUR" SalesAgent="NIMI">
|
||||
<line RN="1" RR="1" ProductName="Domeenide registreerimine - Juuli 2015" />
|
||||
<line RN="2" RR="2" ProductID="01EE" Quantity="1911" Unit="tk" ProductName=".ee registreerimine: 1 aasta" UnitPriceWoVAT="9.00" />
|
||||
<line RN="3" RR="3" ProductID="01EE" Quantity="154" Unit="tk" ProductName=".ee registreerimine: 2 aastat" UnitPriceWoVAT="9.00" />
|
||||
<line RN="4" RR="3" ProductID="01EE" Quantity="154" Unit="tk" ProductName=".ee registreerimine: 2 aastat" UnitPriceWoVAT="8.00" StartDate="2016-07-31" EndDate="2016-07-31" />
|
||||
<line RN="5" RR="5" ProductID="01EE" Quantity="170" Unit="tk" ProductName=".ee registreerimine: 3 aastat" UnitPriceWoVAT="9.00" />
|
||||
<line RN="6" RR="5" ProductID="01EE" Quantity="170" Unit="tk" ProductName=".ee registreerimine: 3 aastat" UnitPriceWoVAT="8.00" StartDate="2016-07-31" EndDate="2016-07-31" />
|
||||
<line RN="7" RR="5" ProductID="01EE" Quantity="170" Unit="tk" ProductName=".ee registreerimine: 3 aastat" UnitPriceWoVAT="7.00" StartDate="2017-07-31" EndDate="2017-07-31" />
|
||||
<line RN="8" RR="8" ProductID="03PRI" Quantity="2" Unit="tk" ProductName=".pri.ee registreerimine: 1 aasta" UnitPriceWoVAT="9.00" />
|
||||
<line RN="9" RR="9" ProductID="04FIE" Quantity="1" Unit="tk" ProductName=".fie.ee registreerimine: 1 aasta" UnitPriceWoVAT="9.00" />
|
||||
<line RN="10" RR="10" ProductID="02COM" Quantity="11" Unit="tk" ProductName=".com.ee registreerimine: 1 aasta" UnitPriceWoVAT="9.00" />
|
||||
<line RN="11" RR="11" ProductID="ETTEM06" Quantity="-1" Unit="tk" ProductName="Domeenide ettemaks" UnitPriceWoVAT="1000.00" />
|
||||
</invoice>
|
||||
</invoices>
|
||||
=end
|
||||
|
|
|
@ -30,6 +30,8 @@ if false && con.present? && con.table_exists?('settings')
|
|||
|
||||
Setting.save_default(:invoice_number_min, 131050)
|
||||
Setting.save_default(:invoice_number_max, 149999)
|
||||
Setting.save_default(:directo_monthly_number_min, 309901)
|
||||
Setting.save_default(:directo_monthly_number_max, 309999)
|
||||
Setting.save_default(:days_to_keep_invoices_active, 30)
|
||||
Setting.save_default(:days_to_keep_overdue_invoices_active, 30)
|
||||
Setting.save_default(:minimum_deposit, 0.0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue