Fix: Intervention box links to contracts id
Conflicts: htdocs/core/boxes/box_ficheinter.php
This commit is contained in:
parent
a321264a2a
commit
2a8aa50163
@ -118,6 +118,7 @@ Fix: If only service module is activated, it's impossible to delete service
|
|||||||
Fix: [ bug #1043 ] Bad interventions ref numbering
|
Fix: [ bug #1043 ] Bad interventions ref numbering
|
||||||
Fix: Mailing module : if an email is already in destinaires list all other email from selector was not inserted
|
Fix: Mailing module : if an email is already in destinaires list all other email from selector was not inserted
|
||||||
Fix: Localtaxes balance not showing
|
Fix: Localtaxes balance not showing
|
||||||
|
Fix: Intervention box links to contracts id
|
||||||
|
|
||||||
***** ChangeLog for 3.4 compared to 3.3.* *****
|
***** ChangeLog for 3.4 compared to 3.3.* *****
|
||||||
For users:
|
For users:
|
||||||
|
|||||||
@ -1,5 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
/* Copyright (C) 2013 Florian Henry <florian.henry@open-concept.pro>
|
/* Copyright (C) 2013 Florian Henry <florian.henry@open-concept.pro>
|
||||||
|
* Copyright (C) 2013 Juanjo Menent <jmenent@2byte.es>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* 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
|
* it under the terms of the GNU General Public License as published by
|
||||||
@ -95,11 +96,11 @@ class box_ficheinter extends ModeleBoxes
|
|||||||
|
|
||||||
$this->info_box_contents[$i][0] = array('td' => 'align="left" width="16"',
|
$this->info_box_contents[$i][0] = array('td' => 'align="left" width="16"',
|
||||||
'logo' => $this->boximg,
|
'logo' => $this->boximg,
|
||||||
'url' => DOL_URL_ROOT."/ficheinter/fiche.php?id=".$objp->rowid);
|
'url' => DOL_URL_ROOT."/fichinter/fiche.php?id=".$objp->rowid);
|
||||||
|
|
||||||
$this->info_box_contents[$i][1] = array('td' => 'align="left"',
|
$this->info_box_contents[$i][1] = array('td' => 'align="left"',
|
||||||
'text' => ($objp->ref?$objp->ref:$objp->rowid), // Some contracts have no ref
|
'text' => ($objp->ref?$objp->ref:$objp->rowid), // Some interventions have no ref
|
||||||
'url' => DOL_URL_ROOT."/contrat/fiche.php?id=".$objp->rowid);
|
'url' => DOL_URL_ROOT."/fichinter/fiche.php?id=".$objp->rowid);
|
||||||
|
|
||||||
$this->info_box_contents[$i][2] = array('td' => 'align="left" width="16"',
|
$this->info_box_contents[$i][2] = array('td' => 'align="left" width="16"',
|
||||||
'logo' => 'company',
|
'logo' => 'company',
|
||||||
@ -120,9 +121,10 @@ class box_ficheinter extends ModeleBoxes
|
|||||||
$i++;
|
$i++;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($num==0) $this->info_box_contents[$i][0] = array('td' => 'align="center"','text'=>$langs->trans("NoRecordedContracts"));
|
if ($num==0) $this->info_box_contents[$i][0] = array('td' => 'align="center"','text'=>$langs->trans("NoRecordedInterventions"));
|
||||||
|
|
||||||
$db->free($resql);
|
$db->free($resql);
|
||||||
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
@ -75,6 +75,7 @@ NoRecordedProducts=Sense productes/serveis registrats
|
|||||||
NoRecordedProspects=Sense clients potencials registrats
|
NoRecordedProspects=Sense clients potencials registrats
|
||||||
NoContractedProducts=Sense productes/serveis contractats
|
NoContractedProducts=Sense productes/serveis contractats
|
||||||
NoRecordedContracts=Sense contractes registrats
|
NoRecordedContracts=Sense contractes registrats
|
||||||
|
NoRecordedInterventions=Sense intervencions registrades
|
||||||
BoxLatestSupplierOrders=Últimes comandes a proveïdors
|
BoxLatestSupplierOrders=Últimes comandes a proveïdors
|
||||||
BoxTitleLatestSupplierOrders=Les %s últimes comandes a proveïdors
|
BoxTitleLatestSupplierOrders=Les %s últimes comandes a proveïdors
|
||||||
NoSupplierOrder=Sense comandes a proveïdors
|
NoSupplierOrder=Sense comandes a proveïdors
|
||||||
|
|||||||
@ -75,6 +75,7 @@ NoRecordedProducts=No recorded products/services
|
|||||||
NoRecordedProspects=No recorded prospects
|
NoRecordedProspects=No recorded prospects
|
||||||
NoContractedProducts=No products/services contracted
|
NoContractedProducts=No products/services contracted
|
||||||
NoRecordedContracts=No recorded contracts
|
NoRecordedContracts=No recorded contracts
|
||||||
|
NoRecordedInterventions=No recorded interventions
|
||||||
BoxLatestSupplierOrders=Latest supplier orders
|
BoxLatestSupplierOrders=Latest supplier orders
|
||||||
BoxTitleLatestSupplierOrders=%s latest supplier orders
|
BoxTitleLatestSupplierOrders=%s latest supplier orders
|
||||||
NoSupplierOrder=No recorded supplier order
|
NoSupplierOrder=No recorded supplier order
|
||||||
@ -88,4 +89,4 @@ BoxProductDistribution=Products/Services distribution
|
|||||||
BoxProductDistributionFor=Distribution of %s for %s
|
BoxProductDistributionFor=Distribution of %s for %s
|
||||||
ForCustomersInvoices=Customers invoices
|
ForCustomersInvoices=Customers invoices
|
||||||
ForCustomersOrders=Customers orders
|
ForCustomersOrders=Customers orders
|
||||||
ForProposals=Proposals
|
ForProposals=Proposals
|
||||||
|
|||||||
@ -75,6 +75,7 @@ NoRecordedProducts=Sin productos/servicios registrados
|
|||||||
NoRecordedProspects=Sin clientes potenciales registrados
|
NoRecordedProspects=Sin clientes potenciales registrados
|
||||||
NoContractedProducts=Sin productos/servicios contratados
|
NoContractedProducts=Sin productos/servicios contratados
|
||||||
NoRecordedContracts=Sin contratos registrados
|
NoRecordedContracts=Sin contratos registrados
|
||||||
|
NoRecordedInterventions=Sin intervenciones registradas
|
||||||
BoxLatestSupplierOrders=Últimos pedidos a proveedores
|
BoxLatestSupplierOrders=Últimos pedidos a proveedores
|
||||||
BoxTitleLatestSupplierOrders=Los %s últimos pedidos a proveedores
|
BoxTitleLatestSupplierOrders=Los %s últimos pedidos a proveedores
|
||||||
NoSupplierOrder=Sin pedidos a proveedores
|
NoSupplierOrder=Sin pedidos a proveedores
|
||||||
|
|||||||
@ -75,6 +75,7 @@ NoRecordedProducts=Pas de produit/service enregistré
|
|||||||
NoRecordedProspects=Pas de prospect enregistré
|
NoRecordedProspects=Pas de prospect enregistré
|
||||||
NoContractedProducts=Pas de produit/service contracté
|
NoContractedProducts=Pas de produit/service contracté
|
||||||
NoRecordedContracts=Pas de contrat enregistré
|
NoRecordedContracts=Pas de contrat enregistré
|
||||||
|
NoRecordedInterventions=Pas fiche d'intervention enregistrée
|
||||||
BoxLatestSupplierOrders=Dernières commandes fournisseur
|
BoxLatestSupplierOrders=Dernières commandes fournisseur
|
||||||
BoxTitleLatestSupplierOrders=Les %s dernières commandes fournisseur enregistrées
|
BoxTitleLatestSupplierOrders=Les %s dernières commandes fournisseur enregistrées
|
||||||
NoSupplierOrder=Pas de commande fournisseur enregistrée
|
NoSupplierOrder=Pas de commande fournisseur enregistrée
|
||||||
@ -88,4 +89,4 @@ BoxProductDistribution=Répartition des produis/services
|
|||||||
BoxProductDistributionFor=Répartition des %s pour les %s
|
BoxProductDistributionFor=Répartition des %s pour les %s
|
||||||
ForCustomersInvoices=Factures clients
|
ForCustomersInvoices=Factures clients
|
||||||
ForCustomersOrders=Commandes clients
|
ForCustomersOrders=Commandes clients
|
||||||
ForProposals=Propositions
|
ForProposals=Propositions
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user