On Thu, 2010-03-25 at 16:04 +0100, Vitezslav Novy wrote:
Georg Kahest wrote:
Hello!
After some digging in the database i have managed to add one invoice (
so i have balance of x @ one registar now ) to db,but that was done
directly and now when i do some operations via fred-client the balance
seems not to go smaller.
What is the correct way to assign credits to registrar(not via bank), at
what moment the credit is removed from registrars balance.
I would greatly appriciate example command set of assigning credits to
someone aswell example when the credits are removed from registrar.
If this is documented somewhere and i just missed it link to
documentation would be awesome.
Georg
fred-banking --credit REG-HANDLE zone price
Exactly.
In upcoming release 2.3 it will be using fred-admin:
{{{
fred-admin --invoice_credit --help
** Invoice credit **
$ fred-admin --invoice_credit \
--zone_id=<zone_id> | \
--registrar_id=<registrar_id> | \
--price=<price> \
[--taxdate=<tax_date>]
Default value for ``--taxdate'' is today's timestamp.
}}}
I think price can be alsoo negative.
I'm afraid not. It can cause problems as Bryton from .tz discovered.
Regards,
Jaromir
v.
_______________________________________________
fred-users mailing list
fred-users(a)lists.nic.cz
https://lists.nic.cz/mailman/listinfo/fred-users
--
Jaromir Talir
technicky reditel / Chief Technical Officer
-------------------------------------------
CZ.NIC, z.s.p.o. -- .cz domain registry
Americka 23, 120 00 Praha 2, Czech Republic
mailto:jaromir.talir@nic.cz
http://nic.cz/
sip:jaromir.talir@nic.cz tel:+420.222745107
mob:+420.739632712 fax:+420.222745112
-------------------------------------------