Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions htdocs/langs/de_DE/website.lang
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,33 @@ WebPortalPartnerShipCardAccessHelp=Zugriff auf den Partnerschaftsdatensatz (vers
WEBPORTAL_PROPAL_LIST_ACCESS=Zugriff auf die Angebote ermöglichen
WEBPORTAL_ORDER_LIST_ACCESS=Zugriff auf die Bestellungen aktivieren
WEBPORTAL_INVOICE_LIST_ACCESS=Zugriff auf die Rechnungen aktivieren
WEBPORTAL_FICHEINTER_LIST_ACCESS=Zugriff auf Einsatzberichte aktivieren
WEBPORTAL_TICKET_LIST_ACCESS=Zugriff auf Tickets aktivieren
WebPortalFicheinterListMenu=Einsatzberichte
WebPortalFicheinterListTitle=Einsatzberichte
WebPortalFicheinterListDesc=Hier finden Sie alle Ihre Einsatzberichte
WebPortalFicheinterListNothing=Keine Einsatzberichte gefunden
WebPortalTicketListMenu=Tickets
WebPortalTicketListTitle=Tickets
WebPortalTicketListDesc=Hier finden Sie alle Ihre Tickets
WebPortalTicketListNothing=Keine Tickets gefunden
WebPortalTicketConsultation=Einsicht
WebPortalTicketConsultationLink=Ansehen
WebPortalTicketConsultationTooltipNotPublic=Das Ticket wurde nicht über die öffentliche Oberfläche erstellt.
WebPortalTicketNotAssigned=Nicht zugewiesen
StatusInterInDraft=Entwurf
StatusInterInValidated=Validiert
StatusInterInClosed=Abgeschlossen
WebPortalInterSignedStatusNotSigned=Nicht unterzeichnet
WebPortalInterSignedStatusSignedInternal=Intern unterzeichnet
WebPortalInterSignedStatusSignedThirdParty=Vom Dritten unterzeichnet
WebPortalInterSignedStatusSignedThirdPartyOnline=Vom Dritten online unterzeichnet
WebPortalInterSignedStatusSignedAllParties=Von allen Parteien unterzeichnet
WebPortalInterSignedDone=Unterzeichnet
WebPortalInterDateCreation=Erstellungsdatum
WebPortalInterDateStart=Startdatum
WebPortalInterDateEnd=Enddatum
WebPortalInterDateClose=Abschlussdatum
WEBPORTAL_USER_LOGGED=Einen anonymen Benutzer wählen
WebPortalUserLoggedHelp=Dieser Benutzer wird verwendet, um Daten in Karten zu aktualisieren.
WebPortalHomeTitle=Willkommen
Expand Down
27 changes: 27 additions & 0 deletions htdocs/langs/en_US/website.lang
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,33 @@ WebPortalPartnerShipCardAccessHelp=Enable access to the partnership record (Hidd
WEBPORTAL_PROPAL_LIST_ACCESS=Enable access to the proposals
WEBPORTAL_ORDER_LIST_ACCESS=Enable access to the orders
WEBPORTAL_INVOICE_LIST_ACCESS=Enable access to the invoices
WEBPORTAL_FICHEINTER_LIST_ACCESS=Enable access to interventions
WEBPORTAL_TICKET_LIST_ACCESS=Enable access to tickets
WebPortalFicheinterListMenu=Interventions
WebPortalFicheinterListTitle=Interventions
WebPortalFicheinterListDesc=You will find here all your interventions
WebPortalFicheinterListNothing=Interventions not found
WebPortalTicketListMenu=Tickets
WebPortalTicketListTitle=Tickets
WebPortalTicketListDesc=You will find here all your tickets
WebPortalTicketListNothing=Tickets not found
WebPortalTicketConsultation=Consultation
WebPortalTicketConsultationLink=View
WebPortalTicketConsultationTooltipNotPublic=The ticket was not created from the public interface.
WebPortalTicketNotAssigned=Not assigned
StatusInterInDraft=Draft
StatusInterInValidated=Validated
StatusInterInClosed=Closed
WebPortalInterSignedStatusNotSigned=Not signed
WebPortalInterSignedStatusSignedInternal=Signed internally
WebPortalInterSignedStatusSignedThirdParty=Signed by third party
WebPortalInterSignedStatusSignedThirdPartyOnline=Signed by third party online
WebPortalInterSignedStatusSignedAllParties=Signed by all parties
WebPortalInterSignedDone=Signed
WebPortalInterDateCreation=Creation date
WebPortalInterDateStart=Start date
WebPortalInterDateEnd=End date
WebPortalInterDateClose=Closing date
WEBPORTAL_USER_LOGGED=Select an anonymous user
WebPortalUserLoggedHelp=This user is used to update cards
WebPortalHomeTitle=Welcome
Expand Down
27 changes: 27 additions & 0 deletions htdocs/langs/es_ES/website.lang
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,33 @@ WebPortalPartnerShipCardAccessHelp=Habilitar el acceso al registro de sociedad (
WEBPORTAL_PROPAL_LIST_ACCESS=Habilitar el acceso a los presupuestos
WEBPORTAL_ORDER_LIST_ACCESS=Habilitar el acceso a los pedidos
WEBPORTAL_INVOICE_LIST_ACCESS=Habilitar el acceso a las facturas
WEBPORTAL_FICHEINTER_LIST_ACCESS=Activar el acceso a las intervenciones
WEBPORTAL_TICKET_LIST_ACCESS=Activar el acceso a los tickets
WebPortalFicheinterListMenu=Intervenciones
WebPortalFicheinterListTitle=Intervenciones
WebPortalFicheinterListDesc=Aquí encontrará todas sus intervenciones
WebPortalFicheinterListNothing=No se encontraron intervenciones
WebPortalTicketListMenu=Tickets
WebPortalTicketListTitle=Tickets
WebPortalTicketListDesc=Aquí encontrará todos sus tickets
WebPortalTicketListNothing=No se encontraron tickets
WebPortalTicketConsultation=Consulta
WebPortalTicketConsultationLink=Consultar
WebPortalTicketConsultationTooltipNotPublic=El ticket no se creó desde la interfaz pública.
WebPortalTicketNotAssigned=No asignado
StatusInterInDraft=Borrador
StatusInterInValidated=Validada
StatusInterInClosed=Cerrada
WebPortalInterSignedStatusNotSigned=No firmada
WebPortalInterSignedStatusSignedInternal=Firmada internamente
WebPortalInterSignedStatusSignedThirdParty=Firmada por el tercero
WebPortalInterSignedStatusSignedThirdPartyOnline=Firmada por el tercero en línea
WebPortalInterSignedStatusSignedAllParties=Firmada por todas las partes
WebPortalInterSignedDone=Firmada
WebPortalInterDateCreation=Fecha de creación
WebPortalInterDateStart=Fecha de inicio
WebPortalInterDateEnd=Fecha de fin
WebPortalInterDateClose=Fecha de cierre
WEBPORTAL_USER_LOGGED=Seleccione un usuario anónimo
WebPortalUserLoggedHelp=Este usuario se utiliza para actualizar tarjetas.
WebPortalHomeTitle=Bienvenido
Expand Down
27 changes: 27 additions & 0 deletions htdocs/langs/fr_FR/website.lang
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,33 @@ WebPortalPartnerShipCardAccessHelp=Autoriser l'accès à l'enregistrement des pa
WEBPORTAL_PROPAL_LIST_ACCESS=Autoriser l'accès aux devis
WEBPORTAL_ORDER_LIST_ACCESS=Autoriser l'accès aux commandes
WEBPORTAL_INVOICE_LIST_ACCESS=Autoriser l'accès aux factures
WEBPORTAL_FICHEINTER_LIST_ACCESS=Activer l'accès aux fiches d'intervention
WEBPORTAL_TICKET_LIST_ACCESS=Activer l'accès aux tickets
WebPortalFicheinterListMenu=Interventions
WebPortalFicheinterListTitle=Interventions
WebPortalFicheinterListDesc=Vous trouverez ici toutes vos fiches d'intervention
WebPortalFicheinterListNothing=Aucune fiche d'intervention trouvée
WebPortalTicketListMenu=Tickets
WebPortalTicketListTitle=Tickets
WebPortalTicketListDesc=Vous trouverez ici tous vos tickets
WebPortalTicketListNothing=Aucun ticket trouvé
WebPortalTicketConsultation=Consultation
WebPortalTicketConsultationLink=Consulter
WebPortalTicketConsultationTooltipNotPublic=Le ticket n’a pas été créé à partir de l'interface publique.
WebPortalTicketNotAssigned=Non assigné
StatusInterInDraft=Brouillon
StatusInterInValidated=Validée
StatusInterInClosed=Clôturée
WebPortalInterSignedStatusNotSigned=Non signée
WebPortalInterSignedStatusSignedInternal=Signé en interne
WebPortalInterSignedStatusSignedThirdParty=Signé par le tiers
WebPortalInterSignedStatusSignedThirdPartyOnline=Signé par le tiers en ligne
WebPortalInterSignedStatusSignedAllParties=Signé par toutes les parties
WebPortalInterSignedDone=Signée
WebPortalInterDateCreation=Date de création
WebPortalInterDateStart=Date de début
WebPortalInterDateEnd=Date de fin
WebPortalInterDateClose=Date de clôture
WEBPORTAL_USER_LOGGED=Sélectionnez un utilisateur anonyme
WebPortalUserLoggedHelp=Cet utilisateur est utilisé pour mettre à jour les fiches.
WebPortalHomeTitle=Bienvenue
Expand Down
27 changes: 27 additions & 0 deletions htdocs/langs/it_IT/website.lang
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,33 @@ WebPortalPartnerShipCardAccessHelp=Abilita l'accesso al record della partnership
WEBPORTAL_PROPAL_LIST_ACCESS=Abilita l'accesso a Proposte
WEBPORTAL_ORDER_LIST_ACCESS=Abilita l'accesso agli ordini
WEBPORTAL_INVOICE_LIST_ACCESS=Abilita l'accesso a fatture
WEBPORTAL_FICHEINTER_LIST_ACCESS=Abilita l'accesso agli interventi
WEBPORTAL_TICKET_LIST_ACCESS=Abilita l'accesso ai ticket
WebPortalFicheinterListMenu=Interventi
WebPortalFicheinterListTitle=Interventi
WebPortalFicheinterListDesc=Qui trovi tutti i tuoi interventi
WebPortalFicheinterListNothing=Nessun intervento trovato
WebPortalTicketListMenu=Ticket
WebPortalTicketListTitle=Ticket
WebPortalTicketListDesc=Qui trovi tutti i tuoi ticket
WebPortalTicketListNothing=Nessun ticket trovato
WebPortalTicketConsultation=Consultazione
WebPortalTicketConsultationLink=Consulta
WebPortalTicketConsultationTooltipNotPublic=Il ticket non è stato creato dall'interfaccia pubblica.
WebPortalTicketNotAssigned=Non assegnato
StatusInterInDraft=Bozza
StatusInterInValidated=Convalidata
StatusInterInClosed=Chiusa
WebPortalInterSignedStatusNotSigned=Non firmata
WebPortalInterSignedStatusSignedInternal=Firmata internamente
WebPortalInterSignedStatusSignedThirdParty=Firmata dal terzo
WebPortalInterSignedStatusSignedThirdPartyOnline=Firmata dal terzo online
WebPortalInterSignedStatusSignedAllParties=Firmata da tutte le parti
WebPortalInterSignedDone=Firmata
WebPortalInterDateCreation=Data di creazione
WebPortalInterDateStart=Data di inizio
WebPortalInterDateEnd=Data di fine
WebPortalInterDateClose=Data di chiusura
WEBPORTAL_USER_LOGGED=Seleziona un utente anonimo
WebPortalUserLoggedHelp=Questo utente viene utilizzato per aggiornare le carte
WebPortalHomeTitle=Benvenuto
Expand Down
8 changes: 8 additions & 0 deletions htdocs/public/webportal/tpl/list-filters.tpl.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,12 @@
<td data-label="<?php print dolPrintHTMLForAttribute((string) $formList->arrayfields['signature_link']['label']) ?>">
</td>
<?php } ?>

<?php
// Consultation link
if (array_key_exists('consultation_link', $formList->arrayfields) && !empty($formList->arrayfields['consultation_link']['checked'])) { ?>
<td data-label="<?php print dolPrintHTMLForAttribute((string) $formList->arrayfields['consultation_link']['label']) ?>">
</td>
<?php } ?>

</tr>
10 changes: 10 additions & 0 deletions htdocs/public/webportal/tpl/list-lines.tpl.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,16 @@
$formList->setTotalValue('signature_link', [], $record, $i, $totalarray) ?>
</td>
<?php } ?>

<?php
// Consultation link
if (array_key_exists('consultation_link', $formList->arrayfields) && !empty($formList->arrayfields['consultation_link']['checked'])) { ?>
<td data-label="<?php print dolPrintHTMLForAttribute((string) $formList->arrayfields['consultation_link']['label']) ?>" data-col="consultation_link">
<?php print $formList->printValue('consultation_link', [], $record, $i, $totalarray);
$formList->setTotalValue('consultation_link', [], $record, $i, $totalarray) ?>
</td>
<?php } ?>

</tr>
<?php }

