-
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.
The access is from the menu Matters->Manage renewals
.
Different steps are accessible. At each step, specific action buttons listed below the row of step buttons are proposed. At each step, a contextual list of renewal tasks is displayed. Actions act on selected rows.
The available action is to send first calls. After sending, tasks are transferred to step Reminder
. The cost values are issued 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. Only the subject of the message is changed, the content is still the same as the first call. -
Send last reminder
to send a reminder just before the due date. After sending, tasks are tagged with "grace 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. -
Register order
to mark that instructions have been received to pay. Tasks are then transferred to thePayment
step. -
Abandon
to mark that instructions have been received to abandon the case. Tasks 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. Tasks are added in both cases to theInvoicing
step and theReceipts
step.
-
Receipt received
tracks the receipts emitted by the Office. Tasks are transferred toReceipts received
.
-
Send receipts
tracks the receipts sent to the client. Tasks are 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 case is in theclosed
step.
-
Invoice
generates invoices, tasks being grouped by client, using Dolibarr. Tasks 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 already invoiced tasks. There are no other actions.
Each action is registered. Logs can be viewed in logs/ page. Lines can be filtered by job, client, date, casenumber 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.