-
Notifications
You must be signed in to change notification settings - Fork 17
Renewal Management
This part of the application allows to manage calls to renew IP titles. It consists of two workflows, the first to manage calls, payment and receipts, the second to manage invoicing. Calls are done via email.
Access the tool from the menu Matters->Manage renewals
.
Different steps are accessible. At each step, specific action buttons below the step tabs are proposed. At each step, a contextual list of renewal tasks is displayed. Actions are performed on selected renewals.
The available actions are Send
(for sending first call emails directly from the application) or Clear as sent
(for simply clearing the renewals as being notified by other means). After sending or clearing, the renewals are transferred to step Reminder
.
The cost values used in the emails are taken from the fee
and cost
columns of the fees
table, or from the fee_reduced
and cost_reduced
columns when the classifier "SME status" is present in in the matter.
The available actions are:
-
Send reminder
to send reminder calls by email directly from the application. Only the subject of the message is changed, the content is still the same as the first call email. -
Send last reminder
to send a reminder just before the due date. After this action, the renewals are tagged withgrace period
. The cost values are issued from thefee
andcost
columns of thefees
table, or from thefee_reduced
andcost_reduced
columns when the classifier "SME status" is present in the matter, but thefees
orfee_reduced
value is changed with thefee_factor
from the configuration file (/config/renewal.php
). -
Register order
to mark that instructions have been received to pay. The renewals are then transferred to thePayment
step. -
Abandon
to mark that instructions have been received to abandon the case. The renewals are then transferred to theAbandoned
step and marked as done. -
Lapsed
to mark that the Office has declared the case as lapsed, without received instructions. Tasks are then transferred to theClosed
step.
-
Generate order
produces an XML file that can be uploaded to office portals. -
Clear as paid
is used when the payment or the order to pay is achieved with external means or with the previous XML file. This action is used also when an order has been generated. The renewals are added in both cases to theInvoicing
step and theReceipts
step.
Any of theses actions sets the renewals as done
.
-
Receipt received
tracks the receipts issued by the Office. The renewals are transferred toReceipts received
.
-
Send receipts
tracks the receipts sent to the client. The renewals are then transferred toClosed
.
-
Lapse
tracks lapse communications from the Office.
-
Send lapse communication
tracks that the communication from the Office has been sent to the client. There are no more actions and the renewals go to theClosed
step.
-
Invoice
generates invoices, the renewals being grouped by client, using the open source accounting tool Dolibarr. The renewals are transferred to theInvoiced
step. The cost values are taken from thefees
andcost
columns of thefees
table, or from thefee_reduced
andcost_reduced
columns when the classifier "SME status" is present in the matter. Whengrace period
is checked and the due date is not past,fee_factor
is applied. When the due date is past the done date, the cost values are taken from thefees_sup
andcost_sup
columns of thefees
table, or from thefee_sup_reduced
andcost_sup_reduced
columns when the classifier "SME status" is present in the matter.
This step displays the list of invoiced renewals. There are no other actions.
Each action is logged. Logs can be viewed via the URL /logs
. Lines can be filtered by job, client, date, case number or user.
Some settings are included in the file /config/renewal.php
. The syntax is that of a PHP array. The array is subdivided in several sections
-
general
: -
paginate
set the number of lines in the page listing renewals. -
api
: used to specify access to the Dolibarr API, allowing invoicing. If another tool is used for invoicing, theinvoice
method of RenewalController.php is to be changed. -
validity
: configure indications about the validity of the call. -
instruct_before
: in days, the delay before the earliest due date of the call; -
fee_factor
: factor applied to fees for late instructions; -
before
: in days before the due date, delay to consider instructions as late, -
before_last
: in days before the due date, delay to ask for last limit instruction. -
xml
: used to configure xml files for orders according to EPO-batch-payment.dtd https://www.epo.org/law-practice/legal-texts/official-journal/2015/etc/se3/p75.html. The setting hasheader
andfooter
, and fees will be inserted between them. It has alsoEP_Deposit
andFR_Deposit
tags to include the Office deposit account to debit. The following items will be replaced: - NAME: the user name
- TRANSACTION: the date
- DEPOSIT: the account according to the office/country
- TOTAL: the total fee amount in the transaction
- COUNT: the number of transactions Note that the payment portals of different offices will ignore some of these fields.
Laravel's emailing backend is used for sending emails. Refer to Laravel configuration according to your infrastructure for settings.
The message bodies of the emails are blade templates stored in resources/views/email
. firstcall.blade.php
is used for first call and reminders. lastcall.blade.php
is used for last reminder just before the grace period. warncall.blade.php
is used for reminders during the grace period.
They use the variables:
-
$dest
for greetings; $instruction_date
-
$renewals
to iterate for renewals; $validity_date
-
total_ht
: total without VAT; -
total
: total with VAT.