Expand Down
10 changes: 9 additions & 1 deletion htdocs/public/webportal/tpl/list-titles.tpl.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<a href="<?php print dolPrintHTMLForAttribute($link_url) ?>"><?php print $langs->trans((string) $formList->arrayfields[$alias . $key]['label']) ?></a>
</th>
<?php $formList->nbColumn++;
}
}
}

// Hook fields
Expand All @@ -72,4 +72,12 @@
<th scope="col"><?php print $langs->trans((string) $formList->arrayfields['signature_link']['label']) ?></th>
<?php $formList->nbColumn++;
} ?>

<?php
// Consultation link
if (array_key_exists('consultation_link', $formList->arrayfields) && !empty($formList->arrayfields['consultation_link']['checked'])) { ?>
<th scope="col"><?php print $langs->trans((string) $formList->arrayfields['consultation_link']['label']) ?></th>
<?php $formList->nbColumn++;
} ?>

</tr>
20 changes: 20 additions & 0 deletions htdocs/public/webportal/tpl/menu.tpl.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,26 @@
'group' => 'administrative' // group identifier for the group if necessary
);
}
// menu interventions
if (isModEnabled('intervention') && getDolGlobalInt('WEBPORTAL_FICHEINTER_LIST_ACCESS')) {
$navMenu['ficheinter_list'] = array(
'id' => 'ficheinter_list',
'rank' => 35,
'url' => $context->getControllerUrl('ficheinterlist'),
'name' => $langs->trans('WebPortalFicheinterListMenu'),
'group' => 'administrative'
);
}
// menu tickets
if (isModEnabled('ticket') && getDolGlobalInt('WEBPORTAL_TICKET_LIST_ACCESS')) {
$navMenu['ticket_list'] = array(
'id' => 'ticket_list',
'rank' => 36,
'url' => $context->getControllerUrl('ticketlist'),
'name' => $langs->trans('WebPortalTicketListMenu'),
'group' => 'administrative'
);
}
// menu documents (GED)
if (getDolGlobalInt('WEBPORTAL_DOCUMENT_LIST_ACCESS')) {
$navMenu['document_list'] = array(
Expand Down
7 changes: 6 additions & 1 deletion htdocs/webportal/admin/setup.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,10 +115,15 @@
}

// Enable access for the intervention
if (isModEnabled('ficheinter')) {
if (isModEnabled('intervention')) {
$formSetup->newItem('WEBPORTAL_FICHEINTER_LIST_ACCESS')->setAsYesNo();
}

// Enable access for the tickets
if (isModEnabled('ticket')) {
$formSetup->newItem('WEBPORTAL_TICKET_LIST_ACCESS')->setAsYesNo();
}

// Enable access for the partnership record
if (isModEnabled('partnership')) {
$access_list = array(
Expand Down
2 changes: 2 additions & 0 deletions htdocs/webportal/class/context.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,8 @@ public function initController($init_theme = true)
$this->addControllerDefinition('propallist', $defaultControllersPath . 'propallist.controller.class.php', 'PropalListController');
$this->addControllerDefinition('orderlist', $defaultControllersPath . 'orderlist.controller.class.php', 'OrderListController');
$this->addControllerDefinition('invoicelist', $defaultControllersPath . 'invoicelist.controller.class.php', 'InvoiceListController');
$this->addControllerDefinition('ficheinterlist', $defaultControllersPath . 'ficheinterlist.controller.class.php', 'FicheinterListController');
$this->addControllerDefinition('ticketlist', $defaultControllersPath . 'ticketlist.controller.class.php', 'TicketListController');
$this->addControllerDefinition('membercard', $defaultControllersPath . 'membercard.controller.class.php', 'MemberCardController');
$this->addControllerDefinition('partnershipcard', $defaultControllersPath . 'partnershipcard.controller.class.php', 'PartnershipCardController');
//** below the addition of DocumentListController adding files by third party attached documents
Expand Down
15 changes: 11 additions & 4 deletions htdocs/webportal/class/html.formlistwebportal.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -277,8 +277,8 @@ public function setArrayFields()
}
}
$this->arrayfields['remain_to_pay'] = array('type' => 'price', 'label' => 'RemainderToPay', 'checked' => 1, 'enabled' => $this->element == 'invoice' && isModEnabled('invoice'), 'visible' => 1, 'position' => 10000, 'help' => '',);
$this->arrayfields['download_link'] = array('type' => '', 'label' => 'File', 'checked' => 1, 'enabled' => ($this->element == 'propal' && isModEnabled('propal')) || ($this->element == 'order' && isModEnabled('order')) || ($this->element == 'invoice' && isModEnabled('invoice')), 'visible' => 1, 'position' => 10001, 'help' => '',);
$this->arrayfields['signature_link'] = array('type' => '', 'label' => 'Signature', 'checked' => 1, 'enabled' => $this->element == 'propal' && isModEnabled('propal') && getDolGlobalString("PROPOSAL_ALLOW_ONLINESIGN") != 0, 'visible' => 1, 'position' => 10002, 'help' => '',);
$this->arrayfields['download_link'] = array('type' => '', 'label' => 'File', 'checked' => 1, 'enabled' => ($this->element == 'propal' && isModEnabled('propal')) || ($this->element == 'order' && isModEnabled('order')) || ($this->element == 'invoice' && isModEnabled('invoice')) || ($this->element == 'ficheinter' && isModEnabled('intervention')), 'visible' => 1, 'position' => 10001, 'help' => '',);
$this->arrayfields['signature_link'] = array('type' => '', 'label' => 'Signature', 'checked' => 1, 'enabled' => ($this->element == 'propal' && isModEnabled('propal') && getDolGlobalString("PROPOSAL_ALLOW_ONLINESIGN") != 0) || ($this->element == 'ficheinter' && isModEnabled('intervention')), 'visible' => 1, 'position' => 10002, 'help' => '',);

$this->controller->listSetArrayFields();
}
Expand Down Expand Up @@ -654,7 +654,7 @@ public function setVarsFromFetchObj(&$record)
*/
public function printValue($field_key, $field_spec, &$record, $i, &$totalarray)
{
global $conf;
global $conf, $langs;

$out = '';
if (is_object($this->object)) {
Expand All @@ -679,8 +679,15 @@ public function printValue($field_key, $field_spec, &$record, $i, &$totalarray)
$filedir = $conf->{$element}->multidir_output[$this->object->entity] . '/' . dol_sanitizeFileName($this->object->ref);
$out = $this->form->getDocumentsLink($element, $filename, $filedir);
} elseif ($field_key == 'signature_link') {
if ($this->object->fk_statut == Propal::STATUS_VALIDATED) {
if ($this->element == 'propal' && $this->object->fk_statut == Propal::STATUS_VALIDATED) {
$out = $this->form->getSignatureLink('proposal', $this->object);
} elseif ($this->element == 'ficheinter') {
$signedStatus = (int) ($this->object->signed_status ?? 0);
if ($this->object->fk_statut == Fichinter::STATUS_CLOSED || in_array($signedStatus, array(2, 3, 9), true)) {
$out = $langs->trans('WebPortalInterSignedDone');
} else {
$out = $this->form->getSignatureLink('fichinter', $this->object);
}
}
} else {
$out = $this->form->showOutputFieldForObject($this->object, $field_spec, $field_key, $this->object->$field_key, '');
Expand Down
81 changes: 81 additions & 0 deletions htdocs/webportal/class/webportalficheinter.class.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
<?php
/* Copyright (C) 2026 Pierre Ardoin <[email protected]>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

/**
* \file htdocs/webportal/class/webportalficheinter.class.php
* \ingroup webportal
* \brief This file is a class file for WebPortalFicheinter
*/

require_once DOL_DOCUMENT_ROOT . '/fichinter/class/fichinter.class.php';

/**
* Class for WebPortalFicheinter
*/
class WebPortalFicheinter extends Fichinter
{
/**
* @var string ID of module.
*/
public $module = 'webportal';

/**
* Status list (short label)
*/
const STATUS_SIGN_NOT_SIGNED = 11;
const STATUS_SIGN_SIGNED_INTERNAL = 12;
const STATUS_SIGN_SIGNED_THIRDPARTY = 13;
const STATUS_SIGN_SIGNED_THIRDPARTY_ONLINE = 14;
const STATUS_SIGN_SIGNED_ALL_PARTIES = 15;

const ARRAY_STATUS_LABEL = array(
'-1' => '',
self::STATUS_DRAFT => 'StatusInterInDraft',
self::STATUS_VALIDATED => 'StatusInterInValidated',
self::STATUS_BILLED => 'StatusInterInvoiced',
self::STATUS_CLOSED => 'StatusInterInClosed',
self::STATUS_SIGN_NOT_SIGNED => 'WebPortalInterSignedStatusNotSigned',
self::STATUS_SIGN_SIGNED_INTERNAL => 'WebPortalInterSignedStatusSignedInternal',
self::STATUS_SIGN_SIGNED_THIRDPARTY => 'WebPortalInterSignedStatusSignedThirdParty',
self::STATUS_SIGN_SIGNED_THIRDPARTY_ONLINE => 'WebPortalInterSignedStatusSignedThirdPartyOnline',
self::STATUS_SIGN_SIGNED_ALL_PARTIES => 'WebPortalInterSignedStatusSignedAllParties',
);

public $fields = array(
'rowid' => array('type' => 'integer', 'label' => 'TechnicalID', 'enabled' => 1, 'visible' => 0, 'notnull' => 1, 'position' => 10),
'entity' => array('type' => 'integer', 'label' => 'Entity', 'enabled' => 1, 'visible' => -2, 'notnull' => 1, 'position' => 20),
'ref' => array('type' => 'varchar(30)', 'label' => 'Ref', 'enabled' => 1, 'visible' => 2, 'notnull' => 1, 'showoncombobox' => 1, 'position' => 25),
'fk_soc' => array('type' => 'integer', 'label' => 'ThirdParty', 'enabled' => 1, 'visible' => -2, 'position' => 40),
'datec' => array('type' => 'datetime', 'label' => 'WebPortalInterDateCreation', 'enabled' => 1, 'visible' => 2, 'position' => 60),
'dateo' => array('type' => 'date', 'label' => 'WebPortalInterDateStart', 'enabled' => 1, 'visible' => 2, 'position' => 61),
'datee' => array('type' => 'date', 'label' => 'WebPortalInterDateEnd', 'enabled' => 1, 'visible' => 2, 'position' => 62),
'datet' => array('type' => 'date', 'label' => 'WebPortalInterDateClose', 'enabled' => 1, 'visible' => 2, 'position' => 63),
'description' => array('type' => 'text', 'label' => 'Description', 'enabled' => 1, 'visible' => 2, 'position' => 80),
'fk_statut' => array('type' => 'smallint(6)', 'label' => 'Status', 'enabled' => 1, 'visible' => 2, 'position' => 500, 'arrayofkeyval' => self::ARRAY_STATUS_LABEL),
);

/**
* Constructor
*
* @param DoliDB $db Database handler
*/
public function __construct(DoliDB $db)
{
$this->db = $db;
$this->isextrafieldmanaged = 0;
}
}
Loading
Loading