[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [13399] fixed missing display of innleie contract doc
From: |
Erik Holm-Larsen |
Subject: |
[Fmsystem-commits] [13399] fixed missing display of innleie contract documents |
Date: |
Wed, 10 Jun 2015 12:22:06 +0000 |
Revision: 13399
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=13399
Author: erikhl
Date: 2015-06-10 12:22:05 +0000 (Wed, 10 Jun 2015)
Log Message:
-----------
fixed missing display of innleie contract documents
Modified Paths:
--------------
trunk/frontend/inc/class.uicontract_documents.inc.php
Modified: trunk/frontend/inc/class.uicontract_documents.inc.php
===================================================================
--- trunk/frontend/inc/class.uicontract_documents.inc.php 2015-06-09
22:57:10 UTC (rev 13398)
+++ trunk/frontend/inc/class.uicontract_documents.inc.php 2015-06-10
12:22:05 UTC (rev 13399)
@@ -56,6 +56,7 @@
public function index()
{
+ $org_unit = $this->header_state['selected_org_unit'];
$contractdata = array(); // This is the main container
for all contract data sent to XSLT template stuff
$msglog = array(); // Array of errors and
other notifications displayed to us
@@ -83,9 +84,10 @@
// The current state of the contract view of this user's session
$this->contract_state_doc =
phpgwapi_cache::session_get('frontend', $this->contract_state_identifier_doc);
$new_contract = phpgw::get_var('contract_id');
- $contracts_per_location =
phpgwapi_cache::session_get('frontend',
$this->contracts_per_location_identifier_doc);
+ $contracts_per_location_all =
phpgwapi_cache::session_get('frontend',
$this->contracts_per_location_identifier_doc);
$contracts_for_selection = array();
$number_of_valid_contracts = 0;
+ $contracts_per_location =
$contracts_per_location_all[$org_unit];
foreach($contracts_per_location[$this->header_state['selected_location']] as
$contract)
{
if( ($this->contract_filter_doc == 'active' &&
$contract->is_active()) ||
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [13399] fixed missing display of innleie contract documents,
Erik Holm-Larsen <=