[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpcompta-dev] r628 - trunk/rapport_avance/include
From: |
phpcompta-dev |
Subject: |
[Phpcompta-dev] r628 - trunk/rapport_avance/include |
Date: |
Fri, 20 Dec 2013 11:32:23 +0100 (CET) |
Author: danydb
Date: 2013-12-20 11:32:23 +0100 (Fri, 20 Dec 2013)
New Revision: 628
Modified:
trunk/rapport_avance/include/class_rapav_listing_compute_fiche.php
Log:
Task #947 Sauver l'envoi par email dans le suivi et y copier la pi?\195?\168ce.
Task #947 - Sauver le r?\195?\169sultat de l'envoi dans le suivi
Modified: trunk/rapport_avance/include/class_rapav_listing_compute_fiche.php
===================================================================
--- trunk/rapport_avance/include/class_rapav_listing_compute_fiche.php
2013-12-20 09:34:35 UTC (rev 627)
+++ trunk/rapport_avance/include/class_rapav_listing_compute_fiche.php
2013-12-20 10:32:23 UTC (rev 628)
@@ -475,7 +475,9 @@
}
$this->lf_size = filesize($p_file);
$date = date('ymd-Hi');
- $this->lf_filename = $date . '-' .
$this->listing_compute->listing->data->l_filename;
+ $fiche = new Fiche($cn, $this->f_id);
+ $qcode=$fiche->strAttribut(ATTR_DEF_QUICKCODE);
+ $this->lf_filename = $qcode.'-'.$date . '-' .
$this->listing_compute->listing->data->l_filename;
$this->lf_mimetype= $this->listing_compute->listing->data->l_mimetype;
$this->update();
$cn->commit();
@@ -623,6 +625,8 @@
$action->qcode_dest=$fiche->strAttribut(ATTR_DEF_QUICKCODE);
$_POST['nb_item']=0;
$action->save();
+ /** Copy the document in Follow_UP */
+ Document::insert_existing_document($action->ag_id, $this->lf_lob,
$this->lf_filename, $this->lf_mimetype);
return $fiche->strAttribut(ATTR_DEF_QUICKCODE).' inclus dans Suivi';
}
---
PhpCompta est un logiciel de comptabilité libre en ligne (full web)
Projet opensource http://www.phpcompta.eu
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpcompta-dev] r628 - trunk/rapport_avance/include,
phpcompta-dev <=