2
0
forked from Wavyzz/dolibarr

[CORE] Avancement des replace (#new_ask_price).

This commit is contained in:
phf
2015-01-27 17:43:07 +01:00
parent aaacca9b13
commit 49fa0056c8
5 changed files with 127 additions and 18 deletions

View File

@@ -64,7 +64,7 @@ abstract class ModelePDFAskPriceSupplier extends CommonDocGenerator
/**
* Classe mere des modeles de numerotation des references de propales
*/
abstract class ModeleNumRefPropales
abstract class ModeleNumRefAskPriceSupplier
{
var $error='';
@@ -158,7 +158,7 @@ abstract class ModeleNumRefPropales
* @return int 0 if KO, 1 if OK
* @deprecated Use the new function generateDocument of Propal class
*/
function propale_pdf_create(DoliDB $db, Propal $object, $modele, $outputlangs, $hidedetails=0, $hidedesc=0, $hideref=0)
function askpricesupplier_pdf_create(DoliDB $db, Propal $object, $modele, $outputlangs, $hidedetails=0, $hidedesc=0, $hideref=0)
{
return $object->generateDocument($modele, $outputlangs, $hidedetails, $hidedesc, $hideref);
}

View File

@@ -250,6 +250,11 @@ class modAskPriceSupplier extends DolibarrModules
/*
*
DROP TABLE llx_askpricesupplier_extrafields;
DROP TABLE llx_askpricesupplierdet_extrafields;
DROP TABLE llx_askpricesupplierdet;
DROP TABLE llx_askpricesupplier;
*
* CREATE TABLE IF NOT EXISTS llx_askpricesupplier (
rowid INT AUTO_INCREMENT,
fk_statut INT NOT NULL,