[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [7774] Added sync with fellesdata for a contract part
From: |
Torstein |
Subject: |
[Fmsystem-commits] [7774] Added sync with fellesdata for a contract party |
Date: |
Mon, 03 Oct 2011 07:45:52 +0000 |
Revision: 7774
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=7774
Author: vator
Date: 2011-10-03 07:45:51 +0000 (Mon, 03 Oct 2011)
Log Message:
-----------
Added sync with fellesdata for a contract party
Modified Paths:
--------------
trunk/rental/templates/base/party.php
Modified: trunk/rental/templates/base/party.php
===================================================================
--- trunk/rental/templates/base/party.php 2011-10-03 07:39:26 UTC (rev
7773)
+++ trunk/rental/templates/base/party.php 2011-10-03 07:45:51 UTC (rev
7774)
@@ -340,7 +340,7 @@
if ($editable)
{
?>
- <select
name="location_id" id="location_id">
+ <select
id="location_id" name="location_id">
<option
value=""><?php echo lang('no_party_location') ?></option>
<?php
$city_counsil_departments = array_reverse(location_hierarchy::get_hierarchy());
@@ -416,12 +416,35 @@
}
?>
</dd>
- </dl>
+ <dt>
+ <?php
if($party->get_unit_leader() || $editable) { ?>
+ <label for="unit_leader"><?php
echo lang('unit_leader') ?></label>
+ <?php } ?>
+ </dt>
+ <dd>
+ <?php
+ if ($editable)
+ {
+ ?>
+ <input type="text"
name="unit_leader" id="unit_leader" value="<?php echo $party->get_unit_leader()
?>" />
+ <?php
+ }
+ else
+ {
+ echo
$party->get_unit_leader();
+ }
+ ?>
+ </dd>
+ </dl>
<div class="form-buttons">
<?php
if ($editable) {
echo '<input
type="submit" name="save_party" value="' . lang('save') . '"/>';
}
+
+ if ($use_fellesdata) {
+ echo '<input
type="button" id="fetchSyncData" name="synchronize" value="' .
lang('get_synchronization_data') . '"/>';
+ }
?>
</div>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [7774] Added sync with fellesdata for a contract party,
Torstein <=