Skip to content
Snippets Groups Projects
Commit bcb593f6 authored by VESSILLER's avatar VESSILLER
Browse files

NEW - modification de la gestion des erreurs et ajout de cration de partage

parent 8e8ba35c
No related branches found
No related tags found
No related merge requests found
......@@ -5,7 +5,7 @@
<name>Demat Payslip</name>
<summary>Dématérialisation des bulletins de paie</summary>
<description><![CDATA[Dématérialisation des bulletins de paie]]></description>
<version>1.0.2</version>
<version>1.0.1</version>
<licence>agpl</licence>
<author mail="support@open-dsi.fr" >Open-DSI</author>
<namespace>Dematpayslip</namespace>
......
This diff is collapsed.
......@@ -10,8 +10,10 @@ class DematpayslipProcess extends Entity implements JsonSerializable {
protected $processing;
protected $phase;
protected $phaseStartTime;
protected $phaseStepNum;
protected $mustTerminate;
protected $hasError;
protected $errorCode;
protected $errorMsg;
protected $pdfOrigin;
protected $csvOrigin;
......@@ -24,8 +26,10 @@ class DematpayslipProcess extends Entity implements JsonSerializable {
'processing' => $this->processing,
'phase' => $this->phase,
'phaseStartTime' => $this->phaseStartTime,
'phaseStepNum' => $this->phaseStepNum,
'mustTerminate' => $this->mustTerminate,
'hasError' => $this->hasError,
'errorCode' => $this->errorCode,
'errorMsg' => $this->errorMsg,
'csvOrigin' => $this->csvOrigin,
'pdfOrigin' => $this->pdfOrigin,
......
......@@ -7,7 +7,7 @@ use OCP\DB\ISchemaWrapper;
use OCP\Migration\SimpleMigrationStep;
use OCP\Migration\IOutput;
class Version010002Date20190801010000 extends SimpleMigrationStep {
class Version010000Date20190802040000 extends SimpleMigrationStep {
/**
* @param IOutput $output
......@@ -36,6 +36,10 @@ class Version010002Date20190801010000 extends SimpleMigrationStep {
$table->addColumn('phase_start_time', 'integer', [
'notnull' => true,
]);
$table->addColumn('phase_step_num', 'integer', [
'notnull' => true,
'default' => 0,
]);
$table->addColumn('must_terminate', 'integer', [
'notnull' => true,
'default' => 0,
......@@ -44,6 +48,10 @@ class Version010002Date20190801010000 extends SimpleMigrationStep {
'notnull' => true,
'default' => 0,
]);
$table->addColumn('error_code', 'integer', [
'notnull' => true,
'default' => 0,
]);
$table->addColumn('error_msg', 'text', [
'notnull' => false,
]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment