You can subscribe to this list here.
| 2005 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(63) |
Oct
(176) |
Nov
(98) |
Dec
(29) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2006 |
Jan
(37) |
Feb
(12) |
Mar
(9) |
Apr
(20) |
May
(1) |
Jun
(20) |
Jul
(11) |
Aug
|
Sep
|
Oct
(5) |
Nov
(7) |
Dec
(2) |
| 2007 |
Jan
(8) |
Feb
|
Mar
(7) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2008 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(10) |
| 2009 |
Jan
(5) |
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
| 2010 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
(1) |
|
From: <mah...@us...> - 2010-12-06 09:49:38
|
Revision: 376
http://dccss.svn.sourceforge.net/dccss/?rev=376&view=rev
Author: maher_karim
Date: 2010-12-06 09:49:31 +0000 (Mon, 06 Dec 2010)
Log Message:
-----------
2010-12-06 Maher Abdel Karim <mah...@do...>
* include/dataobject/public_billing_info.php: Modify table creation
* doc/development/data_model.vsd: update data model
2010-08-17 Maher Abdel Karim <mah...@do...>
* dataobject/public_billing_info.php: add billing info table
class.
* dataobject/public_subscriber.php: add more fields.
* Query.php: adjust query page to allow query billing information
* include/dcmmaputil.php:
* map.php: add functionality to add meter cabinet
* ar/LC_messages/dccss.po:
* i18n.php: add more translation
Modified Paths:
--------------
branches/ms4w/apps/dccss/changelog
branches/ms4w/apps/dccss/conf/dccss_pewssa_en.map
branches/ms4w/apps/dccss/doc/development/data_model.vsd
branches/ms4w/apps/dccss/include/dataobject/Public_billing_info.php
branches/ms4w/apps/dccss/include/dataobject/Public_subscriber.php
branches/ms4w/apps/dccss/include/i18n.php
branches/ms4w/apps/dccss/print_ac.php
branches/ms4w/apps/dccss/query.php
Modified: branches/ms4w/apps/dccss/changelog
===================================================================
--- branches/ms4w/apps/dccss/changelog 2010-08-17 08:40:23 UTC (rev 375)
+++ branches/ms4w/apps/dccss/changelog 2010-12-06 09:49:31 UTC (rev 376)
@@ -1,3 +1,8 @@
+2010-12-06 Maher Abdel Karim <mah...@do...>
+
+ * include/dataobject/public_billing_info.php: Modify table creation
+ * doc/development/data_model.vsd: update data model
+
2010-08-17 Maher Abdel Karim <mah...@do...>
* dataobject/public_billing_info.php: add billing info table
Modified: branches/ms4w/apps/dccss/conf/dccss_pewssa_en.map
===================================================================
--- branches/ms4w/apps/dccss/conf/dccss_pewssa_en.map 2010-08-17 08:40:23 UTC (rev 375)
+++ branches/ms4w/apps/dccss/conf/dccss_pewssa_en.map 2010-12-06 09:49:31 UTC (rev 376)
@@ -153,10 +153,10 @@
LAYER #pressurizedmain
TRANSPARENCY 100
NAME 'pressurizedmain'
- STATUS off
+ STATUS default
TOLERANCE 3
TOLERANCEUNITS pixels
- DATA 'C:\Program Files\dccss\dccss\data\water\pressurizedmain.shp'
+ DATA 'C:\Program Files\dccss\dccss\data\water\pressurizedmain.shp'
HEADER 'header.html'
FOOTER 'footer.html'
LABELCACHE on
@@ -183,7 +183,7 @@
TOLERANCE 3
TOLERANCEUNITS pixels
- DATA 'C:\Program Files\dccss\dccss\data\sewer\gravitymain.shp'
+ DATA 'C:\Program Files\dccss\dccss\data\sewer\gravitymain.shp'
HEADER 'header.html'
FOOTER 'footer.html'
LABELCACHE on
@@ -211,14 +211,14 @@
TOLERANCE 3
TOLERANCEUNITS pixels
- CONNECTION "dbname=dccss user=dcmms password=dcmms host=localhost"
+ CONNECTION "dbname=dccss user=dccss password=dccss host=localhost"
data "the_geom from grid using srid=-1"
HEADER 'header.html'
FOOTER 'footer.html'
LABELCACHE on
# TILEINDEX ''
# TILEITEM ''
- STATUS off
+ STATUS on
DEBUG false
TRANSFORM true
TYPE polygon
@@ -242,16 +242,16 @@
"RESULT_FIELDS" "id"
END
END #LAYER
+
-
# DeliveryPoint Layer
LAYER
CONNECTIONTYPE postgis
NAME DeliveryPoint
# maxscale 15000
TYPE POINT
- STATUS off
- CONNECTION "dbname=dccss user=dcmms password=dcmms host=localhost"
+ STATUS DEFAULT
+ CONNECTION "dbname=dccss user=dccss password=dccss host=localhost"
DATA "the_geom from DeliveryPoint using SRID=-1"
labelitem "sequence"
CLASS
@@ -277,7 +277,7 @@
# Empty layer,
layer
connectiontype PostGIS
- CONNECTION "dbname=dccss user=dcmms password=dcmms host=localhost"
+ CONNECTION "dbname=dccss user=dccss password=dccss host=localhost"
name "center"
type POINT
status OFF
@@ -296,6 +296,8 @@
END
TOLERANCE 15
END
+
+
layer
connectiontype PostGIS
CONNECTION "dbname=dccss user=dcmms password=dcmms host=localhost"
@@ -321,8 +323,8 @@
CONNECTION "dbname=dccss user=dcmms password=dcmms host=localhost"
name "cabinet"
type point
- status Off
- labelitem "pewssaid"
+ status default
+ labelitem "id"
DATA "the_geom from metercabinet using unique gid"
CLASS
NAME "route"
@@ -332,8 +334,8 @@
SIZE 15
COLOR 255 0 0
label
- color 38 119 38
- position uc
+ color 255 0 0
+ #position uc
font arial
type truetype
size 9
@@ -341,73 +343,13 @@
END
END
-# Billing Observation Layer
-LAYER
- CONNECTIONTYPE postgis
- NAME Observation
- TYPE POINT
- STATUS DEFAULT
- CONNECTION "dbname=dccss user=dccss password=dccss host=localhost"
- DATA "the_geom from (select the_geom,observation,evaluation,decisionmatrix,
- meterlocation,plotting.username from DeliveryPoint right outer join plotting on
- deliverypoint.sequence=plotting.meterlocation where observation=1) as f
- using unique meterlocation using SRID=-1"
- CLASS
- NAME 'Observation'
- template "ttt_query.html"
- SYMBOL 'O'
- SIZE 20
- color 255 0 0
- END
-END # Layer
-
-# Billing Observation Layer
-LAYER
- CONNECTIONTYPE postgis
- NAME Evaluation
- TYPE POINT
- STATUS DEFAULT
- CONNECTION "dbname=dccss user=dccss password=dccss host=localhost"
- DATA "the_geom from (select the_geom,observation,evaluation,decisionmatrix,
- meterlocation,plotting.username from DeliveryPoint right outer join plotting on
- deliverypoint.sequence=plotting.meterlocation where evaluation=1) as f
- using unique meterlocation using SRID=-1"
- CLASS
- NAME 'evaluation'
- template "ttt_query.html"
- SYMBOL "E"
- SIZE 20
- color 0 255 0
- END
-END # Layer
-
-# Billing Observation Layer
-LAYER
- CONNECTIONTYPE postgis
- NAME Decisionmatrix
- TYPE POINT
- STATUS DEFAULT
- CONNECTION "dbname=dccss user=dccss password=dccss host=localhost"
- DATA "the_geom from (select the_geom,observation,evaluation,decisionmatrix,
- meterlocation,plotting.username from DeliveryPoint right outer join plotting on
- deliverypoint.sequence=plotting.meterlocation where decisionmatrix=1) as f
- using unique meterlocation using SRID=-1"
- CLASS
- NAME 'DM'
- template "ttt_query.html"
- SYMBOL "flag"
- SIZE 30
- color 0 0 255
- END
-END # Layer
-
layer
connectiontype PostGIS
CONNECTION "dbname=dccss user=dcmms password=dcmms host=localhost"
name "route"
type line
- status Off
+ status On
labelitem "logbookno"
DATA "the_geom from route using unique gid"
CLASS
@@ -435,6 +377,7 @@
END
+
LAYER #collection
TRANSPARENCY 100
NAME 'collection'
@@ -443,7 +386,7 @@
TOLERANCEUNITS pixels
CONNECTIONTYPE postgis
CONNECTION "dbname=dccss user=dcmms password=dcmms host=localhost"
- DATA "the_geom from collect using unique id using SRID=-1"
+ DATA "the_geom from (select the_geom,str_reverse(shape_arabic(dcmmstranslation('ar',name))) as name,id from collect) as collection using unique id using SRID=-1)"
labelitem "name"
HEADER 'header.html'
FOOTER 'footer.html'
@@ -467,5 +410,66 @@
END #CLASS
END #LAYER
+# Billing Observation Layer
+LAYER
+ CONNECTIONTYPE postgis
+ NAME Observation
+ TYPE POINT
+ STATUS DEFAULT
+ CONNECTION "dbname=dccss user=dccss password=dccss host=localhost"
+ DATA "the_geom from (select the_geom,observation,evaluation,decisionmatrix,
+ meterlocation,plotting.username from DeliveryPoint right outer join plotting on
+ deliverypoint.sequence=plotting.meterlocation where observation=1) as f
+ using unique meterlocation using SRID=-1"
+ CLASS
+ NAME 'Observation'
+ template "ttt_query.html"
+ SYMBOL 'O'
+
+ SIZE 20
+ color 255 0 0
+ END
+END # Layer
+
+# Billing Observation Layer
+LAYER
+ CONNECTIONTYPE postgis
+ NAME Evaluation
+ TYPE POINT
+ STATUS DEFAULT
+ CONNECTION "dbname=dccss user=dccss password=dccss host=localhost"
+ DATA "the_geom from (select the_geom,observation,evaluation,decisionmatrix,
+ meterlocation,plotting.username from DeliveryPoint right outer join plotting on
+ deliverypoint.sequence=plotting.meterlocation where evaluation=1) as f
+ using unique meterlocation using SRID=-1"
+ CLASS
+ NAME 'evaluation'
+ template "ttt_query.html"
+ SYMBOL "E"
+ SIZE 20
+ color 0 255 0
+ END
+END # Layer
+
+# Billing Observation Layer
+LAYER
+ CONNECTIONTYPE postgis
+ NAME Decisionmatrix
+ TYPE POINT
+ STATUS DEFAULT
+ CONNECTION "dbname=dccss user=dccss password=dccss host=localhost"
+ DATA "the_geom from (select the_geom,observation,evaluation,decisionmatrix,
+ meterlocation,plotting.username from DeliveryPoint right outer join plotting on
+ deliverypoint.sequence=plotting.meterlocation where decisionmatrix=1) as f
+ using unique meterlocation using SRID=-1"
+ CLASS
+ NAME 'DM'
+ template "ttt_query.html"
+ SYMBOL "flag"
+ SIZE 30
+ color 0 0 255
+ END
+END # Layer
+
END #MAP
Modified: branches/ms4w/apps/dccss/doc/development/data_model.vsd
===================================================================
(Binary files differ)
Modified: branches/ms4w/apps/dccss/include/dataobject/Public_billing_info.php
===================================================================
--- branches/ms4w/apps/dccss/include/dataobject/Public_billing_info.php 2010-08-17 08:40:23 UTC (rev 375)
+++ branches/ms4w/apps/dccss/include/dataobject/Public_billing_info.php 2010-12-06 09:49:31 UTC (rev 376)
@@ -4,18 +4,18 @@
*/
require_once 'DB/DataObject.php';
-class DataObject_Public_billing_info extends DB_DataObject
+class DataObject_Public_billing_info extends DB_DataObject
{
###START_AUTOCODE
/* the code below is auto generated do not remove the above tag */
var $__table = 'public.billing_info'; // table name
- var $logbook; // int4(4)
- var $sequence; // int4(4)
- var $name; // varchar(-1)
- var $subscribernumber; // varchar(-1)
- var $meternumber; // int4(4)
- var $meterlocation; // varchar(-1)
+ var $logbook; // int4(4)
+ var $sequence; // int4(4)
+ var $name; // varchar(-1)
+ var $subscribernumber; // varchar(-1)
+ var $meternumber; // int4(4)
+ var $meterlocation; // varchar(-1)
/* ZE2 compatibility trick*/
function __clone() { return $this;}
@@ -25,7 +25,7 @@
/* the code above is auto generated do not remove the tag below */
###END_AUTOCODE
-
+
/**
* Return an HTML_Table containing all available translations. The table
* includes a link to a page for subscriber editing.
@@ -47,7 +47,7 @@
$objTable->setCellContents(0, 5, _("Meter"), "TH");
$objTable->setCellContents(0, 6, _("Sequence"), "TH");
$objTable->setCellContents(0, 7, _("Subsequence"), "TH");
-
+
$objTable->setCellContents(0, 10, _("Action"), "TH");
$objTable->setCellContents(0, 8, _("Route ID"), "TH");
$objTable->setCellContents(0, 9, _("DeliveryPoint"), "TH");
@@ -55,7 +55,7 @@
$i = 1;
$showadd=true;
while($this->fetch()) {
- if($this->geocode != '') {
+
$objTable->setCellContents($i, 0, $this->id);
$objTable->setCellContents($i, 1, $this->geocode);
$objTable->setCellContents($i, 2, $this->logbooknumber);
@@ -66,20 +66,22 @@
$objTable->setCellContents($i, 7, $this->subsequence);
$objTable->setCellContents($i, 8, $this->routeid);
$objTable->setCellContents($i, 9, $this->dpsequence);
-
+ if($this->geocode != '') {
if ($action=='view'){
$ref='<a href="deliverypointpage.php?PHPSESSID='.session_id().
'&action=map&geocode='. $this->geocode.'">'.
_('[View on Map]').'</a>';
$ref=$ref.'<a href="print_ac.php?PHPSESSID='.session_id().
- '&action=map&id='.$this->id.'&geocode='. $this->geocode.'">'.
+ '&action=map&table='.$this->table.'&id='.$this->id.'&geocode='. $this->geocode.'">'.
_('[Print]').'</a>';
$showadd=false;
}
- $objTable->setCellContents($i, 10, $ref);
+
+ $objTable->setCellContents($i, 10, $ref);
$i++;
}
- }
+
+}
if ($showadd){
$objTable->setCellContents($i, 0,
"<a href=\"subscriberpage.php?geocode=".$this->geocode.
@@ -87,5 +89,5 @@
}
return $objTable;
}
-
+
}
Modified: branches/ms4w/apps/dccss/include/dataobject/Public_subscriber.php
===================================================================
--- branches/ms4w/apps/dccss/include/dataobject/Public_subscriber.php 2010-08-17 08:40:23 UTC (rev 375)
+++ branches/ms4w/apps/dccss/include/dataobject/Public_subscriber.php 2010-12-06 09:49:31 UTC (rev 376)
@@ -230,7 +230,7 @@
'&action=map&geocode='. $this->geocode.'">'.
_('[View on Map]').'</a>';
$ref=$ref.'<a href="print_ac.php?PHPSESSID='.session_id().
- '&action=map&id='.$this->id.'&geocode='. $this->geocode.'">'.
+ '&action=map&table='.$this->table.'&id='.$this->id.'&geocode='. $this->geocode.'">'.
_('[Print]').'</a>';
$showadd=false;
}
Modified: branches/ms4w/apps/dccss/include/i18n.php
===================================================================
--- branches/ms4w/apps/dccss/include/i18n.php 2010-08-17 08:40:23 UTC (rev 375)
+++ branches/ms4w/apps/dccss/include/i18n.php 2010-12-06 09:49:31 UTC (rev 376)
@@ -145,7 +145,7 @@
_("pewssaid");
_('Route ID');
_('DeliveryPoint');
-
+_('sequence');
?>
Modified: branches/ms4w/apps/dccss/print_ac.php
===================================================================
--- branches/ms4w/apps/dccss/print_ac.php 2010-08-17 08:40:23 UTC (rev 375)
+++ branches/ms4w/apps/dccss/print_ac.php 2010-12-06 09:49:31 UTC (rev 376)
@@ -75,6 +75,8 @@
<tr><td><font size=\"2\"><?= _("Geographic location for new customer neigboor") ?></td></tr>
<?php
if ($_REQUEST['action']=='map'){
+
+if ($_REQUEST['table']=='subscriber'){
$query = "select css_to_billing.customerlocation,css_to_billing.meterlocation,
metercabinet.pewssaid,css_to_billing.paracode,css_to_billing.logbooknumber,
css_to_billing.sequence,css_to_billing.subsequence
@@ -83,7 +85,23 @@
(css_to_billing.customerlocation=deliverypoint.sequence) left outer
join metercabinet
on (css_to_billing.meterlocation=metercabinet.id)
- where deliverypoint.geocode=".$_REQUEST['geocode']." and css_to_billing.id=".$_REQUEST['id'];
+ where deliverypoint.geocode='".$_REQUEST['geocode']."' and css_to_billing.id=".$_REQUEST['id'];
+} elseif ($_REQUEST['table']=='billing_info'){
+ $query = "select billing_info.customerlocation,billing_info.meterlocation,
+ metercabinet.pewssaid,billing_info.pnr as paracode,billing_info.book as logbooknumber,
+ billing_info.tr as Sequence ,billing_info.book_1 as subsequence
+ ,billing_info.full_name as name,deliverypoint.routeid from billing_info
+ left outer join deliverypoint on
+ (billing_info.customerlocation=deliverypoint.sequence) left outer
+ join metercabinet
+ on (billing_info.meterlocation=metercabinet.id)
+ where deliverypoint.geocode='".$_REQUEST['geocode']."' and billing_info.pnr='".$_REQUEST['id']."'";
+
+
+
+}
+
+
//echo ($query);
$result = pg_query($query);
$numfields = pg_numfields($result);
@@ -163,8 +181,8 @@
adjustScalebar($map);
if ($_REQUEST['action']=='map'){
$objLayer = $map->getlayerbyname('DeliveryPoint');
- $query = "select X(the_geom),Y(the_geom) from deliverypoint where geocode=".
- $_REQUEST['geocode'];
+ $query = "select X(the_geom),Y(the_geom) from deliverypoint where geocode='".
+ $_REQUEST['geocode']."'";
$resultextent = pg_query($query);
$numrows = pg_numrows($resultextent);
Modified: branches/ms4w/apps/dccss/query.php
===================================================================
--- branches/ms4w/apps/dccss/query.php 2010-08-17 08:40:23 UTC (rev 375)
+++ branches/ms4w/apps/dccss/query.php 2010-12-06 09:49:31 UTC (rev 376)
@@ -58,11 +58,11 @@
//print_r($_POST);
-$objArea =&$Queryform->addElement('hierselect', 'area', _('Area:'),
+$objArea =&$Queryform->addElement('hierselect', 'area', _('Area:'),
array('title' => _('Narrow down the area in which to search for points of interest.')));
$strQuery = 'select dcmmstranslation(\''.$_SESSION['language'].
- '\',Name), CodedValue from AdministrativeArea';
-
+ '\',Name), CodedValue from AdministrativeArea';
+
$arrAdministrativeArea[0] = _('[Select One]');
$objResult =pg_query($strQuery);
@@ -71,7 +71,7 @@
}
$strQuery = 'select dcmmstranslation(\''.$_SESSION['language'].
- '\',Name), Administra, CodedValue from Village where codedvalue in
+ '\',Name), Administra, CodedValue from Village where codedvalue in
(select village from landmark) order by Administra';
$arrVillage[0][0] = _('[Select One]');
$objResult =pg_query($strQuery);
@@ -95,7 +95,7 @@
$arrlandmark[$arrRow[1]][0][0] = _('[Select One]');
}
$arrlandmark[$arrRow[1]][$arrRow[2]][$arrRow[0]] = $arrRow[0];
-
+
}
@@ -122,8 +122,8 @@
$strQuery="select logbook,sequence,subsequence,name,subscribernumber,
meternumber from ".$Queryform->exportValue('Table')." where ";
if (($Queryform->exportValue('query')==1)){
-
- $strWhere="chr(meternumber)='".$Queryform->exportValue('searchvalue')."'";
+
+ $strWhere="chr(meternumber)='".$Queryform->exportValue('searchvalue')."'";
} elseif ($Queryform->exportValue('query')==2){
$strWhere="subscribernumber='".$Queryform->exportValue('searchvalue')."'";
} elseif ($Queryform->exportValue('query')==3){
@@ -139,10 +139,10 @@
$strQuery="select deliverypoint.sequence as dpsequence ,billing_info.tr as sequence,billing_info.book as logbooknumber,billing_info.full_name as name,
billing_info.pnr as id, deliverypoint.geocode,billing_info.num as serialnumber,billing_info.account_nu as subscription,billing_info.book_1 as subsequence,
-deliverypoint.routeid from billing_info left outer join deliverypoint on (billing_info.customerlocation=deliverypoint.sequence) left outer join metercabinet on
+deliverypoint.routeid,'billing_info' as table from billing_info left outer join deliverypoint on (billing_info.customerlocation=deliverypoint.sequence) left outer join metercabinet on
(billing_info.meterlocation=metercabinet.id) ";
if ($Queryform->exportValue('query')==1){
- $strWhere=$strWhere." and num='".$Queryform->exportValue('searchvalue')."'";
+ $strWhere=$strWhere." and num='".$Queryform->exportValue('searchvalue')."'";
} elseif ($Queryform->exportValue('query')==2){
$strWhere=$strWhere." and account_nu='".$Queryform->exportValue('searchvalue')."'";
} elseif ($Queryform->exportValue('query')==3){
@@ -160,17 +160,17 @@
//print_r($strQuery.$strWhere);
-
+
}else{
-
+
// $tablename='public.'.$Queryform->exportValue('Table');
$tablename='public.subscriber';
$strQuery="select deliverypoint.sequence as dpsequence ,subscriber.sequence as sequence,subscriber.logbooknumber,subscriber.name,subscriber.id,
- subscriber.geocode,subscriber.serialnumber,subscriber.subscription,subscriber.subsequence,deliverypoint.routeid
- from deliverypoint left outer join metercabinet on (metercabinet.pewssaid=deliverypoint.cabinetid) left outer join subscriber on (
+ subscriber.geocode,subscriber.serialnumber,subscriber.subscription,subscriber.subsequence,deliverypoint.routeid,'subscriber' as table
+ from deliverypoint left outer join metercabinet on (metercabinet.pewssaid=deliverypoint.cabinetid) left outer join subscriber on (
subscriber.geocode=deliverypoint.geocode) ";
if ($Queryform->exportValue('query')==1){
- $strWhere=" and serialnumber='".$Queryform->exportValue('searchvalue')."'";
+ $strWhere=" and serialnumber='".$Queryform->exportValue('searchvalue')."'";
} elseif ($Queryform->exportValue('query')==2){
$strWhere=" and subscription='".$Queryform->exportValue('searchvalue')."'";
} elseif ($Queryform->exportValue('query')==3){
@@ -186,12 +186,12 @@
$strWhere=" and paracode='".$Queryform->exportValue('searchvalue')."'";
}
}
-
+
$objTable = DB_DataObject::factory($tablename);
if(PEAR::isError($objTable)or(NULL == $objTable)) {
die(_($objTable->getMessage()));
}
-
+
$Queryform->process($Queryform, false);
//$objSubscriber->orderBy('sequence,subsequence');
@@ -200,7 +200,7 @@
$result = pg_query($strQuery.$strWhere);
$numrows = pg_numrows($result);
$objTable->Query($strQuery.$strWhere);
-
+
if (($numrows > 0)){
$objSubscriberTable = $objTable->getTable('<a href="'.
basename(__FILE__).'?PHPSESSID='.session_id().'&geocode=1">'.
@@ -208,7 +208,7 @@
$DccssPage->add($objSubscriberTable->tohtml());
}
}elseif (($_POST['area'][1]!='0')&&($Queryform->exportValue('searchvalue')=='')){
-
+
$strQuery = "select dcmmstranslation('".$_SESSION['language'].
"',landmark.Name), dcmmstranslation('".$_SESSION['language'].
"',administrativearea.name), dcmmstranslation('".$_SESSION['language'].
@@ -221,7 +221,7 @@
$result = pg_query($strQuery);
$numrows = pg_numrows($result);
$objTable->Query($strQuery);
-
+
$objTable = new DbTable($DccssPage->postgis->db, $strQuery);
$objTable->addRows();
$numRowCount = $objTable->getRowCount();
@@ -235,17 +235,17 @@
// for ($i==0;$i<$numRowCount;$i++){
// $arrRow =& pg_fetch_row($result);
-
+
$ref='<a href="deliverypointpage.php?PHPSESSID='.session_id().
'&action=mapLandmark&gid='.$arrRow[3].'&name='.$arrRow[0].'&village='.$arrRow[2].'">'.
_('[View on Map]').'</a>';
$objTable->setCellContents($i, 3, $ref. '<a href="print_ac.php?PHPSESSID='.session_id().
'&action=mapLandmark&gid='.$arrRow[3].'&name='.$arrRow[0].'&village='.$arrRow[2].'">'.
_('[Print]').'</a>');
- $i++;
+ $i++;
}
}
-
+
$DccssPage->add($objTable->toHtml());
}elseif (($Queryform->exportValue('query')==0)&&($Queryform->exportValue('searchvalue')!='')){
@@ -255,7 +255,7 @@
"',administrativearea.name), dcmmstranslation('".$_SESSION['language'].
"',village.name),landmark.gid from landmark
left outer join administrativearea on (landmark.administra=administrativearea.codedvalue)
-left outer join village on (landmark.village=village.codedvalue)
+left outer join village on (landmark.village=village.codedvalue)
where dcmmstranslation('".$_SESSION['language'].
"',landmark.Name) like '%".$Queryform->exportValue('searchvalue')."%' order by gid asc";
//print_r($strQuery);
@@ -263,7 +263,7 @@
$result = pg_query($strQuery);
$numrows = pg_numrows($result);
$objTable->Query($strQuery);
-
+
$objTable = new DbTable($DccssPage->postgis->db, $strQuery);
$objTable->addRows();
$numRowCount = $objTable->getRowCount();
@@ -277,19 +277,19 @@
// for ($i==0;$i<$numRowCount;$i++){
// $arrRow =& pg_fetch_row($result);
-
+
$ref='<a href="deliverypointpage.php?PHPSESSID='.session_id().
'&action=mapLandmark&gid='.$arrRow[3].'&name='.$arrRow[0].'&village='.$arrRow[2].'">'.
_('[View on Map]').'</a>';
$objTable->setCellContents($i, 3, $ref. '<a href="print_ac.php?PHPSESSID='.session_id().
'&action=mapLandmark&gid='.$arrRow[3].'&name='.$arrRow[0].'&village='.$arrRow[2].'">'.
_('[Print]').'</a>');
- $i++;
+ $i++;
}
}
-
+
$DccssPage->add($objTable->toHtml());
-
+
}
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <mah...@us...> - 2010-08-17 08:40:32
|
Revision: 375
http://dccss.svn.sourceforge.net/dccss/?rev=375&view=rev
Author: maher_karim
Date: 2010-08-17 08:40:23 +0000 (Tue, 17 Aug 2010)
Log Message:
-----------
2010-08-17 Maher Abdel Karim <mah...@do...>
* dataobject/public_billing_info.php: add billing info table
class.
* dataobject/public_subscriber.php: add more fields.
* Query.php: adjust query page to allow query billing information
* include/dcmmaputil.php:
* map.php: add functionality to add meter cabinet
* ar/LC_messages/dccss.po:
* i18n.php: add more translation
Modified Paths:
--------------
branches/ms4w/apps/dccss/changelog
branches/ms4w/apps/dccss/conf/dccss_pewssa_ar.map
branches/ms4w/apps/dccss/include/dataobject/Public_subscriber.php
branches/ms4w/apps/dccss/include/dcmmaputil.php
branches/ms4w/apps/dccss/include/i18n.php
branches/ms4w/apps/dccss/locale/ar/LC_MESSAGES/dccss.po
branches/ms4w/apps/dccss/map.php
branches/ms4w/apps/dccss/query.php
Added Paths:
-----------
branches/ms4w/apps/dccss/include/dataobject/Public_billing_info.php
Modified: branches/ms4w/apps/dccss/changelog
===================================================================
--- branches/ms4w/apps/dccss/changelog 2010-05-10 08:50:33 UTC (rev 374)
+++ branches/ms4w/apps/dccss/changelog 2010-08-17 08:40:23 UTC (rev 375)
@@ -1,3 +1,14 @@
+2010-08-17 Maher Abdel Karim <mah...@do...>
+
+ * dataobject/public_billing_info.php: add billing info table
+ class.
+ * dataobject/public_subscriber.php: add more fields.
+ * Query.php: adjust query page to allow query billing information
+ * include/dcmmaputil.php:
+ * map.php: add functionality to add meter cabinet
+ * ar/LC_messages/dccss.po:
+ * i18n.php: add more translation
+
2010-05-10 Maher Abdel karim <mah...@do...>
* print_workorder.php:
Modified: branches/ms4w/apps/dccss/conf/dccss_pewssa_ar.map
===================================================================
--- branches/ms4w/apps/dccss/conf/dccss_pewssa_ar.map 2010-05-10 08:50:33 UTC (rev 374)
+++ branches/ms4w/apps/dccss/conf/dccss_pewssa_ar.map 2010-08-17 08:40:23 UTC (rev 375)
@@ -327,8 +327,8 @@
CONNECTION "dbname=dccss user=dcmms password=dcmms host=localhost"
name "cabinet"
type point
- status Off
- labelitem "pewssaid"
+ status default
+ labelitem "id"
DATA "the_geom from metercabinet using unique gid"
CLASS
NAME "route"
@@ -338,8 +338,8 @@
SIZE 15
COLOR 255 0 0
label
- color 38 119 38
- position uc
+ color 255 0 0
+ #position uc
font arial
type truetype
size 9
Added: branches/ms4w/apps/dccss/include/dataobject/Public_billing_info.php
===================================================================
--- branches/ms4w/apps/dccss/include/dataobject/Public_billing_info.php (rev 0)
+++ branches/ms4w/apps/dccss/include/dataobject/Public_billing_info.php 2010-08-17 08:40:23 UTC (rev 375)
@@ -0,0 +1,91 @@
+<?php
+/**
+ * Table Definition for public.bill
+ */
+require_once 'DB/DataObject.php';
+
+class DataObject_Public_billing_info extends DB_DataObject
+{
+ ###START_AUTOCODE
+ /* the code below is auto generated do not remove the above tag */
+
+ var $__table = 'public.billing_info'; // table name
+ var $logbook; // int4(4)
+ var $sequence; // int4(4)
+ var $name; // varchar(-1)
+ var $subscribernumber; // varchar(-1)
+ var $meternumber; // int4(4)
+ var $meterlocation; // varchar(-1)
+
+ /* ZE2 compatibility trick*/
+ function __clone() { return $this;}
+
+ /* Static get */
+ function staticGet($k,$v=NULL) { return DB_DataObject::staticGet('DataObject_Public_bill',$k,$v); }
+
+ /* the code above is auto generated do not remove the tag below */
+ ###END_AUTOCODE
+
+ /**
+ * Return an HTML_Table containing all available translations. The table
+ * includes a link to a page for subscriber editing.
+ * @param $strBacklink is a link back to the page that links to translation
+ * management.
+ * @param $strPagePath is the link from the current page to the translation
+ * management page ('' or 'admin/').
+ * @return An HTML_Table.
+ */
+ function getTable($strBacklink = '', $strPagePath = '',$action='') {
+ $objTable = new HTML_Table(NULL);
+ $objTable->setAutoGrow(true);
+
+ $objTable->setCellContents(0, 0, _("ID"), "TH");
+ $objTable->setCellContents(0, 1, _("DeliveryPoint #"), "TH");
+ $objTable->setCellContents(0, 2, _("Logbook"), "TH");
+ $objTable->setCellContents(0, 3, _("Subscriber number"), "TH");
+ $objTable->setCellContents(0, 4, _("Name"), "TH");
+ $objTable->setCellContents(0, 5, _("Meter"), "TH");
+ $objTable->setCellContents(0, 6, _("Sequence"), "TH");
+ $objTable->setCellContents(0, 7, _("Subsequence"), "TH");
+
+ $objTable->setCellContents(0, 10, _("Action"), "TH");
+ $objTable->setCellContents(0, 8, _("Route ID"), "TH");
+$objTable->setCellContents(0, 9, _("DeliveryPoint"), "TH");
+
+ $i = 1;
+ $showadd=true;
+ while($this->fetch()) {
+ if($this->geocode != '') {
+ $objTable->setCellContents($i, 0, $this->id);
+ $objTable->setCellContents($i, 1, $this->geocode);
+ $objTable->setCellContents($i, 2, $this->logbooknumber);
+ $objTable->setCellContents($i, 3, $this->subscription);
+ $objTable->setCellContents($i, 4, $this->name);
+ $objTable->setCellContents($i, 5, $this->serialnumber);
+ $objTable->setCellContents($i, 6, $this->sequence);
+ $objTable->setCellContents($i, 7, $this->subsequence);
+ $objTable->setCellContents($i, 8, $this->routeid);
+$objTable->setCellContents($i, 9, $this->dpsequence);
+
+ if ($action=='view'){
+ $ref='<a href="deliverypointpage.php?PHPSESSID='.session_id().
+ '&action=map&geocode='. $this->geocode.'">'.
+ _('[View on Map]').'</a>';
+ $ref=$ref.'<a href="print_ac.php?PHPSESSID='.session_id().
+ '&action=map&id='.$this->id.'&geocode='. $this->geocode.'">'.
+ _('[Print]').'</a>';
+ $showadd=false;
+ }
+ $objTable->setCellContents($i, 10, $ref);
+ $i++;
+ }
+ }
+ if ($showadd){
+ $objTable->setCellContents($i, 0,
+ "<a href=\"subscriberpage.php?geocode=".$this->geocode.
+ "&backlink=".urlencode($strBacklink)."\">"._("[Add]")."</a>");
+ }
+ return $objTable;
+ }
+
+ }
Modified: branches/ms4w/apps/dccss/include/dataobject/Public_subscriber.php
===================================================================
--- branches/ms4w/apps/dccss/include/dataobject/Public_subscriber.php 2010-05-10 08:50:33 UTC (rev 374)
+++ branches/ms4w/apps/dccss/include/dataobject/Public_subscriber.php 2010-08-17 08:40:23 UTC (rev 375)
@@ -205,7 +205,11 @@
$objTable->setCellContents(0, 5, _("Meter"), "TH");
$objTable->setCellContents(0, 6, _("Sequence"), "TH");
$objTable->setCellContents(0, 7, _("Subsequence"), "TH");
- $objTable->setCellContents(0, 8, _("Action"), "TH");
+
+ $objTable->setCellContents(0, 10, _("Action"), "TH");
+ $objTable->setCellContents(0, 8, _("Route ID"), "TH");
+$objTable->setCellContents(0, 9, _("DeliveryPoint"), "TH");
+
$i = 1;
$showadd=true;
while($this->fetch()) {
@@ -218,6 +222,9 @@
$objTable->setCellContents($i, 5, $this->serialnumber);
$objTable->setCellContents($i, 6, $this->sequence);
$objTable->setCellContents($i, 7, $this->subsequence);
+ $objTable->setCellContents($i, 8, $this->routeid);
+$objTable->setCellContents($i, 9, $this->dpsequence);
+
if ($action=='view'){
$ref='<a href="deliverypointpage.php?PHPSESSID='.session_id().
'&action=map&geocode='. $this->geocode.'">'.
@@ -227,7 +234,7 @@
_('[Print]').'</a>';
$showadd=false;
}
- $objTable->setCellContents($i, 8, '<a href="'.$strPagePath.
+ $objTable->setCellContents($i, 10, '<a href="'.$strPagePath.
'subscriberpage.php?'.
"action=edit&id=".$this->id."&geocode=".$this->geocode.
"&backlink=".urlencode($strBacklink)."\">"._("[Edit]")."</a>".$ref);
Modified: branches/ms4w/apps/dccss/include/dcmmaputil.php
===================================================================
--- branches/ms4w/apps/dccss/include/dcmmaputil.php 2010-05-10 08:50:33 UTC (rev 374)
+++ branches/ms4w/apps/dccss/include/dcmmaputil.php 2010-08-17 08:40:23 UTC (rev 375)
@@ -251,7 +251,7 @@
"&CMD=DeliveryPoint\">".
_("Cancel Move")."</a> ]";
} else {
-
+
// Specify the list of actions that can be berformed for the
// deliverypint. Available acions (if a deliverypoint is selected)
// Edit,Move, and delete.
@@ -381,4 +381,147 @@
return($strHtml);
}
}
+
+class metercabinetTool extends HTML_QuickForm_radio {
+
+ /**
+ * Whether the current user is administrator or not.
+ */
+ var $boolmetercabinetEditor = TRUE;
+
+ /**
+ * The ID of a selected metercabinet.
+ */
+ var $intSelectedID = NULL;
+
+ /**
+ * The X coordinate of the mouse click.
+ */
+ var $intX = NULL;
+
+ /**
+ * The Y coordinate of the mouse click.
+ */
+ var $intY = NULL;
+
+ /**
+ * The action that is currently performed.
+ */
+ var $strAction = "";
+
+ /**
+ * Return the metercabinetTool object.
+ * @param $strUser The user name.
+ * @param $intGeoX The X coordinate of the mouse click (geographic).
+ * @param $intGeoY The Y coordinate of the mouse click (geographic).
+ * @returns The metercabinetTool object.
+ */
+ function metercabinetTool($strUser, $intGeoX, $intGeoY) {
+ parent::HTML_QuickForm_radio("CMD", _("Meter Cabinet"));
+ $this->intX = $intGeoX;
+ $this->intY = $intGeoY;
+ }
+
+ /**
+ * Select a metercabinet for editing.
+ * @param $intID is the metercabinet ID.
+ * @returns Nothing.
+ */
+ function setSelected($intID) {
+ $this->intSelectedID = $intID;
+ }
+
+ /**
+ * Set the action of the tool
+ * @param $strAction is a string describing the current action.
+ * @returns Nothing.
+ */
+ function setAction($strAction) {
+ $this->strAction = $strAction;
+ if($strAction == "movemetercabinet") {
+ $this->setValue("MOVE_metercabinet");
+ }
+ }
+
+ /**
+ * Return the HTML code of the metercabinet tool.
+ * @returns A string containing the generated HTML code.
+ * \todo Re-add tooltips, keep image size settings when moving landmark
+ */
+ function toHtml() {
+ $strImage = "icon_landmark.png";
+ if($this->strAction == "movemetercabinet") {
+ $strImage = "move_landmark.png";
+ }
+ $strHtml = "<img src=\"images/$strImage\" width=\"24\" ".
+ "height=\"24\" border=\"0\" alt=\""._("Meter cabinet")."\" /></td><td>";
+ $strHtml = $strHtml.parent::toHtml()._("Meter cabinet")." ";
+ if($this->intSelectedID != NULL) {
+ if($this->boolmetercabinetEditor) {
+ if($this->strAction == "movemetercabinet") {
+ if($this->intX != NULL) {
+ $strHtml = $strHtml." [ <a href=\"map.php?metercabinetID=".$this->intSelectedID."&PHPSESSID=".session_id().
+ "&action=acceptedmetercabinetMove&gravitymain=Y&pressurizedmain=Y&ViewRegion=Quick+".
+ "View&minx=".$_REQUEST["minx"]."&miny=".$_REQUEST["miny"]."&maxx=".
+ $_REQUEST["maxx"]."&maxy=".$_REQUEST["maxy"]."&imagewidth=400&".
+ "imageheight=300&CMD=metercabinet".
+ "&KEYMAPXSIZE=120&KEYMAPYSIZE=66&MapSize=400%2C300&PREVIOUS_MODE=1".
+ "&CMD=metercabinet&metercabinetID=".
+ $this->intSelectedID."&sequence=".$this->intSelectedID."&metercabinetX=".$this->intX."&metercabinetY=".
+ $this->intY."\">".
+ _("Accept Move")."</a> ]";
+ }
+ $strHtml = $strHtml." [ <a href=\"map.php?PHPSESSID=".session_id().
+ "&gravitymain=Y&pressurizedmain=Y&ViewRegion=Quick+".
+ "View&minx=".$_REQUEST["minx"]."&miny=".$_REQUEST["miny"]."&maxx=".
+ $_REQUEST["maxx"]."&maxy=".$_REQUEST["maxy"]."&imagewidth=400&".
+ "imageheight=300".
+ "&KEYMAPXSIZE=120&KEYMAPYSIZE=66&MapSize=400%2C300&PREVIOUS_MODE=1".
+ "&CMD=metercabinet\">".
+ _("Cancel Move")."</a> ]";
+ } else {
+
+
+ // Specify the list of actions that can be berformed for the
+ // deliverypint. Available acions (if a deliverypoint is selected)
+ // Edit,Move, and delete.
+ $strHtml = $strHtml." [ ".
+ "<a href=\"map.php?PHPSESSID=".session_id().
+ "&gravitymain=Y&pressurizedmain=Y&ViewRegion=Quick+".
+ "View&minx=".$_REQUEST["minx"]."&miny=".$_REQUEST["miny"]."&maxx=".
+ $_REQUEST["maxx"]."&maxy=".$_REQUEST["maxy"]."&imagewidth=400&".
+ "imageheight=300&CMD=MOVE_metercabinet".
+ "&KEYMAPXSIZE=120&KEYMAPYSIZE=66&MapSize=400%2C300&PREVIOUS_MODE=1".
+ "&metercabinetID=".$this->intSelectedID."&action=movemetercabinet".
+ "&sequence=".$this->intSelectedID."\">".
+ _("Move")."</a> ][ ".
+ "<a href=\"map.php?PHPSESSID=".session_id().
+ "&gravitymain=Y&pressurizedmain=Y&ViewRegion=Quick+".
+ "View&minx=".$_REQUEST["minx"]."&miny=".$_REQUEST["miny"]."&maxx=".
+ $_REQUEST["maxx"]."&maxy=".$_REQUEST["maxy"]."&imagewidth=400&".
+ "imageheight=300&CMD=MOVE_metercabinet".
+ "&KEYMAPXSIZE=120&KEYMAPYSIZE=66&MapSize=400%2C300&PREVIOUS_MODE=1".
+ "&metercabinetID=".$this->intSelectedID."&action=deletemetercabinet".
+ "&sequence=".$this->intSelectedID."\">".
+ _("Delete")."</a> ]";
+ }
+ } else {
+ $strHtml = $strHtml."<a href=\"metercabinetpage.php?action=view&PHPSESSID=".
+ session_id()."&id=".$this->intSelectedID."\">"._("[View]")."</a>";
+ }
+ } else {
+ if(($this->intX != NULL)&&($this->getChecked())) {
+ $strInsert= "insert into metercabinet (the_geom,id,username) values
+ (GeometryFromText('POINT(".$this->intX." ".$this->intY.")', -1),nextval('deliverypoint_seq'),'".$_SESSION['UserName']."')";
+ //echo ($strInsert);
+ pg_query($strInsert);
+ }
+ }
+ if($this->intSelectedID != NULL) {
+ $strHtml = $strHtml."<input type=\"hidden\" name=\"metercabinetID\"".
+ " value=\"".$this->intSelectedID."\" />";
+ }
+ return $strHtml;
+ }
+}
?>
Modified: branches/ms4w/apps/dccss/include/i18n.php
===================================================================
--- branches/ms4w/apps/dccss/include/i18n.php 2010-05-10 08:50:33 UTC (rev 374)
+++ branches/ms4w/apps/dccss/include/i18n.php 2010-08-17 08:40:23 UTC (rev 375)
@@ -143,6 +143,9 @@
_("paracode");
_("routeid");
_("pewssaid");
+_('Route ID');
+_('DeliveryPoint');
+
?>
Modified: branches/ms4w/apps/dccss/locale/ar/LC_MESSAGES/dccss.po
===================================================================
--- branches/ms4w/apps/dccss/locale/ar/LC_MESSAGES/dccss.po 2010-05-10 08:50:33 UTC (rev 374)
+++ branches/ms4w/apps/dccss/locale/ar/LC_MESSAGES/dccss.po 2010-08-17 08:40:23 UTC (rev 375)
@@ -1,12 +1,13 @@
msgid ""
msgstr ""
"Project-Id-Version: DCCSS\n"
-"POT-Creation-Date: \n"
-"PO-Revision-Date: 2009-01-20 11:50+0200\n"
-"Last-Translator: Maher Karim <Mah...@do...>\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2010-05-23 15:00+0200\n"
+"PO-Revision-Date: 2010-05-23 15:03+0200\n"
+"Last-Translator: \n"
"Language-Team: Dorsch <mah...@do...>\n"
"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=utf-8\n"
+"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Poedit-SourceCharset: utf-8\n"
"X-Poedit-Basepath: .\n"
@@ -50,12 +51,7 @@
# e:\program
#: ../../.././dataentry_performance_report.php:33
#: ../../.././logon.php:35
-#: ../../.././map.php:34
-#: ../../.././Copy of include/dccsspage.php:31
-#: include/header.php:34
-#: ../../.././include/dccsspage.php:31
-#: ../../.././include/header.php:34
-#: ../../.././include/dcmms/include/dcmmspage.php:37
+#: ../../.././map.php:35
#, php-format
msgid "FATAL ERROR: PHP extension '%s' is not loaded."
msgstr ""
@@ -68,33 +64,25 @@
# C:\Program
#: ../../.././dataentry_performance_report.php:55
-#: ../../.././surveyor_report.php:35
msgid "Select From Date"
msgstr "اختر بداية الفتره"
# e:\program
#: ../../.././dataentry_performance_report.php:56
-#: ../../.././surveyor_report.php:36
msgid "Select To Date"
msgstr "اختر تاريخ نهاية الفتره"
-# c:\program
-#: ../../.././dataentry_performance_report.php:71
-msgid "Data Entry performance report for the period from"
-msgstr "تقرير اداء مدخلي البيانات للفترة من"
-
# C:\Program
#: ../../.././dataentry_performance_report.php:72
-#: ../../.././surveyor_report.php:51
-msgid "\t\t"
-msgstr ""
-
-# C:\Program
-#: ../../.././dataentry_performance_report.php:72
-#: ../../.././surveyor_report.php:51
msgid "To"
msgstr "الى"
+# c:\program
+#: ../../.././dataentry_performance_report.php:71
+#, fuzzy
+msgid "Data Entry performance report for the period from\t\t"
+msgstr "تقرير اداء مدخلي البيانات للفترة من"
+
# e:\program
#: ../../.././dataentry_performance_report.php:155
msgid "Entered delivery Point"
@@ -107,13 +95,6 @@
# e:\program
#: ../../.././deliverypointpage.php:37
-#: ../../.././Copy of
-#: include/dcmmaputil.php:191
-#: include/dcmmaputil.php:228
-#: include/dcmmaputil.php:229
-#: ../../.././include/dcmmaputil.php:191
-#: ../../.././include/dcmmaputil.php:228
-#: ../../.././include/dcmmaputil.php:229
msgid "Delivery Point"
msgstr "رمز العنوان الجغرافي"
@@ -145,27 +126,11 @@
# c:\program
#: ../../.././deliverypointpage.php:168
-#: ../../.././subscriberpage.php:223
-#: ../../.././Copy of include/dataobject/Public_deliverypoint.php:164
-#: include/dataobject/Public_subscriber.php:112
-#: ../../.././include/dataobject/Public_deliverypoint.php:164
-#: ../../.././include/dataobject/Public_subscriber.php:112
-#: ../../.././include/dcmms/include/dataobject/Dcmmsuser.php:123
-#: ../../.././include/dcmms/include/dataobject/Equipment.php:59
-#: ../../.././include/dcmms/include/dataobject/Landmark.php:111
-#: ../../.././include/dcmms/include/dataobject/Maintenance.php:113
-#: ../../.././include/dcmms/include/dataobject/Material.php:58
-#: ../../.././include/dcmms/include/dataobject/Seal.php:67
-#: ../../.././include/dcmms/include/dataobject/Staff.php:124
-#: ../../.././include/dcmms/include/dataobject/Team.php:107
-#: ../../.././include/dcmms/include/dataobject/Translation.php:67
-#: ../../.././include/dcmms/include/dataobject/Workorder.php:106
msgid "Submit"
msgstr "حفظ"
# c:\program
#: ../../.././deliverypointpage.php:180
-#: ../../.././subscriberpage.php:110
msgid "Failed to save record(s)."
msgstr "لم تتم عملية حفظ السجل/السجلات بنجاح"
@@ -181,13 +146,12 @@
# e:\program
#: ../../.././deliverypointpage.php:221
-#: ../../.././query.php:177
-#: ../../.././subscriberpage.php:185
msgid "Back to delivery point"
msgstr "البحث عن نقطة المدخل باستخدام رقم التعريف"
# e:\program
#: ../../.././index.php:27
+#: ../../.././map.php:454
msgid "DC Comprehensive Subscribers Survey"
msgstr "DC مشروع المسح الميداني الشامل للمشتركين"
@@ -208,7 +172,6 @@
# e:\program
#: ../../.././index.php:56
-#: ../../.././include/dcmms/include/resourcepage.php:72
msgid "Map"
msgstr "الخريطة"
@@ -219,7 +182,6 @@
# e:\program
#: ../../.././index.php:59
-#: ../../.././reports.php:30
msgid "Reports"
msgstr "التقارير"
@@ -241,13 +203,11 @@
# c:\program
#: ../../.././index.php:68
#: ../../.././index.php:69
-#: ../../.././include/dcmms/include/i18n.php:30
msgid "Administration"
msgstr "الادارة"
# c:\program
#: ../../.././index.php:73
-#: ../../.././admin/shapefile_loader.php:31
msgid "Shapefile Loader"
msgstr "تحميل البيانات الجغرافية"
@@ -307,7 +267,6 @@
# e:\program
#: ../../.././index.php:105
-#: ../../.././admin/move_subscriber.php:50
msgid "Move Subscriber"
msgstr "نقل مشترك"
@@ -327,11 +286,6 @@
# C:\Program
#: ../../.././logbook_report.php:55
#: ../../.././logbook_report_subscriber.php:51
-#: ../../.././Copy of
-#: include/i18n.php:95
-#: include/i18n.php:102
-#: ../../.././include/i18n.php:95
-#: ../../.././include/i18n.php:102
msgid "Log Book based CSS form printing"
msgstr "طباعة نماذج المسح الميداني حسب المجلد"
@@ -344,7 +298,6 @@
# C:\Program
#: ../../.././logbook_report.php:58
#: ../../.././logbook_report_subscriber.php:54
-#: ../../.././taskforce_report.php:63
msgid "Batch:"
msgstr "المجموعة:"
@@ -369,28 +322,6 @@
#: ../../.././logbook_report.php:69
#: ../../.././logbook_report_subscriber.php:63
#: ../../.././meter_query_report.php:64
-#: ../../.././query.php:112
-#: ../../.././taskforce_report.php:79
-#: ../../.././admin/move_subscriber.php:76
-#: ../../.././admin/processing.php:48
-#: ../../.././admin/purge_subscriber.php:63
-#: ../../.././Copy of include/i18n.php:62
-#: include/i18n.php:73
-#: include/dataobject/Public_deliverypoint.php:116
-#: include/dataobject/Public_subscriber.php:166
-#: ../../.././include/i18n.php:62
-#: ../../.././include/i18n.php:73
-#: ../../.././include/dataobject/Public_deliverypoint.php:116
-#: ../../.././include/dataobject/Public_subscriber.php:166
-#: ../../.././include/dcmms/include/dcmmsreport.php:111
-#: ../../.././include/dcmms/include/dataobject/Dcmmsuser.php:140
-#: ../../.././include/dcmms/include/dataobject/Landmark.php:87
-#: ../../.././include/dcmms/include/dataobject/Maintenance.php:174
-#: ../../.././include/dcmms/include/dataobject/Seal.php:95
-#: ../../.././include/dcmms/include/dataobject/Staff.php:146
-#: ../../.././include/dcmms/include/dataobject/Team.php:127
-#: ../../.././include/dcmms/include/dataobject/Translation.php:89
-#: ../../.././include/dcmms/include/dataobject/Workorder.php:191
msgid "denotes required field"
msgstr "الرجاء تعبئة الحقول المطلوبة."
@@ -419,9 +350,6 @@
# c:\program
#: ../../.././logbook_report.php:89
-#: ../../.././Copy of
-#: include/dataobject/Public_deliverypoint.php:137
-#: ../../.././include/dataobject/Public_deliverypoint.php:137
msgid "Survey Date:"
msgstr "تاريخ جمع المعلومات :"
@@ -437,15 +365,11 @@
# c:\program
#: ../../.././logbook_report.php:96
-#: ../../.././Copy of include/i18n.php:75
-#: ../../.././include/i18n.php:75
msgid "Arabic"
msgstr "دار عربي"
# c:\program
#: ../../.././logbook_report.php:97
-#: ../../.././Copy of include/i18n.php:78
-#: ../../.././include/i18n.php:78
msgid "Apartment Building"
msgstr "مجمع سكني"
@@ -456,15 +380,11 @@
# c:\program
#: ../../.././logbook_report.php:99
-#: ../../.././Copy of include/i18n.php:82
-#: ../../.././include/i18n.php:82
msgid "Government Dept."
msgstr "دوائر رسمية"
# c:\program
#: ../../.././logbook_report.php:100
-#: ../../.././Copy of include/i18n.php:76
-#: ../../.././include/i18n.php:76
msgid "Factory"
msgstr "مصنع"
@@ -472,30 +392,21 @@
#: ../../.././logbook_report.php:101
#: ../../.././logbook_report.php:180
#: ../../.././logbook_report_subscriber.php:133
-#: ../../.././Copy of
-#: include/i18n.php:45
-#: ../../.././include/i18n.php:45
msgid "Hospital"
msgstr "مشفى"
# c:\program
#: ../../.././logbook_report.php:102
-#: ../../.././Copy of include/i18n.php:79
-#: ../../.././include/i18n.php:79
msgid "Religious"
msgstr "دور عباده"
# c:\program
#: ../../.././logbook_report.php:103
-#: ../../.././Copy of include/i18n.php:83
-#: ../../.././include/i18n.php:83
msgid "Villa"
msgstr "فيلا"
# c:\program
#: ../../.././logbook_report.php:104
-#: ../../.././Copy of include/i18n.php:77
-#: ../../.././include/i18n.php:77
msgid "Farm"
msgstr "مزرعة"
@@ -503,10 +414,6 @@
#: ../../.././logbook_report.php:105
#: ../../.././logbook_report.php:160
#: ../../.././logbook_report_subscriber.php:113
-#: ../../.././Copy of
-#: include/i18n.php:81
-#: ../../.././include/i18n.php:81
-#: ../../.././include/dcmms/include/i18n.php:222
msgid "Other"
msgstr "أخرى"
@@ -542,15 +449,6 @@
#: ../../.././logbook_report.php:147
#: ../../.././logbook_report_subscriber.php:98
#: ../../.././logbook_report_subscriber.php:101
-#: ../../.././Copy of
-#: include/i18n.php:27
-#: include/dataobject/Public_deliverypoint.php:151
-#: include/dataobject/Public_deliverypoint.php:152
-#: include/dataobject/Public_deliverypoint.php:153
-#: ../../.././include/i18n.php:27
-#: ../../.././include/dataobject/Public_deliverypoint.php:151
-#: ../../.././include/dataobject/Public_deliverypoint.php:152
-#: ../../.././include/dataobject/Public_deliverypoint.php:153
msgid "Yes"
msgstr "نعم"
@@ -561,15 +459,6 @@
#: ../../.././logbook_report.php:148
#: ../../.././logbook_report_subscriber.php:99
#: ../../.././logbook_report_subscriber.php:102
-#: ../../.././Copy of
-#: include/i18n.php:25
-#: include/dataobject/Public_deliverypoint.php:151
-#: include/dataobject/Public_deliverypoint.php:152
-#: include/dataobject/Public_deliverypoint.php:153
-#: ../../.././include/i18n.php:25
-#: ../../.././include/dataobject/Public_deliverypoint.php:151
-#: ../../.././include/dataobject/Public_deliverypoint.php:152
-#: ../../.././include/dataobject/Public_deliverypoint.php:153
msgid "No"
msgstr "لا"
@@ -595,8 +484,6 @@
# c:\program
#: ../../.././logbook_report.php:120
-#: ../../.././Copy of include/i18n.php:69
-#: ../../.././include/i18n.php:69
msgid "Tanker"
msgstr "صهاريج"
@@ -607,16 +494,12 @@
# c:\program
#: ../../.././logbook_report.php:122
-#: ../../.././Copy of include/i18n.php:70
-#: ../../.././include/i18n.php:70
msgid "Tube Well"
msgstr "بئر ماء"
# C:\Program
#: ../../.././logbook_report.php:123
#: ../../.././logbook_report.php:153
-#: ../../.././Copy of include/i18n.php:104
-#: ../../.././include/i18n.php:104
msgid "Legal Connection"
msgstr "وصله نظاميه"
@@ -848,9 +731,6 @@
# c:\program
#: ../../.././logbook_report.php:179
#: ../../.././logbook_report_subscriber.php:132
-#: ../../.././Copy of
-#: include/i18n.php:43
-#: ../../.././include/i18n.php:43
msgid "Domestic"
msgstr "منزلي"
@@ -869,10 +749,6 @@
# c:\program
#: ../../.././logbook_report.php:183
#: ../../.././logbook_report_subscriber.php:136
-#: ../../.././Copy of
-#: include/i18n.php:42
-#: ../../.././include/i18n.php:42
-#: ../../.././include/dcmms/include/i18n.php:61
msgid "Commercial"
msgstr "تجاري"
@@ -1192,7 +1068,6 @@
# e:\program
#: ../../.././logon.php:171
-#: ../../.././include/dcmms/include/i18n.php:175
#, php-format
msgid "Logged off user '%s'."
msgstr "خروج المستخدم '%s'"
@@ -1214,9 +1089,6 @@
# e:\program
#: ../../.././logon.php:192
-#: ../../.././Copy of
-#: include/dataobject/Public_subscriber.php:103
-#: ../../.././include/dataobject/Public_subscriber.php:103
msgid "User Name:"
msgstr "اسم المستخدم:"
@@ -1236,148 +1108,152 @@
msgstr "الدخول"
# e:\program
-#: ../../.././map.php:117
+#: ../../.././map.php:120
#, php-format
msgid "Moving DeliveryPoint %s."
msgstr "تحريك نقطة الوصول رقم %s"
# e:\program
-#: ../../.././map.php:145
-msgid "Deleted DeliveryPoint."
-msgstr "تم تحريك نقطة الوصول"
+#: ../../.././map.php:127
+#, php-format
+msgid "Moving meter cabinet %s."
+msgstr "تحريك الكابينة رقم %s"
-# D:\dccss\dccss/map.php:134
-#: ../../.././map.php:145
-msgid " "
-msgstr ""
-
# e:\program
-#: ../../.././map.php:145
-msgid "DeliveryPointID:"
-msgstr "نقطة الوصول"
+#: ../../.././map.php:165
+#, fuzzy
+msgid "Deleted DeliveryPoint. DeliveryPointID:"
+msgstr "تم تحريك نقطة الوصول"
# c:\program
-#: ../../.././map.php:145
-msgid "sequence"
-msgstr "رقم التخصيص"
+#: ../../.././map.php:175
+msgid "Deleted metercabinet."
+msgstr "كابينة محذوفة."
# c:\program
-#: ../../.././map.php:184
+#: ../../.././map.php:175
+msgid "metercabinetID:"
+msgstr "رقم كابينة المؤسسة:"
+
+# c:\program
+#: ../../.././map.php:215
+#: ../../.././map.php:270
msgid "NO geocode value returned"
msgstr "لم يتم ارسال اي رمز جغرافي"
# e:\program
-#: ../../.././map.php:211
+#: ../../.././map.php:242
msgid "Moved DeliveryPoint."
msgstr "تم تحريك نقطة الوصول"
+# c:\program
+#: ../../.././map.php:290
+msgid "Moved Meter cabinet."
+msgstr "jpvd; hg;hfdkm"
+
# e:\program
-#: ../../.././map.php:365
+#: ../../.././map.php:499
msgid "Legend"
msgstr "مفتاح الخريطة"
# c:\program
-#: ../../.././map.php:387
+#: ../../.././map.php:521
msgid "Display the Water network"
msgstr "اظهار شبكة المياه"
# e:\program
-#: ../../.././map.php:388
+#: ../../.././map.php:522
msgid "Water Network"
msgstr "شبكة المياه"
# e:\program
-#: ../../.././map.php:400
-#: ../../.././include/dcmms/include/dcmmaputil.php:174
-#: ../../.././include/dcmms/include/dcmmaputil.php:229
-#: ../../.././include/dcmms/include/dcmmaputil.php:230
+#: ../../.././map.php:534
msgid "Landmark"
msgstr "معلم"
# c:\program
-#: ../../.././map.php:408
+#: ../../.././map.php:542
msgid "Refresh the map display"
msgstr "تحديث الخريطة"
# e:\program
-#: ../../.././map.php:409
+#: ../../.././map.php:543
msgid "Redraw Map"
msgstr "اعادة رسم الخريطة"
# c:\program
-#: ../../.././map.php:417
+#: ../../.././map.php:551
msgid "Zoom to grid"
msgstr "التكبير الى الشبكة"
# c:\program
-#: ../../.././map.php:440
+#: ../../.././map.php:574
msgid "Full View"
msgstr "منظر عام"
# c:\program
-#: ../../.././map.php:465
+#: ../../.././map.php:599
msgid "Select the map size from the list."
msgstr "اختر حجم الخريطة من القائمة"
# e:\program
-#: ../../.././map.php:466
+#: ../../.././map.php:600
msgid "Map Size"
msgstr "حجم الخريطة"
# e:\program
-#: ../../.././map.php:503
+#: ../../.././map.php:637
msgid "Keymap"
msgstr "خريطة الدليل"
# e:\program
-#: ../../.././map.php:507
+#: ../../.././map.php:641
msgid "Click on the key map to view an area."
msgstr "اضغط على خريطة الدليل لاظهار منطقة"
# e:\program
-#: ../../.././map.php:518
+#: ../../.././map.php:652
msgid "Zoom in further to display more detailed map information."
msgstr "كبر اكثر من اجل اظهار تفاصيل اكثر للخريطة."
# e:\program
-#: ../../.././map.php:520
+#: ../../.././map.php:654
msgid "Zoom In"
msgstr "تكبير"
# e:\program
-#: ../../.././map.php:528
+#: ../../.././map.php:662
msgid "Zoom out to display a larger area of the map."
msgstr "صغر من اجل اظهار منطقة اكبر من الخريطة."
# e:\program
-#: ../../.././map.php:530
+#: ../../.././map.php:664
msgid "Zoom Out"
msgstr "تصغير"
# e:\program
-#: ../../.././map.php:538
+#: ../../.././map.php:672
msgid "Move the map view without zooming in or out."
msgstr "التحرك في الخريطة بدون تكبير او تصغير."
# e:\program
-#: ../../.././map.php:540
+#: ../../.././map.php:674
msgid "Pan"
msgstr "تحريك"
# e:\program
-#: ../../.././map.php:548
+#: ../../.././map.php:682
msgid "Display information about elements in the map."
msgstr "اظهار المعلومات المتعلقة بالعناصر الموجودة في الخريطة."
# e:\program
-#: ../../.././map.php:550
+#: ../../.././map.php:684
msgid "Identify"
msgstr "اداة التعريف"
# e:\program
-#: ../../.././map.php:559
-#: ../../.././query.php:207
-#: ../../.././include/dataobject/Public_subscriber.php:227
+#: ../../.././map.php:701
+#: ../../.././map.php:710
msgid "[Print]"
msgstr "[طباعة]"
@@ -1408,21 +1284,24 @@
msgstr "تقرير العدادات المعطلة"
#: ../../.././print_ac.php:40
-#: ../../.././print_workorder.php:40
+#: ../../.././print_workorder.php:47
+#: ../../.././print_workorder2.php:49
msgid "Task force workorder"
msgstr "امر عمل مجموعة عمل"
#: ../../.././print_ac.php:56
-#: ../../.././print_workorder.php:64
-#: ../../.././Copy of include/i18n.php:121
-#: ../../.././include/i18n.php:121
+#: ../../.././print_workorder.php:71
+#: ../../.././print_workorder.php:288
+#: ../../.././print_workorder2.php:73
+#: ../../.././print_workorder2.php:291
msgid "German Technical Cooperation-GTZ"
msgstr "الوكالة الالمانية للتعاون الفني- GTZ"
#: ../../.././print_ac.php:57
-#: ../../.././print_workorder.php:65
-#: ../../.././Copy of include/i18n.php:122
-#: ../../.././include/i18n.php:122
+#: ../../.././print_workorder.php:72
+#: ../../.././print_workorder.php:289
+#: ../../.././print_workorder2.php:74
+#: ../../.././print_workorder2.php:292
msgid "Institutional Support to Aleppo Water establishment"
msgstr "مشروع تحديث قطاع المياه السوري-حلب"
@@ -1431,9 +1310,10 @@
msgstr "توثيق العنوان الجغرافي للمشترك الجديد (AC)"
#: ../../.././print_ac.php:62
-#: ../../.././print_workorder.php:72
-#: ../../.././Copy of include/i18n.php:134
-#: ../../.././include/i18n.php:134
+#: ../../.././print_workorder.php:79
+#: ../../.././print_workorder.php:295
+#: ../../.././print_workorder2.php:81
+#: ../../.././print_workorder2.php:298
msgid "Date:"
msgstr "التاريخ:"
@@ -1484,266 +1364,232 @@
msgstr "اسم المشترك الجديد:"
# c:\program
-#: ../../.././print_ac.php:126
+#: ../../.././print_ac.php:146
msgid "File No.:"
msgstr "رقم الملف:"
-#: ../../.././print_workorder.php:69
-#: ../../.././Copy of include/i18n.php:114
-#: ../../.././include/i18n.php:114
+#: ../../.././print_workorder.php:76
+#: ../../.././print_workorder2.php:78
msgid "Task force - "
msgstr "مجموعة عمل - "
-#: ../../.././print_workorder.php:69
-msgid "label"
-msgstr ""
-
-#: ../../.././print_workorder.php:70
+#: ../../.././print_workorder.php:77
+#: ../../.././print_workorder2.php:79
msgid "of"
msgstr "من"
-#: ../../.././print_workorder.php:117
+#: ../../.././print_workorder.php:124
+#: ../../.././print_workorder2.php:126
msgid "Finish date:"
msgstr "تاريخ الانتهاء:"
-#: ../../.././print_workorder.php:118
+#: ../../.././print_workorder.php:125
+#: ../../.././print_workorder2.php:127
msgid "Responsible name:"
msgstr "اسم الموظف المسؤول:"
# D:\dccss\dccss/logbook_report.php:90
-#: ../../.././print_workorder.php:119
+#: ../../.././print_workorder.php:126
+#: ../../.././print_workorder2.php:128
msgid "Signiture:"
msgstr "التوقيع:"
-#: ../../.././print_workorder.php:224
+#: ../../.././print_workorder.php:197
+#: ../../.././print_workorder2.php:199
msgid "Check"
msgstr "فحص"
# c:\program
-#: ../../.././print_workorder.php:225
-#: ../../.././Copy of include/i18n.php:127
-#: ../../.././include/i18n.php:127
+#: ../../.././print_workorder.php:198
+#: ../../.././print_workorder2.php:200
msgid "Billing"
msgstr "الفواتير"
# c:\program
-#: ../../.././print_workorder.php:225
-#: ../../.././Copy of include/i18n.php:128
-#: ../../.././include/i18n.php:128
+#: ../../.././print_workorder.php:198
+#: ../../.././print_workorder2.php:200
msgid "Meter readings unit"
msgstr "شعبة التأشيرات"
# c:\program
-#: ../../.././print_workorder.php:226
-#: ../../.././Copy of include/i18n.php:129
-#: ../../.././include/i18n.php:129
+#: ../../.././print_workorder.php:199
+#: ../../.././print_workorder2.php:201
msgid "Meter Archiving"
msgstr "شعبة حركة العدادات"
# c:\program
-#: ../../.././print_workorder.php:226
-#: ../../.././Copy of include/i18n.php:130
-#: ../../.././include/i18n.php:130
+#: ../../.././print_workorder.php:199
+#: ../../.././print_workorder2.php:201
msgid "Subscription Archiving"
msgstr "شعبة الاشتراكات"
-#: ../../.././print_workorder.php:227
-#: ../../.././Copy of include/i18n.php:131
-#: ../../.././include/i18n.php:131
+#: ../../.././print_workorder.php:200
+#: ../../.././print_workorder2.php:202
msgid "Field check"
msgstr "الكشف الميداني"
-#: ../../.././print_workorder.php:227
-#: ../../.././Copy of include/i18n.php:132
-#: ../../.././include/i18n.php:132
+#: ../../.././print_workorder.php:200
+#: ../../.././print_workorder2.php:202
msgid "Billing data update"
msgstr "تحديث معلومات الفواتير"
-#: ../../.././print_workorder.php:228
-#: ../../.././Copy of include/i18n.php:133
-#: ../../.././include/i18n.php:133
+#: ../../.././print_workorder.php:201
+#: ../../.././print_workorder2.php:203
msgid "CSS data update"
msgstr "تحديث معلومات المسح الميداني"
# c:\program
-#: ../../.././print_workorder.php:230
-#: ../../.././Copy of
-#: include/dataobject/Public_bill.php:32
-#: include/dataobject/Public_subscriber.php:202
-#: ../../.././include/dataobject/Public_bill.php:32
-#: ../../.././include/dataobject/Public_subscriber.php:202
+#: ../../.././print_workorder.php:203
+#: ../../.././print_workorder2.php:205
msgid "Logbook"
msgstr "رقم المجلد"
# c:\program
-#: ../../.././print_workorder.php:235
-#: ../../.././Copy of
-#: include/dataobject/Public_bill.php:36
-#: include/dataobject/Public_subscriber.php:206
-#: ../../.././include/dataobject/Public_bill.php:36
-#: ../../.././include/dataobject/Public_subscriber.php:206
+#: ../../.././print_workorder.php:208
+#: ../../.././print_workorder2.php:210
msgid "Sequence"
msgstr "رقم التخصيص "
# c:\program
-#: ../../.././print_workorder.php:240
-#: ../../.././Copy of
-#: include/dataobject/Public_bill.php:37
-#: include/dataobject/Public_subscriber.php:207
-#: ../../.././include/dataobject/Public_bill.php:37
-#: ../../.././include/dataobject/Public_subscriber.php:207
+#: ../../.././print_workorder.php:213
+#: ../../.././print_workorder2.php:215
msgid "Subsequence"
msgstr "رقم التخصيص الفرعي"
# c:\program
-#: ../../.././print_workorder.php:245
-#: ../../.././Copy of
-#: include/dataobject/Public_bill.php:34
-#: include/dataobject/Public_subscriber.php:204
-#: ../../.././include/dataobject/Public_bill.php:34
-#: ../../.././include/dataobject/Public_subscriber.php:204
-#: ../../.././include/dcmms/include/i18n.php:201
+#: ../../.././print_workorder.php:218
+#: ../../.././print_workorder2.php:220
msgid "Name"
msgstr "اسم المشترك"
# c:\program
-#: ../../.././print_workorder.php:250
-#: ../../.././Copy of include/i18n.php:125
-#: ../../.././include/i18n.php:125
+#: ../../.././print_workorder.php:223
+#: ../../.././print_workorder2.php:225
msgid "Serial number"
msgstr "رقم العداد"
# c:\program
-#: ../../.././print_workorder.php:255
-#: ../../.././Copy of include/i18n.php:126
-#: ../../.././include/i18n.php:126
+#: ../../.././print_workorder.php:228
+#: ../../.././print_workorder2.php:230
msgid "Subscription number"
msgstr "رقم الاشتراك"
-# c:\program
-#: ../../.././query.php:45
-msgid "Bill"
-msgstr "الفواتير"
+# e:\program
+#: ../../.././print_workorder.php:271
+#: ../../.././print_workorder2.php:274
+#, fuzzy
+msgid "Route Map"
+msgstr "اعادة رسم الخريطة"
+#: ../../.././print_workorder.php:293
+#: ../../.././print_workorder2.php:296
+msgid "Route Printing"
+msgstr ""
+
# e:\program
-#: ../../.././query.php:45
+#: ../../.././query.php:44
msgid "Subscriber"
msgstr "المشتركين"
# c:\program
-#: ../../.././query.php:48
+#: ../../.././query.php:47
msgid "Query Using Subscriber Information"
msgstr "الاستعلام باستخدام معلومات المشتركين"
# e:\program
-#: ../../.././query.php:49
+#: ../../.././query.php:48
msgid "Table:"
msgstr "اسم الجدول:"
# c:\program
-#: ../../.././query.php:50
+#: ../../.././query.php:49
msgid "Enter Search Value:"
msgstr "ابحث عن"
# c:\program
-#: ../../.././query.php:52
+#: ../../.././query.php:51
msgid "Query DeliverPoint Number"
msgstr "االاستفسار باستخدام نقطة الوصل"
-#: ../../.././query.php:53
+#: ../../.././query.php:52
msgid "Baracode(PNR)"
msgstr "رقم الباركود"
# c:\program
-#: ../../.././query.php:54
+#: ../../.././query.php:53
msgid "Query Meter Number"
msgstr "الاستفسار باستخدام الرقم الحديدي للعداد"
# c:\program
-#: ../../.././query.php:55
+#: ../../.././query.php:54
msgid "Query Subscriber Number"
msgstr "الاستفسار باستخدام رقم الاشتراك"
# c:\program
-#: ../../.././query.php:56
+#: ../../.././query.php:55
msgid "Query Subscriber name"
msgstr "الاستفسار باستخدام اسم المشترك"
# c:\program
-#: ../../.././query.php:57
+#: ../../.././query.php:56
msgid "Query Meter cabinet"
msgstr "الاستفسار باستخدام رقم الكابينة"
# e:\program
-#: ../../.././query.php:58
+#: ../../.././query.php:57
msgid "Query Landmark"
msgstr "البحث باستخدام معلم"
-#: ../../.././query.php:62
-#: ../../.././include/dcmms/include/i18n.php:351
-#: ../../.././include/dcmms/include/i18n.php:352
+#: ../../.././query.php:61
msgid "Area:"
msgstr "المنطقة:"
-#: ../../.././query.php:63
+#: ../../.././query.php:62
msgid "Narrow down the area in which to search for points of interest."
msgstr ""
# e:\program
-#: ../../.././query.php:67
-#: ../../.././query.php:77
-#: ../../.././query.php:83
-#: ../../.././query.php:90
-#: ../../.././query.php:96
-#: ../../.././Copy of
-#: include/header.php:306
-#: ../../.././include/header.php:306
-#: ../../.././include/dcmms/include/dcmmsreport.php:119
+#: ../../.././query.php:66
+#: ../../.././query.php:76
+#: ../../.././query.php:82
+#: ../../.././query.php:89
+#: ../../.././query.php:95
msgid "[Select One]"
msgstr "[اختر واحدة]"
# e:\program
-#: ../../.././query.php:105
+#: ../../.././query.php:104
msgid "Search The Database"
msgstr "البحث في قاعدة البيانات"
# e:\program
-#: ../../.././query.php:192
+#: ../../.././query.php:201
+#: ../../.././query.php:243
msgid "Landmark Name"
msgstr "اسم المعلم"
# c:\program
-#: ../../.././query.php:193
+#: ../../.././query.php:202
+#: ../../.././query.php:244
msgid "Administrative Area"
msgstr "المنطقة"
# c:\program
-#: ../../.././query.php:194
-#: ../../.././include/dcmms/include/i18n.php:326
+#: ../../.././query.php:203
+#: ../../.././query.php:245
msgid "Village"
msgstr "القرية"
# e:\program
-#: ../../.././query.php:195
-#: ../../.././Copy of include/header.php:445
-#: include/i18n.php:24
-#: include/dataobject/Public_bill.php:38
-#: include/dataobject/Public_subscriber.php:208
-#: ../../.././include/header.php:445
-#: ../../.././include/i18n.php:24
-#: ../../.././include/dataobject/Public_bill.php:38
-#: ../../.././include/dataobject/Public_subscriber.php:208
-#: ../../.././include/dcmms/include/i18n.php:26
-#: ../../.././include/dcmms/include/dataobject/Translation.php:111
+#: ../../.././query.php:204
+#: ../../.././query.php:246
msgid "Action"
msgstr "العملية"
# D:\dccss\dccss/deliverypointpage.php:107
# D:\dccss\dccss/deliverypointpage.php:138
-#: ../../.././query.php:204
-#: ../../.././Copy of
-#: include/dataobject/Public_subscriber.php:224
-#: ../../.././include/dataobject/Public_subscriber.php:224
+#: ../../.././query.php:213
+#: ../../.././query.php:255
msgid "[View on Map]"
msgstr "[اظهار على الخريطة]"
@@ -1774,8 +1620,6 @@
# c:\program
#: ../../.././reports.php:41
-#: ../../.././Copy of include/i18n.php:88
-#: ../../.././include/i18n.php:88
msgid "Damaged Meter Status Report"
msgstr "تقرير العدادات المحطمة"
@@ -1786,8 +1630,6 @@
# c:\program
#: ../../.././reports.php:44
-#: ../../.././Copy of include/i18n.php:89
-#: ../../.././include/i18n.php:89
msgid "Not Working Meter Status Report"
msgstr "تقرير العدادات المعطلة"
@@ -1798,8 +1640,6 @@
# c:\program
#: ../../.././reports.php:47
-#: ../../.././Copy of include/i18n.php:90
-#: ../../.././include/i18n.php:90
msgid "Reversed Meter Status Report"
msgstr "تقرير العدادات المعكوسة"
@@ -1810,8 +1650,6 @@
# c:\program
#: ../../.././reports.php:50
-#: ../../.././Copy of include/i18n.php:91
-#: ../../.././include/i18n.php:91
msgid "Turnedover Meter Status Report"
msgstr "تقرير العدادات المقلوبة"
@@ -1860,9 +1698,6 @@
# c:\program
#: ../../.././reports.php:68
#: ../../.././reports.php:69
-#: ../../.././Copy of
-#: include/i18n.php:120
-#: ../../.././include/i18n.php:120
msgid "DCCSS Task force Report"
msgstr "تقرير DCCSS لمجموعات العمل "
@@ -2040,7 +1875,8 @@
# c:\program
#: ../../.././surveyor_report.php:50
-msgid "Surveyors performance report for the period from"
+#, fuzzy
+msgid "Surveyors performance report for the period from\t\t"
msgstr "تقرير اداء المساحين للفترة من"
# e:\program
@@ -2084,22 +1920,16 @@
msgstr "عدادات محطمة - TF8"
#: ../../.././taskforce_report.php:61
-#: ../../.././Copy of include/i18n.php:116
-#: ../../.././include/i18n.php:116
msgid "Select task force type:"
msgstr "اختر نوع مجموعة العمل:"
#: ../../.././taskforce_report.php:64
#: ../../.././taskforce_report.php:85
-#: ../../.././Copy of include/i18n.php:119
-#: ../../.././include/i18n.php:119
msgid "Create Task force list"
msgstr "انشاء قائمة مجموعة عمل"
#: ../../.././taskforce_report.php:65
#: ../../.././taskforce_report.php:101
-#: ../../.././Copy of include/i18n.php:118
-#: ../../.././include/i18n.php:118
msgid "Print Task force maps"
msgstr "طباعة خرائط مجموعات العمل"
@@ -2134,7 +1964,6 @@
# e:\program
#: ../../.././admin/bill_loader.php:98
#: ../../.././admin/shapefile_loader.php:285
-#: ../../.././include/dcmms/include/i18n.php:171
msgid "Load file"
msgstr "تحميل الملف"
@@ -2257,16 +2086,18 @@
msgid "Please Select the processing type from the list."
msgstr "الرجاء اختيار نوع عملية المعالجة من القائمة"
+# e:\program
+#: ../../.././admin/processing.php:33
+#, fuzzy
+msgid "Select One"
+msgstr "[اختر واحدة]"
+
# c:\program
#: ../../.././admin/processing.php:33
-#: ../../.././Copy of include/i18n.php:139
-#: ../../.././include/i18n.php:139
msgid "Generate route information"
msgstr "توليد معلومات المسار"
#: ../../.././admin/processing.php:34
-#: ../../.././Copy of include/i18n.php:140
-#: ../../.././include/i18n.php:140
msgid "Create line connection between meter cabinet and deliverypoints"
msgstr "انشاء الوصلات بين نقاط التوصيل و غرف العدادات الجماعية التي تحتوي عداداتها"
@@ -2288,15 +2119,15 @@
msgid "Please enter the value to be processed."
msgstr "ادخل قيمة المعالجة"
-#: ../../.././admin/processing.php:44
-msgid "Please enter the processing value or enter 0 to process all data."
-msgstr "الرجاء ادخال القيمة المرغوب بمعالجتها او ادخل صفر لمعالجة جميع البيانات"
+#: ../../.././admin/processing.php:68
+msgid "The logbook should be number, You passed text"
+msgstr ""
-#: ../../.././admin/processing.php:70
+#: ../../.././admin/processing.php:75
msgid "Data processing is done."
msgstr "تمت معالجة البيانات."
-#: ../../.././admin/processing.php:73
+#: ../../.././admin/processing.php:78
msgid "Failed to process the data."
msgstr "لم تتم عملية المعالجة بنجاح"
@@ -2480,78 +2311,64 @@
msgid "Update Translations"
msgstr "تحديث الترجمه"
-#: ../../.././conf/dccssconfig.php:115
+#: ../../.././conf/dccssconfig.php:111
msgid "11"
msgstr ""
-#: ../../.././conf/dccssconfig.php:115
+#: ../../.././conf/dccssconfig.php:111
msgid "12"
msgstr ""
-#: ../../.././conf/dccssconfig.php:116
+#: ../../.././conf/dccssconfig.php:112
msgid "1"
msgstr ""
-#: ../../.././conf/dccssconfig.php:116
+#: ../../.././conf/dccssconfig.php:112
msgid "2"
msgstr ""
-#: ../../.././conf/dccssconfig.php:121
-#: ../../.././Copy of include/i18n.php:111
+#: ../../.././conf/dccssconfig.php:117
#: ../../.././include/i18n.php:111
msgid "Illegal"
msgstr "وصله غير نظامية"
# c:\program
-#: ../../.././conf/dccssconfig.php:122
+#: ../../.././conf/dccssconfig.php:118
msgid "Miss placed - wrong logbook number"
msgstr "مشترك على المسار مع رقم مجلد خطأ"
-#: ../../.././conf/dccssconfig.php:123
+#: ../../.././conf/dccssconfig.php:119
msgid "Miss placed - wrong collection area"
msgstr "مشترك في منطقة جباية خطأ"
-#: ../../.././conf/dccssconfig.php:124
+#: ../../.././conf/dccssconfig.php:120
msgid "Routed and zero consumption"
msgstr "مشترك على المسار مع كمية استهلاك صفر"
-#: ../../.././conf/dccssconfig.php:125
+#: ../../.././conf/dccssconfig.php:121
msgid "Not Routed and zero consumption-Unkown"
msgstr "مشترك ليس على المسار مع كمية استهلاك صفر"
# c:\program
-#: ../../.././conf/dccssconfig.php:126
-#: ../../.././Copy of include/i18n.php:37
+#: ../../.././conf/dccssconfig.php:122
#: ../../.././include/i18n.php:37
msgid "Damaged"
msgstr "محطم"
# e:\program
-#: ../../.././Copy of include/dccsspage.php:199
-#: include/dcmpostgis.php:30
#: ../../.././include/dccsspage.php:199
#: ../../.././include/dcmpostgis.php:30
-#: ../../.././include/dcmms/include/dcmmspage.php:208
msgid "FATAL ERROR: Not logged on!"
msgstr "خطأ: لم يتم الدخول الى النظام"
# e:\program
-#: ../../.././Copy of include/dccsspage.php:202
-#: include/dcmpostgis.php:31
-#: include/dcmpostgis.php:52
#: ../../.././include/dccsspage.php:202
#: ../../.././include/dcmpostgis.php:31
#: ../../.././include/dcmpostgis.php:52
-#: ../../.././include/dcmms/include/dcmmspage.php:211
msgid "Logon"
msgstr "الدخول الى النظام"
# c:\program
-#: ../../.././Copy of include/dccsspage.php:281
-#: include/dccsspage.php:285
-#: include/header.php:164
-#: include/header.php:168
-#: include/i18n.php:72
#: ../../.././include/dccsspage.php:281
#: ../../.././include/dccsspage.php:285
#: ../../.././include/header.php:164
@@ -2561,258 +2378,197 @@
msgstr "برنامج المسح الشامل للمشتركين"
# c:\program
-#: ../../.././Copy of include/dccsspage.php:284
-#: include/header.php:167
#: ../../.././include/dccsspage.php:284
#: ../../.././include/header.php:167
msgid "Click this link to go to the DCCSS main page."
msgstr "انقر من اجل الذهاب الى الصفحة الرئيسية."
# c:\program
-#: ../../.././Copy of include/dccsspage.php:290
-#: include/header.php:173
#: ../../.././include/dccsspage.php:290
#: ../../.././include/header.php:173
-#: ../../.././include/dcmms/include/dcmmspage.php:298
msgid "Search"
msgstr "بحث"
# e:\program
-#: ../../.././Copy of include/dccsspage.php:294
-#: include/header.php:177
#: ../../.././include/dccsspage.php:294
#: ../../.././include/header.php:177
msgid "Go to Delivery Point data entry form by ID"
msgstr "البحث عن نقطة المدخل باستخدام رقم التعريف"
# c:\program
-#: ../../.././Copy of include/dccsspage.php:322
-#: include/header.php:205
#: ../../.././include/dccsspage.php:322
#: ../../.././include/header.php:205
-#: ../../.././include/dcmms/include/dcmmspage.php:339
-#: ../../.././include/dcmms/include/i18n.php:159
msgid "Language: "
msgstr "اللغة:"
# c:\program
-#: ../../.././Copy of include/dccsspage.php:325
-#: include/header.php:208
#: ../../.././include/dccsspage.php:325
#: ../../.././include/header.php:208
msgid "Select the language in which the DCCSS pages are displayed."
msgstr "اختر لغة واجهة التطبيق."
# c:\program
-#: ../../.././Copy of include/dccsspage.php:326
-#: include/header.php:209
#: ../../.././include/dccsspage.php:326
#: ../../.././include/header.php:209
-#: ../../.././include/dcmms/include/dcmmspage.php:346
msgid "Next, click the "Select" button."
msgstr ""
# e:\program
-#: ../../.././Copy of include/dccsspage.php:349
-#: include/header.php:232
#: ../../.././include/dccsspage.php:349
#: ../../.././include/header.php:232
-#: ../../.././include/dcmms/include/dcmmspage.php:366
msgid "Click this button after selecting a language."
msgstr "اضغط على هذا الزر بعد اختيار اللغة."
# c:\program
-#: ../../.././Copy of include/dccsspage.php:352
-#: include/header.php:235
#: ../../.././include/dccsspage.php:352
#: ../../.././include/header.php:235
-#: ../../.././include/dcmms/include/dcmmspage.php:367
msgid "Select"
msgstr "اختيار"
# e:\program
-#: ../../.././Copy of include/dccsspage.php:354
-#: include/dccsspage.php:360
-#: include/header.php:237
-#: include/header.php:243
#: ../../.././include/dccsspage.php:354
#: ../../.././include/dccsspage.php:360
#: ../../.././include/header.php:237
#: ../../.././include/header.php:243
-#: ../../.././include/dcmms/include/dcmmspage.php:370
-#: ../../.././include/dcmms/include/dcmmspage.php:376
-#: ../../.././include/dcmms/include/i18n.php:145
msgid "Help"
msgstr "المساعدة"
# e:\program
-#: ../../.././Copy of include/dccsspage.php:359
-#: include/header.php:242
#: ../../.././include/dccsspage.php:359
#: ../../.././include/header.php:242
msgid "Click this link to view related information in the DCCSS user manual."
msgstr "اضغط على الراطة من اجل اظهار معلومات المساعدة في دليل المستخدم."
# c:\program
-#: ../../.././Copy of include/dccsspage.php:362
-#: include/dccsspage.php:366
-#: include/header.php:245
-#: include/header.php:249
#: ../../.././include/dccsspage.php:362
#: ../../.././include/dccsspage.php:366
#: ../../.././include/header.php:245
#: ../../.././include/header.php:249
-#: ../../.././include/dcmms/include/dcmmspage.php:379
-#: ../../.././include/dcmms/include/dcmmspage.php:383
-#: ../../.././include/dcmms/include/i18n.php:176
msgid "Logoff"
msgstr "خروج"
# c:\program
-#: ../../.././Copy of include/dccsspage.php:365
-#: include/header.php:248
#: ../../.././include/dccsspage.php:365
#: ../../.././include/header.php:248
msgid "Click this link to exit the DCCSS application."
msgstr "اضغط على الرابطة من اجل الخروج من البرنامج."
# e:\program
-#: ../../.././Copy of include/dccsspage.php:398
#: ../../.././include/dccsspage.php:398
msgid "Copyright (c) 2005,2006 DORSCH Consult. "
msgstr "حقوق الطبع محفوظة DORSCH Consult. 2005,2006"
# e:\program
-#: ../../.././Copy of include/dccsspage.php:399
#: ../../.././include/dccsspage.php:399
msgid "Last modified "
msgstr "اخر تعديل"
# e:\program
-#: ../../.././Copy of include/dccsspage.php:478
#: ../../.././include/dccsspage.php:478
msgid "This page is for DCCSS administrators only."
msgstr "هذه الصفحة من اجل الاداري فقط."
# c:\program
-#: ../../.././Copy of include/dccsspage.php:522
#: ../../.././include/dccsspage.php:522
-#: ../../.././include/dcmms/include/i18n.php:225
msgid "Pending"
msgstr ""
# c:\program
-#: ../../.././Copy of include/dccsspage.php:524
#: ../../.././include/dccsspage.php:524
-#: ../../.././include/dcmms/include/i18n.php:65
msgid "Completed"
msgstr ""
# c:\program
-#: ../../.././Copy of include/dccsspage.php:526
#: ../../.././include/dccsspage.php:526
#, php-format
msgid "Workorder #%s"
msgstr ""
# e:\program
-#: ../../.././Copy of include/dcmmap.php:607
-#: ../../.././include/dcmmap.php:607
-#: ../../.././include/dcmms/include/dcmmap.php:577
+#: ../../.././include/dcmmap.php:623
msgid "Nothing was found at this location."
msgstr "لم يتم ايجاد شيء في هذا الموقع"
# e:\program
-#: ../../.././Copy of include/dcmmaputil.php:243
#: ../../.././include/dcmmaputil.php:243
-#: ../../.././include/dcmms/include/dcmmaputil.php:244
+#: ../../.././include/dcmmaputil.php:472
msgid "Accept Move"
msgstr "قبول التحريك"
# e:\program
-#: ../../.././Copy of include/dcmmaputil.php:252
#: ../../.././include/dcmmaputil.php:252
-#: ../../.././include/dcmms/include/dcmmaputil.php:253
+#: ../../.././include/dcmmaputil.php:481
msgid "Cancel Move"
msgstr "الغاء التحريك"
# e:\program
-#: ../../.././Copy of include/dcmmaputil.php:259
#: ../../.././include/dcmmaputil.php:259
-#: ../../.././include/dcmms/include/dcmmaputil.php:256
msgid "[Edit"
msgstr "[تعديل]"
# e:\program
-#: ../../.././Copy of include/dcmmaputil.php:268
#: ../../.././include/dcmmaputil.php:268
-#: ../../.././include/dcmms/include/dcmmaputil.php:264
+#: ../../.././include/dcmmaputil.php:497
msgid "Move"
msgstr "تحريك"
# c:\program
-#: ../../.././Copy of include/dcmmaputil.php:277
#: ../../.././include/dcmmaputil.php:277
-#: ../../.././include/dcmms/include/dataobject/Landmark.php:113
+#: ../../.././include/dcmmaputil.php:506
msgid "Delete"
msgstr "حذف"
# e:\program
-#: ../../.././Copy of include/dcmmaputil.php:281
#: ../../.././include/dcmmaputil.php:281
-#: ../../.././include/dcmms/include/dcmmaputil.php:268
+#: ../../.././include/dcmmaputil.php:510
msgid "[View]"
msgstr "[معاينة]"
# c:\program
-#: ../../.././Copy of include/dcmmspear.php:104
+#: ../../.././include/dcmmaputil.php:420
+#: ../../.././include/i18n.php:68
+#: ../../.././include/dataobject/Public_deliverypoint.php:148
+msgid "Meter Cabinet"
+msgstr "كابينة المؤسسة"
+
+# c:\program
+#: ../../.././include/dcmmaputil.php:457
+#: ../../.././include/dcmmaputil.php:458
+msgid "Meter cabinet"
+msgstr "كابينة المؤسسة"
+
+# c:\program
#: ../../.././include/dcmmspear.php:104
msgid "Next >>"
msgstr ""
# c:\program
-#: ../../.././Copy of include/dcmmspear.php:105
#: ../../.././include/dcmmspear.php:105
msgid "<< Back"
msgstr ""
# e:\program
-#: ../../.././Copy of include/dcmmspear.php:118
-#: ../../.././include/dcmmspear.php:118
-#: ../../.././include/dcmms/include/i18n.php:122
-#: ../../.././include/dcmms/include/i18n.php:202
-msgid "name"
-msgstr "اسم المشترك"
-
-# e:\program
-#: ../../.././Copy of include/dcmmspear.php:134
#: ../../.././include/dcmmspear.php:134
#, php-format
msgid "Displaying [%s - %s] of %s"
msgstr ""
# e:\program
-#: ../../.././Copy of include/header.php:269
#: ../../.././include/header.php:269
msgid "Copyright (c) 2005,2006 DORSCH Consult"
msgstr "حقوق الطبع محفوظة DORSCH Consult. 2005,2006"
# c:\program
-#: ../../.././Copy of include/header.php:293
#: ../../.././include/header.php:293
msgid "Please choose the"
msgstr "الرجاء الاختيار"
# e:\program
-#: ../../.././Copy of include/header.php:294
#: ../../.././include/header.php:294
msgid "from the list"
msgstr "من القائمة"
# c:\program
-#: ../../.././Copy of include/header.php:350
-#: include/header.php:363
-#: include/header.php:400
#: ../../.././include/header.php:350
#: ../../.././include/header.php:363
#: ../../.././include/header.php:400
@@ -2820,9 +2576,6 @@
msgstr "الرجاء ادخال"
# e:\program
-#: ../../.././Copy of include/header.php:351
-#: include/header.php:364
-#: include/header.php:401
#: ../../.././include/header.php:351
#: ../../.././include/header.php:364
#: ../../.././include/header.php:401
@@ -2830,880 +2583,717 @@
msgstr "الى مربع النص"
# e:\program
-#: ../../.././Copy of include/header.php:472
#: ../../.././include/header.php:472
msgid "Please click the link to go to the "
msgstr "الرجاء الضغط على الرابطة من اجل الذهاب الى"
# e:\program
-#: ../../.././Copy of include/header.php:474
#: ../../.././include/header.php:474
msgid "Please click the link to View related information "
msgstr "الرجاء الضغط على الرابطة من اجل اظهار المعلومات المتعلقة"
# c:\program
-#: ../../.././Copy of include/i18n.php:26
-#: include/dataobject/Public_deliverypoint.php:151
-#: include/dataobject/Public_deliverypoint.php:152
-#: include/dataobject/Public_deliverypoint.php:154
#: ../../.././include/i18n.php:26
#: ../../.././include/dataobject/Public_deliverypoint.php:151
#: ../../.././include/dataobject/Public_deliverypoint.php:152
#: ../../.././include/dataobject/Public_deliverypoint.php:154
-#: ../../.././include/dcmms/include/i18n.php:312
msgid "Unknown"
msgstr "غير معروف"
# c:\program
-#: ../../.././Copy of include/i18n.php:28
#: ../../.././include/i18n.php:28
msgid "Chinese"
msgstr "صيني"
# c:\program
-#: ../../.././Copy of include/i18n.php:29
#: ../../.././include/i18n.php:29
msgid "Defence Factories"
msgstr "معامل الدفاع"
# c:\program
-#: ../../.././Copy of include/i18n.php:30
#: ../../.././include/i18n.php:30
msgid "French"
msgstr "فرنسي"
# c:\program
-#: ../../.././Copy of include/i18n.php:31
#: ../../.././include/i18n.php:31
#, fuzzy
msgid "Major Leakage"
msgstr "يوجد تسرب:"
# c:\program
-#: ../../.././Copy of include/i18n.php:32
#: ../../.././include/i18n.php:32
#, fuzzy
msgid "Minor Leakage"
msgstr "يوجد تسرب:"
-#: ../../.././Copy of include/i18n.php:33
#: ../../.././include/i18n.php:33
msgid "No Leak"
msgstr ""
# c:\program
-#: ../../.././Copy of include/i18n.php:34
#: ../../.././include/i18n.php:34
msgid "Barrel"
msgstr "برميل"
# c:\program
-#: ../../.././Copy of include/i18n.php:35
#: ../../.././include/i18n.php:35
msgid "Cubic Meter"
msgstr "مترمكعب"
# c:\program
-#: ../../.././Copy of include/i18n.php:36
#: ../../.././include/i18n.php:36
msgid "Liter"
msgstr "ليتر"
# c:\program
-#: ../../.././Copy of include/i18n.php:38
#: ../../.././include/i18n.php:38
msgid "Disconnected"
msgstr "مفصول"
# c:\program
-#: ../../.././Copy of include/i18n.php:39
#: ../../.././include/i18n.php:39
msgid "Reversed"
msgstr "معكوس"
# c:\program
-#: ../../.././Copy of include/i18n.php:40
#: ../../.././include/i18n.php:40
msgid "Turned Over"
msgstr "مائل"
# c:\program
-#: ../../.././Copy of include/i18n.php:41
#: ../../.././include/i18n.php:41
msgid "Working"
msgstr "عامل"
# c:\program
-#: ../../.././Copy of include/i18n.php:44
#: ../../.././include/i18n.php:44
msgid "Governmental"
msgstr "دوائر رسمية"
# e:\program
-#: ../../.././Copy of include/i18n.php:46
#: ../../.././include/i18n.php:46
-#: ../../.././include/dcmms/include/i18n.php:148
msgid "Hotel"
msgstr "فندق"
# c:\program
-#: ../../.././Copy of include/i18n.php:47
#: ../../.././include/i18n.php:47
msgid "Public Park"
msgstr "حديقة عامة"
# c:\program
-#: ../../.././Copy of include/i18n.php:48
#: ../../.././include/i18n.php:48
msgid "Religious Site"
msgstr "دور عبادة"
# c:\program
-#: ../../.././Copy of include/i18n.php:49
#: ../../.././include/i18n.php:49
msgid "Restaurant"
msgstr "مطعم"
# c:\program
-#: ../../.././Copy of include/i18n.php:50
#: ../../.././include/i18n.php:50
msgid "Sport Center"
msgstr "مركز ريا...
[truncated message content] |
|
From: <mah...@us...> - 2010-05-10 08:50:40
|
Revision: 374
http://dccss.svn.sourceforge.net/dccss/?rev=374&view=rev
Author: maher_karim
Date: 2010-05-10 08:50:33 +0000 (Mon, 10 May 2010)
Log Message:
-----------
2010-05-10 Maher Abdel karim <mah...@do...>
* print_workorder.php:
* query.php: adjust queries
* etc/symbols.sym:update symbols
* imgages/*.png: update gtz image
* admin/shapefile_dumper.php:fix return value
Modified Paths:
--------------
branches/ms4w/apps/dccss/admin/shapefile_dumper.php
branches/ms4w/apps/dccss/changelog
branches/ms4w/apps/dccss/conf/dccss_pewssa_ar.map
branches/ms4w/apps/dccss/conf/dccss_pewssa_en.map
branches/ms4w/apps/dccss/etc/symbols.sym
branches/ms4w/apps/dccss/images/gtz.PNG
branches/ms4w/apps/dccss/print_workorder.php
branches/ms4w/apps/dccss/query.php
Modified: branches/ms4w/apps/dccss/admin/shapefile_dumper.php
===================================================================
--- branches/ms4w/apps/dccss/admin/shapefile_dumper.php 2009-08-05 09:47:03 UTC (rev 373)
+++ branches/ms4w/apps/dccss/admin/shapefile_dumper.php 2010-05-10 08:50:33 UTC (rev 374)
@@ -103,7 +103,7 @@
//echo($strCommand);
$strResult = system($strCommand, $intReturnValue);
$blnSuccess = false;
- if($intReturnValue == 1) {
+ if($intReturnValue == 0) {
$strCommand = "@echo off & \"".$_SESSION["strZipCommand"].
"\" -j -9 -m \"".
$_SESSION["strMsTmpDirectory"].
@@ -113,7 +113,7 @@
$strTable.".dbf\"";
//echo($strCommand);
$strResult = system($strCommand, $intReturnValue);
- //echo($intReturnValue);
+ //zecho($intReturnValue);
if($intReturnValue == 0) {
$blnSuccess = true;
}
Modified: branches/ms4w/apps/dccss/changelog
===================================================================
--- branches/ms4w/apps/dccss/changelog 2009-08-05 09:47:03 UTC (rev 373)
+++ branches/ms4w/apps/dccss/changelog 2010-05-10 08:50:33 UTC (rev 374)
@@ -1,3 +1,11 @@
+2010-05-10 Maher Abdel karim <mah...@do...>
+
+ * print_workorder.php:
+ * query.php: adjust queries
+ * etc/symbols.sym:update symbols
+ * imgages/*.png: update gtz image
+ * admin/shapefile_dumper.php:fix return value
+
2009-08-05 Maher Abdel karim <mah...@do...>
* script/create_views.sql: Update css_to_billing view creation code
Modified: branches/ms4w/apps/dccss/conf/dccss_pewssa_ar.map
===================================================================
--- branches/ms4w/apps/dccss/conf/dccss_pewssa_ar.map 2009-08-05 09:47:03 UTC (rev 373)
+++ branches/ms4w/apps/dccss/conf/dccss_pewssa_ar.map 2010-05-10 08:50:33 UTC (rev 374)
@@ -83,7 +83,6 @@
END #QUERYMAP
#Collection area boundaries.
-
LAYER #building
TRANSPARENCY 100
NAME 'building'
@@ -92,13 +91,13 @@
TOLERANCEUNITS pixels
connectiontype PostGIS
CONNECTION "dbname=dccss user=dccss password=dccss host=localhost"
- data "the_geom from building using SRID=-1"
+ data "the_geom from building using unique gid using SRID=-1"
HEADER 'header.html'
FOOTER 'footer.html'
LABELCACHE on
# TILEINDEX ''
# TILEITEM ''
- STATUS on
+ STATUS default
DEBUG false
TRANSFORM true
TYPE polygon
@@ -107,17 +106,18 @@
TEMPLATE 'template.html'
#RASTERFILL_STYLE_SOLID
STYLE
- COLOR 255 251 195
+ COLOR 238 232 205
BACKGROUNDCOLOR 255 255 255
END #STYLE
#OUTLINE SYMBOL
STYLE
- OUTLINECOLOR 0 0 0
+ # OUTLINECOLOR 0 0 0
SIZE 1
END
END #CLASS
END #LAYER
+
LAYER #landmark
TRANSPARENCY 100
NAME 'landmark'
@@ -125,7 +125,7 @@
TOLERANCE 3
TOLERANCEUNITS pixels
CONNECTIONTYPE postgis
- CONNECTION "dbname=dccss user=dummy password=dummy host=localhost"
+ CONNECTION "dbname=dccss user=dcmms password=dcmms host=localhost"
DATA "the_geom from (select the_geom as the_geom,str_reverse(shape_arabic(dcmmstranslation('ar',name))) as name,
gid from landmarkview) as landmarkview using unique gid using SRID=-1"
labelitem "name"
@@ -247,6 +247,7 @@
END
END #LAYER
+
# DeliveryPoint Layer
LAYER
CONNECTIONTYPE postgis
@@ -288,7 +289,7 @@
CLASS
NAME "Center Point"
#template "ttt_query.html"
- SYMBOL "SQUARE"
+ SYMBOL "flag"
SIZE 30
color 255 0 0
outlinecolor 255 255 255
@@ -299,19 +300,67 @@
END
TOLERANCE 15
END
+
+
layer
connectiontype PostGIS
- CONNECTION "dbname=dccss user=dummy password=dummy host=localhost"
- name "route"
+ CONNECTION "dbname=dccss user=dcmms password=dcmms host=localhost"
+ name "route_filter"
type line
status Off
labelitem "logbookno"
- DATA "the_geom from route"
+ DATA "the_geom from route using unique gid"
CLASS
NAME "route"
TEMPLATE 'template.html'
#PEN
STYLE
+ SIZE 3
+ COLOR 255 0 0
+ END #STYLE
+ END
+
+END
+
+layer
+ connectiontype PostGIS
+ CONNECTION "dbname=dccss user=dcmms password=dcmms host=localhost"
+ name "cabinet"
+ type point
+ status Off
+ labelitem "pewssaid"
+ DATA "the_geom from metercabinet using unique gid"
+ CLASS
+ NAME "route"
+ TEMPLATE 'template.html'
+
+ symbol "square"
+ SIZE 15
+ COLOR 255 0 0
+ label
+ color 38 119 38
+ position uc
+ font arial
+ type truetype
+ size 9
+ end
+ END
+
+END
+
+layer
+ connectiontype PostGIS
+ CONNECTION "dbname=dccss user=dcmms password=dcmms host=localhost"
+ name "route"
+ type line
+ status On
+ labelitem "logbookno"
+ DATA "the_geom from route using unique gid"
+ CLASS
+ NAME "route"
+ TEMPLATE 'template.html'
+ #PEN
+ STYLE
SIZE 30
COLOR 100 102 100
END #STYLE
@@ -332,6 +381,7 @@
END
+
LAYER #collection
TRANSPARENCY 100
NAME 'collection'
@@ -339,7 +389,7 @@
TOLERANCE 3
TOLERANCEUNITS pixels
CONNECTIONTYPE postgis
- CONNECTION "dbname=dccss user=dummy password=dummy host=localhost"
+ CONNECTION "dbname=dccss user=dcmms password=dcmms host=localhost"
DATA "the_geom from (select the_geom,str_reverse(shape_arabic(dcmmstranslation('ar',name))) as name,id from collect) as collection using unique id using SRID=-1)"
labelitem "name"
HEADER 'header.html'
@@ -364,6 +414,66 @@
END #CLASS
END #LAYER
+# Billing Observation Layer
+LAYER
+ CONNECTIONTYPE postgis
+ NAME Observation
+ TYPE POINT
+ STATUS DEFAULT
+ CONNECTION "dbname=dccss user=dccss password=dccss host=localhost"
+ DATA "the_geom from (select the_geom,observation,evaluation,decisionmatrix,
+ meterlocation,plotting.username from DeliveryPoint right outer join plotting on
+ deliverypoint.sequence=plotting.meterlocation where observation=1) as f
+ using unique meterlocation using SRID=-1"
+ CLASS
+ NAME 'Observation'
+ template "ttt_query.html"
+ SYMBOL 'O'
+ SIZE 20
+ color 255 0 0
+ END
+END # Layer
+
+# Billing Observation Layer
+LAYER
+ CONNECTIONTYPE postgis
+ NAME Evaluation
+ TYPE POINT
+ STATUS DEFAULT
+ CONNECTION "dbname=dccss user=dccss password=dccss host=localhost"
+ DATA "the_geom from (select the_geom,observation,evaluation,decisionmatrix,
+ meterlocation,plotting.username from DeliveryPoint right outer join plotting on
+ deliverypoint.sequence=plotting.meterlocation where evaluation=1) as f
+ using unique meterlocation using SRID=-1"
+ CLASS
+ NAME 'evaluation'
+ template "ttt_query.html"
+ SYMBOL "E"
+ SIZE 20
+ color 0 255 0
+ END
+END # Layer
+
+# Billing Observation Layer
+LAYER
+ CONNECTIONTYPE postgis
+ NAME Decisionmatrix
+ TYPE POINT
+ STATUS DEFAULT
+ CONNECTION "dbname=dccss user=dccss password=dccss host=localhost"
+ DATA "the_geom from (select the_geom,observation,evaluation,decisionmatrix,
+ meterlocation,plotting.username from DeliveryPoint right outer join plotting on
+ deliverypoint.sequence=plotting.meterlocation where decisionmatrix=1) as f
+ using unique meterlocation using SRID=-1"
+ CLASS
+ NAME 'DM'
+ template "ttt_query.html"
+ SYMBOL "flag"
+ SIZE 30
+ color 0 0 255
+ END
+END # Layer
+
END #MAP
Modified: branches/ms4w/apps/dccss/conf/dccss_pewssa_en.map
===================================================================
--- branches/ms4w/apps/dccss/conf/dccss_pewssa_en.map 2009-08-05 09:47:03 UTC (rev 373)
+++ branches/ms4w/apps/dccss/conf/dccss_pewssa_en.map 2010-05-10 08:50:33 UTC (rev 374)
@@ -88,8 +88,8 @@
TOLERANCE 3
TOLERANCEUNITS pixels
connectiontype PostGIS
- CONNECTION "dbname=dccss user=dummy password=dummy host=localhost"
- data "the_geom from building using SRID=-1"
+ CONNECTION "dbname=dccss user=dcmms password=dcmms host=localhost"
+ data "the_geom from building using unique gid using SRID=-1"
HEADER 'header.html'
FOOTER 'footer.html'
LABELCACHE on
@@ -122,7 +122,7 @@
TOLERANCE 3
TOLERANCEUNITS pixels
CONNECTIONTYPE postgis
- CONNECTION "dbname=dccss user=dummy password=dummy host=localhost"
+ CONNECTION "dbname=dccss user=dcmms password=dcmms host=localhost"
DATA "the_geom from landmarkview using unique id using SRID=-1"
labelitem "name"
HEADER 'header.html'
@@ -211,7 +211,7 @@
TOLERANCE 3
TOLERANCEUNITS pixels
- CONNECTION "dbname=dccss user=dummy password=dummy host=localhost"
+ CONNECTION "dbname=dccss user=dcmms password=dcmms host=localhost"
data "the_geom from grid using srid=-1"
HEADER 'header.html'
FOOTER 'footer.html'
@@ -251,7 +251,7 @@
# maxscale 15000
TYPE POINT
STATUS off
- CONNECTION "dbname=dccss user=dummy password=dummy host=localhost"
+ CONNECTION "dbname=dccss user=dcmms password=dcmms host=localhost"
DATA "the_geom from DeliveryPoint using SRID=-1"
labelitem "sequence"
CLASS
@@ -277,7 +277,7 @@
# Empty layer,
layer
connectiontype PostGIS
- CONNECTION "dbname=dccss user=dummy password=dummy host=localhost"
+ CONNECTION "dbname=dccss user=dcmms password=dcmms host=localhost"
name "center"
type POINT
status OFF
@@ -285,7 +285,7 @@
CLASS
NAME "Center Point"
#template "ttt_query.html"
- SYMBOL "SQUARE"
+ SYMBOL "flag"
SIZE 30
color 255 0 0
outlinecolor 255 255 255
@@ -298,12 +298,118 @@
END
layer
connectiontype PostGIS
- CONNECTION "dbname=dccss user=dummy password=dummy host=localhost"
+ CONNECTION "dbname=dccss user=dcmms password=dcmms host=localhost"
+ name "route_filter"
+ type line
+ status Off
+ labelitem "logbookno"
+ DATA "the_geom from route using unique gid"
+ CLASS
+ NAME "route"
+ TEMPLATE 'template.html'
+ #PEN
+ STYLE
+ SIZE 3
+ COLOR 255 0 0
+ END #STYLE
+ END
+
+END
+
+layer
+ connectiontype PostGIS
+ CONNECTION "dbname=dccss user=dcmms password=dcmms host=localhost"
+ name "cabinet"
+ type point
+ status Off
+ labelitem "pewssaid"
+ DATA "the_geom from metercabinet using unique gid"
+ CLASS
+ NAME "route"
+ TEMPLATE 'template.html'
+
+ symbol "square"
+ SIZE 15
+ COLOR 255 0 0
+ label
+ color 38 119 38
+ position uc
+ font arial
+ type truetype
+ size 9
+ end
+ END
+
+END
+# Billing Observation Layer
+LAYER
+ CONNECTIONTYPE postgis
+ NAME Observation
+ TYPE POINT
+ STATUS DEFAULT
+ CONNECTION "dbname=dccss user=dccss password=dccss host=localhost"
+ DATA "the_geom from (select the_geom,observation,evaluation,decisionmatrix,
+ meterlocation,plotting.username from DeliveryPoint right outer join plotting on
+ deliverypoint.sequence=plotting.meterlocation where observation=1) as f
+ using unique meterlocation using SRID=-1"
+ CLASS
+ NAME 'Observation'
+ template "ttt_query.html"
+ SYMBOL 'O'
+
+ SIZE 20
+ color 255 0 0
+ END
+END # Layer
+
+# Billing Observation Layer
+LAYER
+ CONNECTIONTYPE postgis
+ NAME Evaluation
+ TYPE POINT
+ STATUS DEFAULT
+ CONNECTION "dbname=dccss user=dccss password=dccss host=localhost"
+ DATA "the_geom from (select the_geom,observation,evaluation,decisionmatrix,
+ meterlocation,plotting.username from DeliveryPoint right outer join plotting on
+ deliverypoint.sequence=plotting.meterlocation where evaluation=1) as f
+ using unique meterlocation using SRID=-1"
+ CLASS
+ NAME 'evaluation'
+ template "ttt_query.html"
+ SYMBOL "E"
+ SIZE 20
+ color 0 255 0
+ END
+END # Layer
+
+# Billing Observation Layer
+LAYER
+ CONNECTIONTYPE postgis
+ NAME Decisionmatrix
+ TYPE POINT
+ STATUS DEFAULT
+ CONNECTION "dbname=dccss user=dccss password=dccss host=localhost"
+ DATA "the_geom from (select the_geom,observation,evaluation,decisionmatrix,
+ meterlocation,plotting.username from DeliveryPoint right outer join plotting on
+ deliverypoint.sequence=plotting.meterlocation where decisionmatrix=1) as f
+ using unique meterlocation using SRID=-1"
+ CLASS
+ NAME 'DM'
+ template "ttt_query.html"
+ SYMBOL "flag"
+ SIZE 30
+ color 0 0 255
+ END
+END # Layer
+
+layer
+ connectiontype PostGIS
+ CONNECTION "dbname=dccss user=dcmms password=dcmms host=localhost"
name "route"
type line
status Off
labelitem "logbookno"
- DATA "the_geom from route"
+ DATA "the_geom from route using unique gid"
CLASS
NAME "route"
TEMPLATE 'template.html'
@@ -336,7 +442,7 @@
TOLERANCE 3
TOLERANCEUNITS pixels
CONNECTIONTYPE postgis
- CONNECTION "dbname=dccss user=dummy password=dummy host=localhost"
+ CONNECTION "dbname=dccss user=dcmms password=dcmms host=localhost"
DATA "the_geom from collect using unique id using SRID=-1"
labelitem "name"
HEADER 'header.html'
Modified: branches/ms4w/apps/dccss/etc/symbols.sym
===================================================================
--- branches/ms4w/apps/dccss/etc/symbols.sym 2009-08-05 09:47:03 UTC (rev 373)
+++ branches/ms4w/apps/dccss/etc/symbols.sym 2010-05-10 08:50:33 UTC (rev 374)
@@ -17,6 +17,31 @@
END
SYMBOL
+ NAME "D"
+ TYPE truetype
+ filled true
+ GAP 15
+ FONT "arial"
+ CHARACTER "░"
+END
+
+SYMBOL
+ NAME "E"
+ TYPE truetype
+ filled true
+ GAP 15
+ FONT "arial"
+ CHARACTER "®"
+END
+SYMBOL
+ NAME "O"
+ TYPE truetype
+ filled true
+ GAP 15
+ FONT "arial"
+ CHARACTER "▲"
+END
+SYMBOL
NAME "square"
TYPE VECTOR
FILLED TRUE
Modified: branches/ms4w/apps/dccss/images/gtz.PNG
===================================================================
(Binary files differ)
Modified: branches/ms4w/apps/dccss/print_workorder.php
===================================================================
--- branches/ms4w/apps/dccss/print_workorder.php 2009-08-05 09:47:03 UTC (rev 373)
+++ branches/ms4w/apps/dccss/print_workorder.php 2010-05-10 08:50:33 UTC (rev 374)
@@ -20,11 +20,18 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
+if ($_REQUEST['action']!='printRoute'){
+ session_start();
+ $_SESSION['UserName']='softnet';
+ $_SESSION['Password']='softnet';
+ $_SESSION['Language']='ar';
+}
include("include/header.php");
include_once("conf/dccssconfig.php");
include("include/dccsspostgis.php");
include("include/dcmmaputil.php");
//print_r($_SESSION['TaskforceArray']);
+if ($_REQUEST['taskforce']!=''){
for ($m=0;$m<count($_SESSION['TaskforceArray']);$m++){
$record=$m+1;
//print_r($m);
@@ -134,31 +141,7 @@
adjustScalebar($map);
$objLayer = $map->getlayerbyname('DeliveryPoint');
- /*
- if ($objLayer->queryByAttributes("sequence","SEQUENCE=".
- $_SESSION['TaskforceArray'][$m]['dpsequence'],MS_MULTIPLE) ==
- MS_SUCCESS) {
-
- //$oResult=$objLayer->getresult(1);
- $ResultCount=$objLayer->getNumResults();
- //
- //print_r($objLayer->getresult(0));
- $gbShowQueryResults = TRUE;
- for ($i=0; $i < $ResultCount; $i++) {
- $QueryResult=$objLayer->getResult($i);
- $Risultato=$QueryResult->shapeindex;
- $objLayer->open();
- $Shape=$objLayer->getShape(0,$Risultato);
- // print_r ($Shape->values);
- $oExtents=$Shape->bounds;
- //print_r($oExtents);
- $objLayer->close();
-
- $map->setextent($oExtents->minx-50,$oExtents->miny-50,$oExtents->maxx+50,
- $oExtents->maxy+50);
- }
- }*/
-
+
$query = "select X(the_geom),Y(the_geom) from deliverypoint where sequence=".
$_SESSION['TaskforceArray'][$m]['dpsequence'];
$resultextent = pg_query($query);
@@ -169,19 +152,9 @@
$pointX = $r[0];
$pointY=$r[1];
- /*$box3d = str_replace("BOX3D(", "", $box3d);
- $token = strtok($box3d, " ");
- $minx = $token;
-
- $token = strtok(" ");
- $miny = $token;
- $token = strtok(",");
- $token = strtok(" ");
- $maxx = $token+1;
- $token = strtok(" ");
- $maxy = $token+1;*/
+
}
- //$map->setextent($minx-50,$miny-50,$maxx+50,$maxy+50);
+
$map->setextent($pointX-50,$pointY-50,$pointX+50,$pointY+50);
@@ -265,4 +238,176 @@
}
+}
+if ($_REQUEST['action']!=''){
+ $_SESSION['UserName']='softnet';
+ $_SESSION['Password']='softnet';
+ $_SESSION['Language']='ar';
+
+
+ if ($_REQUEST['action']=='printRoute'){
+$strWhere='';
+if ($_REQUEST['routeID']!=''){
+ $strWhere.=' where logbookno='.$_REQUEST['routeID'];
+}
+
+ $query = 'select distinct logbookno from route '.$strWhere;
+
+ $result = pg_query($query);
+ $numrows = pg_numrows($result);
+
+
+$DcssPage = new DccssPage(basename(__FILE__));
+for($rec=0; $rec<$numrows;$rec++) {
+$row = pg_fetch_row($result, $rec);
+
+$strDirection = (0 == strncmp($_SESSION['language'],'ar', 2)) ? 'rtl' :
+ 'ltr';
+$date=date("F j, Y, g:i a");
?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "xhtml1-strict.dtd">
+<html lang="<?= $_SESSION["language"] ?>">
+<head>
+ <title><?= _("Route Map"); ?></title>
+ <link rel="stylesheet" href="include/dccss.css" type="text/css" />
+ <link rel="stylesheet" href="include/<?= $strDirection ?>.css" type="text/css" />
+ <meta http-equiv="content-type" content="text/xhtml; charset=UTF-8" />
+</head>
+<body style="padding: 0px; margin: 0px; border: 0px; height: 18cm;"
+ dir="<?= (0 == strncmp($_SESSION['language'],'ar', 2)) ? 'rtl' :
+ 'ltr' ?>" >
+<table border="1" summary="Header" width="96.5%" height="4%" cellspacing="0"
+ cellpadding="0" nowrap="nowrap">
+ <tr>
+ <td width=25% align="left" ><a style="vertical-align: middle;"
+ href="index.php?PHPSESSID=<?= session_id()?>"><b style="vertical-align: middle;">
+ <img
+ style="vertical-align: left; height=1cm;"
+ src="images/gtz.png" border="0" align="right" />
+ </a>
+ <?= _("German Technical Cooperation-GTZ") ?></b><br>
+ <b style="vertical-align: middle;"><?= _("Institutional Support to Aleppo Water establishment") ?></b><br>
+
+ </td>
+ <td align="left">
+ <b><?= _("Route Printing") ?></b><br>
+ <br>
+ <b><?= _("Date:") ?><?php echo($date); ?></b>
+ </td>
+ <td><img src="<?= $_SESSION["OrgLogoSmall"]?>" border="0" align="right"
+ style="height: 1cm" /></td>
+ </tr>
+</table><table ><tr width=100% style="page-break-after: always">
+ <td width="" height="100%" valign="top"> <?php
+ $map_path="./";
+ $map = ms_newMapObj($map_path.sprintf($_SESSION["strMapFile"],
+ substr($_SESSION['language'], 0, 2)));
+ if(array_key_exists("PATH_TRANSLATED", $_SERVER)) {
+ $map->set("shapepath", str_replace("print_workorder.php", "data",
+ str_replace("\\", "/", $_SERVER["PATH_TRANSLATED"])));
+ }
+ $map->set("width", 1300);
+ $map->set("height", 900);
+
+ setLayerAuthentication($map);
+ adjustScalebar($map);
+
+ $objLayer = $map->getlayerbyname('route');
+
+ if ($objLayer->queryByAttributes('logbookno',"logbookno=".$row[0],MS_SINGLE) ==MS_SUCCESS) {
+
+ $minx=1000000;
+ $miny=1000000;
+ $maxx=-1000000;
+ $maxy=-1000000;
+
+ $ResultCount=$objLayer->getNumResults();
+
+ $gbShowQueryResults = TRUE;
+ for ($i=0; $i < $ResultCount; $i++) {
+ $QueryResult=$objLayer->getResult($i);
+ $Risultato=$QueryResult->shapeindex;
+ $objLayer->open();
+ $Shape=$objLayer->getShape(0,$Risultato);
+ $oExtents=$Shape->bounds;
+ // print_r($oExtents);
+ $objLayer->close();
+ $minx=min($minx,$oExtents->minx);
+ $miny=min($miny,$oExtents->miny);
+ $maxx=max($maxx,$oExtents->maxx);
+ $maxy=max($maxy,$oExtents->maxy);
+ $pointx=($maxx+$minx)/2;
+ $pointy=($maxy+$miny)/2;
+ //$map->setextent($oExtents->minx-100,$oExtents->miny-100,$oExtents->maxx+100,$oExtents->maxy+100);
+ }
+
+//print_r($minx.'/'.$miny.'/'.$maxx.'/'.$maxy);
+ $map->setextent($minx-50,$miny-50,$maxx+50,$maxy+50);
+
+ $objLayer = $map->getlayerbyname('route');
+ $objLayer->set("status",MS_OFF);
+ $objLayer = $map->getlayerbyname('route_filter');
+ $objLayer->set("status",MS_ON);
+ $objLayer->setfilter("logbookno=".$row[0]);
+ $objLayer = $map->getlayerbyname('collection');
+ $objLayer->set("status", MS_ON);
+ $objLayer = $map->getlayerbyname('grid');
+ $objLayer->set("status", MS_OFF);
+ $objLayer = $map->getlayerbyname('DeliveryPoint');
+ $objLayer->set("status",MS_ON);
+ $objLayer->setfilter("routeid=".$row[0]);
+
+ switch($_REQUEST["case"]) {
+ case "all" :
+ foreach (array('Evaluation','Decisionmatrix','Observation') as $case){
+ $objLayer = $map->getlayerbyname($case);
+ $objLayer->set("status",MS_ON);
+ $objLayer->setfilter("username='".$_REQUEST['username']."'");
+ }
+ break;
+ default:
+ case "all" :
+ foreach (array('Evaluation','Decisionmatrix','Observation') as $case){
+
+ $objLayer = $map->getlayerbyname($case);
+ if ($_REQUEST["case"]==$case){
+ $objLayer->set("status",MS_ON);
+ } else {
+ $objLayer->set("status",MS_OFF);
+ }
+ $objLayer->setfilter("username='".$_REQUEST['username']."'");
+ }
+ break;
+ }
+
+
+
+
+ $image=$map->draw();
+ $image=$map->drawquery();
+ $image2 = $map->embedLegend($image);
+ $image_url=$image->saveWebImage("MS_PNG", 1, 1, 0);
+ $map->labelcache->free();
+
+ // $image->free();
+
+ $img = $map->drawScaleBar();
+ $url = $img->saveWebImage($gImagesFmt, 0, 0, -1);
+
+
+ ?>
+ <a href="index.php?PHPSESSID=<?= session_id()?>"><img src="<?=
+ $image_url ?>" alt="Workorder Map" style="width: 42cm; height: 26.7cm;"/></a>
+ </td>
+ </tr></table>
+
+
+<?php
+ }
+}
+
+}
+
+
+}
+?>
Modified: branches/ms4w/apps/dccss/query.php
===================================================================
--- branches/ms4w/apps/dccss/query.php 2009-08-05 09:47:03 UTC (rev 373)
+++ branches/ms4w/apps/dccss/query.php 2010-05-10 08:50:33 UTC (rev 374)
@@ -58,11 +58,11 @@
//print_r($_POST);
-$objArea =&$Queryform->addElement('hierselect', 'area', _('Area:'),
+$objArea =&$Queryform->addElement('hierselect', 'area', _('Area:'),
array('title' => _('Narrow down the area in which to search for points of interest.')));
$strQuery = 'select dcmmstranslation(\''.$_SESSION['language'].
- '\',Name), CodedValue from AdministrativeArea';
-
+ '\',Name), CodedValue from AdministrativeArea';
+
$arrAdministrativeArea[0] = _('[Select One]');
$objResult =pg_query($strQuery);
@@ -71,7 +71,7 @@
}
$strQuery = 'select dcmmstranslation(\''.$_SESSION['language'].
- '\',Name), Administra, CodedValue from Village where codedvalue in
+ '\',Name), Administra, CodedValue from Village where codedvalue in
(select village from landmark) order by Administra';
$arrVillage[0][0] = _('[Select One]');
$objResult =pg_query($strQuery);
@@ -95,7 +95,7 @@
$arrlandmark[$arrRow[1]][0][0] = _('[Select One]');
}
$arrlandmark[$arrRow[1]][$arrRow[2]][$arrRow[0]] = $arrRow[0];
-
+
}
@@ -120,8 +120,8 @@
$strQuery="select logbook,sequence,subsequence,name,subscribernumber,
meternumber from ".$Queryform->exportValue('Table')." where ";
if (($Queryform->exportValue('query')==1)){
-
- $strWhere="chr(meternumber)='".$Queryform->exportValue('searchvalue')."'";
+
+ $strWhere="chr(meternumber)='".$Queryform->exportValue('searchvalue')."'";
} elseif ($Queryform->exportValue('query')==2){
$strWhere="subscribernumber='".$Queryform->exportValue('searchvalue')."'";
} elseif ($Queryform->exportValue('query')==3){
@@ -133,24 +133,25 @@
} elseif ($Queryform->exportValue('query')==6){
$strWhere="paracodee='".$Queryform->exportValue('searchvalue')."'";
}
-
+
}else{
-
+
// $tablename='public.'.$Queryform->exportValue('Table');
$tablename='public.subscriber';
$strQuery="select deliverypoint.sequence,subscriber.sequence as s,subscriber.logbooknumber,subscriber.name,subscriber.id,
- subscriber.geocode,subscriber.serialnumber,subscriber.subscription,subscriber.subsequence
- from deliverypoint,subscriber where
- subscriber.geocode=deliverypoint.geocode";
+ subscriber.geocode,subscriber.serialnumber,subscriber.subscription,subscriber.subsequence
+ from deliverypoint left outer join metercabinet on (metercabinet.pewssaid=deliverypoint.cabinetid) left outer join subscriber on (
+ subscriber.geocode=deliverypoint.geocode) ";
if ($Queryform->exportValue('query')==1){
- $strWhere=" and serialnumber='".$Queryform->exportValue('searchvalue')."'";
+ $strWhere=" and serialnumber='".$Queryform->exportValue('searchvalue')."'";
} elseif ($Queryform->exportValue('query')==2){
$strWhere=" and subscription='".$Queryform->exportValue('searchvalue')."'";
} elseif ($Queryform->exportValue('query')==3){
$strWhere=" and name='".$Queryform->exportValue('searchvalue')."'";
} elseif ($Queryform->exportValue('query')==4){
$strWhere=" and (deliverypoint.cabinetid='".
- $Queryform->exportValue('searchvalue')."' or subscriber.cabinetid='".
+ $Queryform->exportValue('searchvalue')."' or subscriber.cabinetid='".
+ $Queryform->exportValue('searchvalue')."' or metercabinet.id='".
$Queryform->exportValue('searchvalue')."')";
} elseif ($Queryform->exportValue('query')==5){
$strWhere=" and deliverypoint.sequence=".$Queryform->exportValue('searchvalue');
@@ -158,12 +159,12 @@
$strWhere=" and paracode='".$Queryform->exportValue('searchvalue')."'";
}
}
-
+
$objTable = DB_DataObject::factory($tablename);
if(PEAR::isError($objTable)or(NULL == $objTable)) {
die(_($objTable->getMessage()));
}
-
+
$Queryform->process($Queryform, false);
//$objSubscriber->orderBy('sequence,subsequence');
@@ -172,7 +173,7 @@
$result = pg_query($strQuery.$strWhere);
$numrows = pg_numrows($result);
$objTable->Query($strQuery.$strWhere);
-
+
if (($numrows > 0)){
$objSubscriberTable = $objTable->getTable('<a href="'.
basename(__FILE__).'?PHPSESSID='.session_id().'&geocode=1">'.
@@ -180,7 +181,7 @@
$DccssPage->add($objSubscriberTable->tohtml());
}
}elseif (($_POST['area'][1]!='0')&&($Queryform->exportValue('searchvalue')=='')){
-
+
$strQuery = "select dcmmstranslation('".$_SESSION['language'].
"',landmark.Name), dcmmstranslation('".$_SESSION['language'].
"',administrativearea.name), dcmmstranslation('".$_SESSION['language'].
@@ -192,7 +193,7 @@
$result = pg_query($strQuery);
$numrows = pg_numrows($result);
$objTable->Query($strQuery);
-
+
$objTable = new DbTable($DccssPage->postgis->db, $strQuery);
$objTable->addRows();
$numRowCount = $objTable->getRowCount();
@@ -206,17 +207,17 @@
// for ($i==0;$i<$numRowCount;$i++){
// $arrRow =& pg_fetch_row($result);
-
+
$ref='<a href="deliverypointpage.php?PHPSESSID='.session_id().
'&action=mapLandmark&gid='.$arrRow[3].'&name='.$arrRow[0].'&village='.$arrRow[2].'">'.
_('[View on Map]').'</a>';
$objTable->setCellContents($i, 3, $ref. '<a href="print_ac.php?PHPSESSID='.session_id().
'&action=mapLandmark&gid='.$arrRow[3].'&name='.$arrRow[0].'&village='.$arrRow[2].'">'.
_('[Print]').'</a>');
- $i++;
+ $i++;
}
}
-
+
$DccssPage->add($objTable->toHtml());
}elseif (($Queryform->exportValue('query')==0)&&($Queryform->exportValue('searchvalue')!='')){
@@ -226,7 +227,7 @@
"',administrativearea.name), dcmmstranslation('".$_SESSION['language'].
"',village.name),landmark.gid from landmark
left outer join administrativearea on (landmark.administra=administrativearea.codedvalue)
-left outer join village on (landmark.village=village.codedvalue)
+left outer join village on (landmark.village=village.codedvalue)
where dcmmstranslation('".$_SESSION['language'].
"',landmark.Name) like '%".$Queryform->exportValue('searchvalue')."%' order by gid asc";
//print_r($strQuery);
@@ -234,7 +235,7 @@
$result = pg_query($strQuery);
$numrows = pg_numrows($result);
$objTable->Query($strQuery);
-
+
$objTable = new DbTable($DccssPage->postgis->db, $strQuery);
$objTable->addRows();
$numRowCount = $objTable->getRowCount();
@@ -248,19 +249,19 @@
// for ($i==0;$i<$numRowCount;$i++){
// $arrRow =& pg_fetch_row($result);
-
+
$ref='<a href="deliverypointpage.php?PHPSESSID='.session_id().
'&action=mapLandmark&gid='.$arrRow[3].'&name='.$arrRow[0].'&village='.$arrRow[2].'">'.
_('[View on Map]').'</a>';
$objTable->setCellContents($i, 3, $ref. '<a href="print_ac.php?PHPSESSID='.session_id().
'&action=mapLandmark&gid='.$arrRow[3].'&name='.$arrRow[0].'&village='.$arrRow[2].'">'.
_('[Print]').'</a>');
- $i++;
+ $i++;
}
}
-
+
$DccssPage->add($objTable->toHtml());
-
+
}
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <mah...@us...> - 2009-08-05 09:47:15
|
Revision: 373
http://dccss.svn.sourceforge.net/dccss/?rev=373&view=rev
Author: maher_karim
Date: 2009-08-05 09:47:03 +0000 (Wed, 05 Aug 2009)
Log Message:
-----------
2009-08-05 Maher Abdel karim <mah...@do...>
* script/create_views.sql: Update css_to_billing view creation code
to include meterlocation route information.
Modified Paths:
--------------
branches/ms4w/apps/dccss/changelog
branches/ms4w/apps/dccss/script/create_views.sql
Modified: branches/ms4w/apps/dccss/changelog
===================================================================
--- branches/ms4w/apps/dccss/changelog 2009-02-12 10:01:21 UTC (rev 372)
+++ branches/ms4w/apps/dccss/changelog 2009-08-05 09:47:03 UTC (rev 373)
@@ -1,3 +1,8 @@
+2009-08-05 Maher Abdel karim <mah...@do...>
+
+ * script/create_views.sql: Update css_to_billing view creation code
+ to include meterlocation route information.
+
2009-02-12 Maher Abdel karim <mah...@do...>
* admin/processing.php: Update the processing code to allow string for
Modified: branches/ms4w/apps/dccss/script/create_views.sql
===================================================================
--- branches/ms4w/apps/dccss/script/create_views.sql 2009-02-12 10:01:21 UTC (rev 372)
+++ branches/ms4w/apps/dccss/script/create_views.sql 2009-08-05 09:47:03 UTC (rev 373)
@@ -1,4 +1,4 @@
--- DCCSS - DC Comprehensive Subscribers Survey
+-- DCCSS - DC Comprehensive Subscribers Survey
--
-- create_views.sql - Create database views
@@ -415,47 +415,42 @@
--intersects(deliverypoint.the_geom,grid.the_geom) order by grid.id;
-- CSS to billing for data transfer
-create or replace view css_to_billing as
-select subscriber.id,deliverypoint.sequence as customerlocation,
-subscriber.meterlocationdeliverypointseq as meterlocation,
-subscriber.paracode,subscriber.logbooknumber,subscriber.sequence,
-subscriber.subsequence,subscriber.name,subscriber.logbookserialnumber,
-deliverypoint.routeid,deliverypoint.routesequence
-from subscriber,deliverypoint where subscriber.cabinetid='0' and
-subscriber.meterlocationdeliverypointseq <>0 and subscriber.paracode is not null
-and subscriber.geocode=deliverypoint.geocode
-union
-select subscriber.id,deliverypoint.sequence as customerlocation,
-to_number(subscriber.cabinetid,99999),subscriber.paracode,subscriber.logbooknumber,
-subscriber.sequence,subscriber.subsequence,subscriber.name,
-subscriber.logbookserialnumber,metercabinet.routeid, metercabinet.routesequence
+-- View: css_to_billing
+
+-- DROP VIEW css_to_billing;
+
+CREATE OR REPLACE VIEW css_to_billing AS
+((( SELECT subscriber.id, deliverypoint.sequence AS customerlocation, subscriber.meterlocationdeliverypointseq AS meterlocation, subscriber.paracode, subscriber.logbooknumber, subscriber.sequence, subscriber.subsequence, subscriber.name, subscriber.logbookserialnumber, deliverypoint.routeid, deliverypoint.routesequence
FROM subscriber
- LEFT JOIN metercabinet ON (subscriber.cabinetid = metercabinet.id)
+ LEFT JOIN deliverypoint ON deliverypoint.geocode::text = subscriber.geocode::text
+ LEFT JOIN deliverypoint d1 ON subscriber.sequence = d1.sequence
+ WHERE subscriber.cabinetid::text = '0'::text AND subscriber.paracode IS NOT NULL AND subscriber.meterlocationdeliverypointseq = deliverypoint.sequence AND subscriber.meterlocationdeliverypointseq <> 0 AND subscriber.paracode::text <> ''::text
+UNION
+ SELECT subscriber.id, deliverypoint.sequence AS customerlocation, subscriber.meterlocationdeliverypointseq AS meterlocation, subscriber.paracode, subscriber.logbooknumber, subscriber.sequence, subscriber.subsequence, subscriber.name, subscriber.logbookserialnumber, d1.routeid, d1.routesequence
+ FROM subscriber
+ LEFT JOIN deliverypoint ON deliverypoint.geocode::text = subscriber.geocode::text
+ LEFT JOIN deliverypoint d1 ON subscriber.meterlocationdeliverypointseq = d1.sequence
+ WHERE subscriber.cabinetid::text = '0'::text AND subscriber.paracode IS NOT NULL AND subscriber.meterlocationdeliverypointseq <> deliverypoint.sequence AND subscriber.meterlocationdeliverypointseq <> 0)
+UNION
+ SELECT subscriber.id, deliverypoint.sequence AS customerlocation, to_number(metercabinet.id::text, 99999::text) AS meterlocation, subscriber.paracode, subscriber.logbooknumber, subscriber.sequence, subscriber.subsequence, subscriber.name, subscriber.logbookserialnumber, metercabinet.routeid, metercabinet.routesequence
+ FROM subscriber
+ LEFT JOIN metercabinet ON subscriber.cabinetid::text = metercabinet.pewssaid::text
LEFT JOIN deliverypoint ON subscriber.geocode::text = deliverypoint.geocode::text
-
-where subscriber.cabinetid<>'0' and subscriber.meterlocationdeliverypointseq =0
-and subscriber.paracode is not null
-union
-select subscriber.id,deliverypoint.sequence as customerlocation,
-subscriber.meterlocationdeliverypointseq as meterlocation,
-subscriber.paracode,subscriber.logbooknumber,subscriber.sequence,
-subscriber.subsequence,subscriber.name,subscriber.logbookserialnumber,
-metercabinet.routeid, metercabinet.routesequence
+ WHERE subscriber.cabinetid::text <> '0'::text AND subscriber.meterlocationdeliverypointseq = 0 AND metercabinet.area = 1 AND subscriber.paracode IS NOT NULL AND subscriber.paracode::text <> ''::text)
+UNION
+ SELECT subscriber.id, deliverypoint.sequence AS customerlocation, subscriber.meterlocationdeliverypointseq AS meterlocation, subscriber.paracode, subscriber.logbooknumber, subscriber.sequence, subscriber.subsequence, subscriber.name, subscriber.logbookserialnumber, metercabinet.routeid, metercabinet.routesequence
FROM subscriber
- LEFT JOIN metercabinet ON (subscriber.cabinetid= metercabinet.id)
- LEFT JOIN deliverypoint ON (subscriber.geocode = deliverypoint.geocode)
- where subscriber.cabinetid<>'0' and
-subscriber.meterlocationdeliverypointseq <>0 and subscriber.paracode is not null
-and subscriber.geocode=deliverypoint.geocode
-union
-select subscriber.id,deliverypoint.sequence as customerlocation,
-deliverypoint.sequence as meterlocation ,subscriber.paracode,subscriber.logbooknumber,
-subscriber.sequence,subscriber.subsequence,subscriber.name,
-subscriber.logbookserialnumber,deliverypoint.routeid,deliverypoint.routesequence
-from subscriber,deliverypoint where subscriber.cabinetid='0'
-and subscriber.meterlocationdeliverypointseq =0 and subscriber.paracode is not null
-and subscriber.geocode=deliverypoint.geocode;
+ LEFT JOIN metercabinet ON subscriber.cabinetid::text = metercabinet.pewssaid::text
+ LEFT JOIN deliverypoint ON subscriber.geocode::text = deliverypoint.geocode::text
+ WHERE subscriber.cabinetid::text <> '0'::text AND subscriber.meterlocationdeliverypointseq <> 0 AND subscriber.paracode IS NOT NULL AND metercabinet.area = 1 AND subscriber.geocode::text = deliverypoint.geocode::text AND subscriber.paracode::text <> ''::text)
+UNION
+ SELECT subscriber.id, deliverypoint.sequence AS customerlocation, deliverypoint.sequence AS meterlocation, subscriber.paracode, subscriber.logbooknumber, subscriber.sequence, subscriber.subsequence, subscriber.name, subscriber.logbookserialnumber, deliverypoint.routeid, deliverypoint.routesequence
+ FROM subscriber, deliverypoint
+ WHERE subscriber.cabinetid::text = '0'::text AND subscriber.meterlocationdeliverypointseq = 0 AND subscriber.paracode IS NOT NULL AND subscriber.geocode::text = deliverypoint.geocode::text AND subscriber.paracode::text <> ''::text;
+ALTER TABLE css_to_billing OWNER TO postgres;
+
+
-- user access rights
grant all on css_to_billing to public;
grant all on LandmarkView to public;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <mah...@us...> - 2009-02-12 10:01:24
|
Revision: 372
http://dccss.svn.sourceforge.net/dccss/?rev=372&view=rev
Author: maher_karim
Date: 2009-02-12 10:01:21 +0000 (Thu, 12 Feb 2009)
Log Message:
-----------
2009-02-12 Maher Abdel karim <mah...@do...>
* admin/processing.php: Update the processing code to allow string for
cabinet id.
Modified Paths:
--------------
branches/ms4w/apps/dccss/admin/processing.php
branches/ms4w/apps/dccss/changelog
Modified: branches/ms4w/apps/dccss/admin/processing.php
===================================================================
--- branches/ms4w/apps/dccss/admin/processing.php 2009-02-11 16:16:31 UTC (rev 371)
+++ branches/ms4w/apps/dccss/admin/processing.php 2009-02-12 10:01:21 UTC (rev 372)
@@ -30,7 +30,7 @@
$DccssPage->add( _("Process data in dccss database.")."<br>");
$DccssPage->add (_("Please Select the processing type from the list."));
-$processArray= array ("dcrmroute" => _("Generate route information"),
+$processArray= array ("Select One"=>_("Select One"),"dcrmroute" => _("Generate route information"),
"createlineconnection"=>_("Create line connection between meter cabinet and deliverypoints"));
$Processingform = new HTML_QuickForm('Processingform');
@@ -40,9 +40,9 @@
$Processingform->addElement('submit', null, _('Process GIS data'));
$Processingform->addRule('processingvalue',
_('Please enter the value to be processed.'), 'required', null, 'client');
- $Processingform->addRule('processingvalue',
- _('Please enter the processing value or enter 0 to process all data.'),
- 'numeric', null, 'client');
+ // $Processingform->addRule('processingvalue',
+ // _('Please enter the processing value or enter 0 to process all data.'),
+ // 'numeric', null, 'client');
$Processingform->setRequiredNote('<span style="font-size:80%; color:#ff0000;"
>*</span><span style="font-size:80%;"> '.
_('denotes required field').'</span>');
@@ -62,7 +62,12 @@
$strQuery=$strQuery."'".$Processingform->exportValue('processingvalue')."')";
}
}else{
+ if (is_numeric($Processingform->exportValue('processingvalue'))){
$strQuery=$strQuery.$Processingform->exportValue('processingvalue').")";
+ } else{
+ $DccssPage->add(_("The logbook should be number, You passed text"));
+ $strQuery="Select 1";
+ }
}
$objResult = pg_query($strQuery);
Modified: branches/ms4w/apps/dccss/changelog
===================================================================
--- branches/ms4w/apps/dccss/changelog 2009-02-11 16:16:31 UTC (rev 371)
+++ branches/ms4w/apps/dccss/changelog 2009-02-12 10:01:21 UTC (rev 372)
@@ -1,3 +1,8 @@
+2009-02-12 Maher Abdel karim <mah...@do...>
+
+ * admin/processing.php: Update the processing code to allow string for
+ cabinet id.
+
2009-02-11 Maher Abdel karim <mah...@do...>
* print_ac.php: Handle deliverypoints with many subscribers
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <mah...@us...> - 2009-02-11 16:16:35
|
Revision: 371
http://dccss.svn.sourceforge.net/dccss/?rev=371&view=rev
Author: maher_karim
Date: 2009-02-11 16:16:31 +0000 (Wed, 11 Feb 2009)
Log Message:
-----------
2009-02-11 Maher Abdel karim <mah...@do...>
* print_ac.php: Handle deliverypoints with many subscribers
* include/dataobject/public_subscriber.php: Add the id to be
passed with the table actions.
* etc/fonts.txt: add more fonts to be used
* etc/symbols.sym: add new symbol to be used.
Modified Paths:
--------------
branches/ms4w/apps/dccss/changelog
branches/ms4w/apps/dccss/etc/fonts.txt
branches/ms4w/apps/dccss/etc/symbols.sym
branches/ms4w/apps/dccss/include/dataobject/Public_subscriber.php
branches/ms4w/apps/dccss/print_ac.php
Modified: branches/ms4w/apps/dccss/changelog
===================================================================
--- branches/ms4w/apps/dccss/changelog 2009-01-28 08:12:25 UTC (rev 370)
+++ branches/ms4w/apps/dccss/changelog 2009-02-11 16:16:31 UTC (rev 371)
@@ -1,3 +1,11 @@
+2009-02-11 Maher Abdel karim <mah...@do...>
+
+ * print_ac.php: Handle deliverypoints with many subscribers
+ * include/dataobject/public_subscriber.php: Add the id to be
+ passed with the table actions.
+ * etc/fonts.txt: add more fonts to be used
+ * etc/symbols.sym: add new symbol to be used.
+
2009-01-19 Maher Abdel karim <mah...@do...>
* query.php: add the possiblity to search with like option
Modified: branches/ms4w/apps/dccss/etc/fonts.txt
===================================================================
--- branches/ms4w/apps/dccss/etc/fonts.txt 2009-01-28 08:12:25 UTC (rev 370)
+++ branches/ms4w/apps/dccss/etc/fonts.txt 2009-02-11 16:16:31 UTC (rev 371)
@@ -2,3 +2,4 @@
esri_0 c:/windows/fonts/esri_0.ttf
marvosym c:/windows/fonts/marvosym.ttf
civil c:/windows/fonts/civil.ttf
+esri_1 c:/windows/fonts/esri_1.ttf
Modified: branches/ms4w/apps/dccss/etc/symbols.sym
===================================================================
--- branches/ms4w/apps/dccss/etc/symbols.sym 2009-01-28 08:12:25 UTC (rev 370)
+++ branches/ms4w/apps/dccss/etc/symbols.sym 2009-02-11 16:16:31 UTC (rev 371)
@@ -42,4 +42,11 @@
TYPE HATCH
END
-
+SYMBOL
+ NAME "flag"
+ TYPE TRUETYPE
+ FONT esri_1
+ FILLED true
+ ANTIALIAS true
+ CHARACTER "c"
+END
Modified: branches/ms4w/apps/dccss/include/dataobject/Public_subscriber.php
===================================================================
--- branches/ms4w/apps/dccss/include/dataobject/Public_subscriber.php 2009-01-28 08:12:25 UTC (rev 370)
+++ branches/ms4w/apps/dccss/include/dataobject/Public_subscriber.php 2009-02-11 16:16:31 UTC (rev 371)
@@ -223,7 +223,7 @@
'&action=map&geocode='. $this->geocode.'">'.
_('[View on Map]').'</a>';
$ref=$ref.'<a href="print_ac.php?PHPSESSID='.session_id().
- '&action=map&geocode='. $this->geocode.'">'.
+ '&action=map&id='.$this->id.'&geocode='. $this->geocode.'">'.
_('[Print]').'</a>';
$showadd=false;
}
Modified: branches/ms4w/apps/dccss/print_ac.php
===================================================================
--- branches/ms4w/apps/dccss/print_ac.php 2009-01-28 08:12:25 UTC (rev 370)
+++ branches/ms4w/apps/dccss/print_ac.php 2009-02-11 16:16:31 UTC (rev 371)
@@ -83,7 +83,7 @@
(css_to_billing.customerlocation=deliverypoint.sequence) left outer
join metercabinet
on (css_to_billing.meterlocation=metercabinet.id)
- where deliverypoint.geocode=".$_REQUEST['geocode'];
+ where deliverypoint.geocode=".$_REQUEST['geocode']." and css_to_billing.id=".$_REQUEST['id'];
//echo ($query);
$result = pg_query($query);
$numfields = pg_numfields($result);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <mah...@us...> - 2009-01-28 08:12:37
|
Revision: 370
http://dccss.svn.sourceforge.net/dccss/?rev=370&view=rev
Author: maher_karim
Date: 2009-01-28 08:12:25 +0000 (Wed, 28 Jan 2009)
Log Message:
-----------
2009-01-19 Maher Abdel karim <mah...@do...>
* query.php: add the possiblity to search with like option
* script/create_dccss_ddl.sql: Update sequence creation
Modified Paths:
--------------
branches/ms4w/apps/dccss/changelog
branches/ms4w/apps/dccss/include/dcmmap.php
branches/ms4w/apps/dccss/locale/ar/LC_MESSAGES/dccss.po
branches/ms4w/apps/dccss/map.php
branches/ms4w/apps/dccss/print_ac.php
branches/ms4w/apps/dccss/query.php
branches/ms4w/apps/dccss/script/create_css_ddl.sql
Modified: branches/ms4w/apps/dccss/changelog
===================================================================
--- branches/ms4w/apps/dccss/changelog 2009-01-19 09:46:41 UTC (rev 369)
+++ branches/ms4w/apps/dccss/changelog 2009-01-28 08:12:25 UTC (rev 370)
@@ -1,5 +1,17 @@
2009-01-19 Maher Abdel karim <mah...@do...>
+ * query.php: add the possiblity to search with like option
+ * script/create_dccss_ddl.sql: Update sequence creation
+
+2009-01-19 Maher Abdel karim <mah...@do...>
+
+ * print_ac.php: adjust the label size when printing.
+ * map.php:adjust the print option to interact with the passed vars.
+ * include/dcmmap.php:Add the ability to track the changes in the extent
+ with keeping the marked location.
+
+2009-01-19 Maher Abdel karim <mah...@do...>
+
* query.php:adjust the query to be only for the subscriber
table.Add more search options.
* print_ac.php: adjust the label size when printing.
Modified: branches/ms4w/apps/dccss/include/dcmmap.php
===================================================================
--- branches/ms4w/apps/dccss/include/dcmmap.php 2009-01-19 09:46:41 UTC (rev 369)
+++ branches/ms4w/apps/dccss/include/dcmmap.php 2009-01-28 08:12:25 UTC (rev 370)
@@ -433,6 +433,11 @@
$pointObj->setXY($_REQUEST['zoomX'], $_REQUEST['zoomY']);
$glrLayer = $gpoMap->getLayerByName("center");
$pointObj->draw($gpoMap, $glrLayer, $img, 0, 1);
+ }elseif($_REQUEST['zoomX2']!=''){
+ $pointObj = ms_newPointObj();
+ $pointObj->setXY($_REQUEST['zoomX2'], $_REQUEST['zoomY2']);
+ $glrLayer = $gpoMap->getLayerByName("center");
+ $pointObj->draw($gpoMap, $glrLayer, $img, 0, 1);
}
$url = $img->saveWebImage($gImagesFmt, 0, 0, -1);
@@ -449,7 +454,18 @@
$gpoMap->width);
printf("<input type=\"HIDDEN\" name=\"imageheight\" value=\"%d\" />",
$gpoMap->height);
-
+ if ($_REQUEST['zoomX']!=''){
+ printf("<input type=\"HIDDEN\" name=\"zoomX2\" value=\"%d\" />",
+ $_REQUEST['zoomX']);
+ printf("<input type=\"HIDDEN\" name=\"zoomY2\" value=\"%d\" />",
+ $_REQUEST['zoomY']);
+ } else{
+ printf("<input type=\"HIDDEN\" name=\"zoomX2\" value=\"%d\" />",
+ $_REQUEST['zoomX2']);
+ printf("<input type=\"HIDDEN\" name=\"zoomY2\" value=\"%d\" />",
+ $_REQUEST['zoomY2']);
+}
+
echo("<input type=\"image\" src=\"$url\" border=\"0\" width=\"".
$gpoMap->width."\" height=\"$gpoMap->height\" name=\"mainmap\" />");
Modified: branches/ms4w/apps/dccss/locale/ar/LC_MESSAGES/dccss.po
===================================================================
--- branches/ms4w/apps/dccss/locale/ar/LC_MESSAGES/dccss.po 2009-01-19 09:46:41 UTC (rev 369)
+++ branches/ms4w/apps/dccss/locale/ar/LC_MESSAGES/dccss.po 2009-01-28 08:12:25 UTC (rev 370)
@@ -2,7 +2,7 @@
msgstr ""
"Project-Id-Version: DCCSS\n"
"POT-Creation-Date: \n"
-"PO-Revision-Date: 2009-01-18 13:26+0200\n"
+"PO-Revision-Date: 2009-01-20 11:50+0200\n"
"Last-Translator: Maher Karim <Mah...@do...>\n"
"Language-Team: Dorsch <mah...@do...>\n"
"MIME-Version: 1.0\n"
@@ -3286,7 +3286,7 @@
#: ../../.././include/dataobject/Public_bill.php:35
#: ../../.././include/dataobject/Public_subscriber.php:205
msgid "Meter"
-msgstr "متر"
+msgstr "رقم العداد"
# c:\program
#: ../../.././Copy of include/dataobject/Public_bill.php:53
@@ -4598,9 +4598,8 @@
# c:\program
#: ../../.././include/dcmms/include/i18n.php:192
-#, fuzzy
msgid "meter"
-msgstr "متر"
+msgstr ""
# c:\program
#: ../../.././include/dcmms/include/i18n.php:193
Modified: branches/ms4w/apps/dccss/map.php
===================================================================
--- branches/ms4w/apps/dccss/map.php 2009-01-19 09:46:41 UTC (rev 369)
+++ branches/ms4w/apps/dccss/map.php 2009-01-28 08:12:25 UTC (rev 370)
@@ -557,14 +557,18 @@
if ($_REQUEST['minx']!=''){
?>
<tr><td><img src="images/todo.png" width="24" height="24"></td><td><?= ('<a href="print_ac.php?PHPSESSID='.session_id().
- '&action=mapExtent&minx='.$_REQUEST['minx'].'&miny='.$_REQUEST['miny'].'&maxx='.$_REQUEST['maxx'].'&maxy='.$_REQUEST['maxy'].'">'.
+ '&action=mapExtent&minx='.$_REQUEST['minx'].'&miny='.$_REQUEST['miny'].
+ '&maxx='.$_REQUEST['maxx'].'&maxy='.$_REQUEST['maxy'].'&zoomX2='.
+ $_REQUEST['zoomX2'].'&zoomY2='.$_REQUEST['zoomY2'].'">'.
_('[Print]').'</a>')?></td></tr>
<?php
}else{?>
- <tr><td><img src="images/todo.png" width="24" height="24"></td><td><?= ('<a href="print_ac.php?PHPSESSID='.session_id().
- '&action=mapExtent&minx='.$_POST['minx'].'&miny='.$_POST['miny'].'&maxx='.$_POST['maxx'].'&maxy='.$_POST['maxy'].'">'.
+ <tr><td><img src="images/todo.png" width="24" height="24">
+ </td><td><?= ('<a href="print_ac.php?PHPSESSID='.session_id().
+ '&action=mapExtent&minx='.$_POST['minx'].'&miny='.$_POST['miny'].
+ '&maxx='.$_POST['maxx'].'&maxy='.$_POST['maxy'].'">'.
_('[Print]').'</a>')?></td></tr>
<?php }
?>
Modified: branches/ms4w/apps/dccss/print_ac.php
===================================================================
--- branches/ms4w/apps/dccss/print_ac.php 2009-01-19 09:46:41 UTC (rev 369)
+++ branches/ms4w/apps/dccss/print_ac.php 2009-01-28 08:12:25 UTC (rev 370)
@@ -123,7 +123,28 @@
<tr><td class=label><font size=\"2\"><?= _("subsequence:") ?></td></tr>
<tr><td class=label><font size=\"2\"><?= _("pnr:") ?></td></tr>
<tr><td class=label><font size=\"2\"><?= _("new customer name:") ?></td><td><input type=text></td></tr>
- <tr><td class=label><font size=\"2\"><?= _("File No.:") ?></td><td><input type=text></td></tr>
+ <?php
+ $strQueryCheck="select nextval('annual_seq')";
+ $result1=pg_query($strQueryCheck);
+ $rowseqCheck = pg_fetch_array($result1);
+
+ if ($rowseqCheck[0]>date('Y')){
+ $strQueryYear="select setval('annual_seq',".date("Y")."),currval('annual_seq'),nextval('file_seq')";
+ $result = pg_query($strQueryYear);
+ $rowseq = pg_fetch_array($result);
+ }elseif ($rowseqCheck[1]<=date('Y')){
+ $strQueryYear="select setval('file_seq',1)";
+ $result = pg_query($strQueryYear);
+ $rowseq = pg_fetch_array($result);
+ /*
+
+
+ */
+ }
+
+ ?>
+ <tr><td class=label><font size=\"2\"><?= _("File No.:") ?></td>
+ <td><input type=text readonly=true value=<?= $rowseq[1].'/'.$rowseq[2] ?>> </td></tr>
<tr><td><img width=75 height=75 alt="North arrow" src="images/northarrow.png" ></td></tr>
</table>
</td>
@@ -202,6 +223,11 @@
$pointObj->setXY($pointX, $pointY);
$glrLayer = $map->getLayerByName("center");
$pointObj->draw($map, $glrLayer,$image, 0, 1);
+ $pointObj = ms_newPointObj();
+ $pointObj->setXY($_REQUEST['zoomX2'], $_REQUEST['zoomY2']);
+ $glrLayer =$map->getLayerByName("center");
+ $pointObj->draw($map, $glrLayer,$image, 0, 1);
+
$pointObj->free();
$image2 = $map->embedLegend($image);
$image_url=$image->saveWebImage("MS_PNG", 1, 1, 0);
Modified: branches/ms4w/apps/dccss/query.php
===================================================================
--- branches/ms4w/apps/dccss/query.php 2009-01-19 09:46:41 UTC (rev 369)
+++ branches/ms4w/apps/dccss/query.php 2009-01-28 08:12:25 UTC (rev 370)
@@ -179,10 +179,16 @@
_('Back to delivery point').'</a>','','view');
$DccssPage->add($objSubscriberTable->tohtml());
}
- }elseif ($_POST['area'][1]!=''){
- $strQuery = 'select dcmmstranslation(\''.$_SESSION['language'].
- '\',Name), Administra, village,gid from landmark where village='.$_POST['area'][1].' order by gid asc';
+ }elseif (($_POST['area'][1]!='0')&&($Queryform->exportValue('searchvalue')=='')){
+
+ $strQuery = "select dcmmstranslation('".$_SESSION['language'].
+ "',landmark.Name), dcmmstranslation('".$_SESSION['language'].
+ "',administrativearea.name), dcmmstranslation('".$_SESSION['language'].
+ "',village.name),landmark.gid from landmark
+left outer join administrativearea on (landmark.administra=administrativearea.codedvalue)
+left outer join village on (landmark.village=village.codedvalue) where village='".$_POST['area'][1]."' order by gid asc";
+
$result = pg_query($strQuery);
$numrows = pg_numrows($result);
$objTable->Query($strQuery);
@@ -213,7 +219,49 @@
$DccssPage->add($objTable->toHtml());
+ }elseif (($Queryform->exportValue('query')==0)&&($Queryform->exportValue('searchvalue')!='')){
+
+ $strQuery = "select dcmmstranslation('".$_SESSION['language'].
+ "',landmark.Name), dcmmstranslation('".$_SESSION['language'].
+ "',administrativearea.name), dcmmstranslation('".$_SESSION['language'].
+ "',village.name),landmark.gid from landmark
+left outer join administrativearea on (landmark.administra=administrativearea.codedvalue)
+left outer join village on (landmark.village=village.codedvalue)
+where dcmmstranslation('".$_SESSION['language'].
+ "',landmark.Name) like '%".$Queryform->exportValue('searchvalue')."%' order by gid asc";
+//print_r($strQuery);
+
+ $result = pg_query($strQuery);
+ $numrows = pg_numrows($result);
+ $objTable->Query($strQuery);
+
+ $objTable = new DbTable($DccssPage->postgis->db, $strQuery);
+ $objTable->addRows();
+ $numRowCount = $objTable->getRowCount();
+ if(($numRowCount > 0)) {
+ $objTable->setCellContents(0, 0, _("Landmark Name"), "TH");
+ $objTable->setCellContents(0, 1, _("Administrative Area"), "TH");
+ $objTable->setCellContents(0, 2, _("Village"), "TH");
+ $objTable->setCellContents(0, 3, _("Action"), "TH");
+ $i=1;
+ while ($arrRow = pg_fetch_row($result)) {
+
+ // for ($i==0;$i<$numRowCount;$i++){
+ // $arrRow =& pg_fetch_row($result);
+
+ $ref='<a href="deliverypointpage.php?PHPSESSID='.session_id().
+ '&action=mapLandmark&gid='.$arrRow[3].'&name='.$arrRow[0].'&village='.$arrRow[2].'">'.
+ _('[View on Map]').'</a>';
+ $objTable->setCellContents($i, 3, $ref. '<a href="print_ac.php?PHPSESSID='.session_id().
+ '&action=mapLandmark&gid='.$arrRow[3].'&name='.$arrRow[0].'&village='.$arrRow[2].'">'.
+ _('[Print]').'</a>');
+ $i++;
+ }
}
+
+$DccssPage->add($objTable->toHtml());
+
+ }
}
echo $DccssPage->toHTML();
Modified: branches/ms4w/apps/dccss/script/create_css_ddl.sql
===================================================================
--- branches/ms4w/apps/dccss/script/create_css_ddl.sql 2009-01-19 09:46:41 UTC (rev 369)
+++ branches/ms4w/apps/dccss/script/create_css_ddl.sql 2009-01-28 08:12:25 UTC (rev 370)
@@ -753,7 +753,18 @@
The following command can be used select dcrmroute(0), this will
process all routes, and select dcrmroute(2333) will
process only this route.';
-
+
+CREATE SEQUENCE annual_seq
+ INCREMENT 1
+ MINVALUE 1
+ MAXVALUE 9223372036854775807
+ START 2009
+ CACHE 1;
+CREATE SEQUENCE file_seq;
+select setval('annual_seq',2009);
+select setval('file_seq',1);
+grant all on annual_seq to public;
+grant all on file_seq to public;
-- Grants and user rights.
-- TODO: More permissions to be added, still give unsufficient permission.
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <mah...@us...> - 2009-01-19 09:46:50
|
Revision: 369
http://dccss.svn.sourceforge.net/dccss/?rev=369&view=rev
Author: maher_karim
Date: 2009-01-19 09:46:41 +0000 (Mon, 19 Jan 2009)
Log Message:
-----------
2009-01-19 Maher Abdel karim <mah...@do...>
* query.php:adjust the query to be only for the subscriber
table.Add more search options.
* print_ac.php: adjust the label size when printing.
* LC_MESSAGES/ar/dccss.po: update translations.
* map.php:adjust the print option to interact with the passed vars.
Modified Paths:
--------------
branches/ms4w/apps/dccss/changelog
branches/ms4w/apps/dccss/map.php
Modified: branches/ms4w/apps/dccss/changelog
===================================================================
--- branches/ms4w/apps/dccss/changelog 2009-01-19 09:37:09 UTC (rev 368)
+++ branches/ms4w/apps/dccss/changelog 2009-01-19 09:46:41 UTC (rev 369)
@@ -3,7 +3,8 @@
* query.php:adjust the query to be only for the subscriber
table.Add more search options.
* print_ac.php: adjust the label size when printing.
- * LC_MESSAGES/ar/dccss.po: update translations
+ * LC_MESSAGES/ar/dccss.po: update translations.
+ * map.php:adjust the print option to interact with the passed vars.
2009-01-13 Maher Abdel karim <mah...@do...>
Modified: branches/ms4w/apps/dccss/map.php
===================================================================
--- branches/ms4w/apps/dccss/map.php 2009-01-19 09:37:09 UTC (rev 368)
+++ branches/ms4w/apps/dccss/map.php 2009-01-19 09:46:41 UTC (rev 369)
@@ -553,10 +553,21 @@
<td>
<?= $toolDeliveryPoint->toHtml() ?></td>
</tr>
-
- <tr><td><img src="images/todo.png" width="24" height="24"></td><td><?= ('<a href="print_ac.php?PHPSESSID='.session_id().
+ <?php
+ if ($_REQUEST['minx']!=''){
+ ?>
+ <tr><td><img src="images/todo.png" width="24" height="24"></td><td><?= ('<a href="print_ac.php?PHPSESSID='.session_id().
+ '&action=mapExtent&minx='.$_REQUEST['minx'].'&miny='.$_REQUEST['miny'].'&maxx='.$_REQUEST['maxx'].'&maxy='.$_REQUEST['maxy'].'">'.
+ _('[Print]').'</a>')?></td></tr>
+
+
+ <?php
+ }else{?>
+ <tr><td><img src="images/todo.png" width="24" height="24"></td><td><?= ('<a href="print_ac.php?PHPSESSID='.session_id().
'&action=mapExtent&minx='.$_POST['minx'].'&miny='.$_POST['miny'].'&maxx='.$_POST['maxx'].'&maxy='.$_POST['maxy'].'">'.
_('[Print]').'</a>')?></td></tr>
+ <?php }
+ ?>
</table>
</td>
</tr>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <mah...@us...> - 2009-01-19 09:37:16
|
Revision: 368
http://dccss.svn.sourceforge.net/dccss/?rev=368&view=rev
Author: maher_karim
Date: 2009-01-19 09:37:09 +0000 (Mon, 19 Jan 2009)
Log Message:
-----------
2009-01-19 Maher Abdel karim <mah...@do...>
* query.php:adjust the query to be only for the subscriber
table.Add more search options.
* print_ac.php: adjust the label size when printing.
* LC_MESSAGES/ar/dccss.po: update translations
Modified Paths:
--------------
branches/ms4w/apps/dccss/changelog
branches/ms4w/apps/dccss/locale/ar/LC_MESSAGES/dccss.po
branches/ms4w/apps/dccss/print_ac.php
branches/ms4w/apps/dccss/query.php
Modified: branches/ms4w/apps/dccss/changelog
===================================================================
--- branches/ms4w/apps/dccss/changelog 2009-01-13 13:01:25 UTC (rev 367)
+++ branches/ms4w/apps/dccss/changelog 2009-01-19 09:37:09 UTC (rev 368)
@@ -1,3 +1,10 @@
+2009-01-19 Maher Abdel karim <mah...@do...>
+
+ * query.php:adjust the query to be only for the subscriber
+ table.Add more search options.
+ * print_ac.php: adjust the label size when printing.
+ * LC_MESSAGES/ar/dccss.po: update translations
+
2009-01-13 Maher Abdel karim <mah...@do...>
* query.php:Adjust the query form to have the ablility to search landmark.
Modified: branches/ms4w/apps/dccss/locale/ar/LC_MESSAGES/dccss.po
===================================================================
--- branches/ms4w/apps/dccss/locale/ar/LC_MESSAGES/dccss.po 2009-01-13 13:01:25 UTC (rev 367)
+++ branches/ms4w/apps/dccss/locale/ar/LC_MESSAGES/dccss.po 2009-01-19 09:37:09 UTC (rev 368)
@@ -2,7 +2,7 @@
msgstr ""
"Project-Id-Version: DCCSS\n"
"POT-Creation-Date: \n"
-"PO-Revision-Date: 2009-01-13 14:51+0200\n"
+"PO-Revision-Date: 2009-01-18 13:26+0200\n"
"Last-Translator: Maher Karim <Mah...@do...>\n"
"Language-Team: Dorsch <mah...@do...>\n"
"MIME-Version: 1.0\n"
@@ -181,7 +181,7 @@
# e:\program
#: ../../.././deliverypointpage.php:221
-#: ../../.././query.php:172
+#: ../../.././query.php:177
#: ../../.././subscriberpage.php:185
msgid "Back to delivery point"
msgstr "البحث عن نقطة المدخل باستخدام رقم التعريف"
@@ -369,7 +369,7 @@
#: ../../.././logbook_report.php:69
#: ../../.././logbook_report_subscriber.php:63
#: ../../.././meter_query_report.php:64
-#: ../../.././query.php:111
+#: ../../.././query.php:112
#: ../../.././taskforce_report.php:79
#: ../../.././admin/move_subscriber.php:76
#: ../../.././admin/processing.php:48
@@ -1376,7 +1376,7 @@
# e:\program
#: ../../.././map.php:559
-#: ../../.././query.php:202
+#: ../../.././query.php:207
#: ../../.././include/dataobject/Public_subscriber.php:227
msgid "[Print]"
msgstr "[طباعة]"
@@ -1650,47 +1650,51 @@
msgid "Query DeliverPoint Number"
msgstr "االاستفسار باستخدام نقطة الوصل"
+#: ../../.././query.php:53
+msgid "Baracode(PNR)"
+msgstr "رقم الباركود"
+
# c:\program
-#: ../../.././query.php:53
+#: ../../.././query.php:54
msgid "Query Meter Number"
msgstr "الاستفسار باستخدام الرقم الحديدي للعداد"
# c:\program
-#: ../../.././query.php:54
+#: ../../.././query.php:55
msgid "Query Subscriber Number"
msgstr "الاستفسار باستخدام رقم الاشتراك"
# c:\program
-#: ../../.././query.php:55
+#: ../../.././query.php:56
msgid "Query Subscriber name"
msgstr "الاستفسار باستخدام اسم المشترك"
# c:\program
-#: ../../.././query.php:56
+#: ../../.././query.php:57
msgid "Query Meter cabinet"
msgstr "الاستفسار باستخدام رقم الكابينة"
# e:\program
-#: ../../.././query.php:57
+#: ../../.././query.php:58
msgid "Query Landmark"
msgstr "البحث باستخدام معلم"
-#: ../../.././query.php:61
+#: ../../.././query.php:62
#: ../../.././include/dcmms/include/i18n.php:351
#: ../../.././include/dcmms/include/i18n.php:352
msgid "Area:"
msgstr "المنطقة:"
-#: ../../.././query.php:62
+#: ../../.././query.php:63
msgid "Narrow down the area in which to search for points of interest."
msgstr ""
# e:\program
-#: ../../.././query.php:66
-#: ../../.././query.php:76
-#: ../../.././query.php:82
-#: ../../.././query.php:89
-#: ../../.././query.php:95
+#: ../../.././query.php:67
+#: ../../.././query.php:77
+#: ../../.././query.php:83
+#: ../../.././query.php:90
+#: ../../.././query.php:96
#: ../../.././Copy of
#: include/header.php:306
#: ../../.././include/header.php:306
@@ -1699,28 +1703,28 @@
msgstr "[اختر واحدة]"
# e:\program
-#: ../../.././query.php:104
+#: ../../.././query.php:105
msgid "Search The Database"
msgstr "البحث في قاعدة البيانات"
# e:\program
-#: ../../.././query.php:187
+#: ../../.././query.php:192
msgid "Landmark Name"
msgstr "اسم المعلم"
# c:\program
-#: ../../.././query.php:188
+#: ../../.././query.php:193
msgid "Administrative Area"
msgstr "المنطقة"
# c:\program
-#: ../../.././query.php:189
+#: ../../.././query.php:194
#: ../../.././include/dcmms/include/i18n.php:326
msgid "Village"
msgstr "القرية"
# e:\program
-#: ../../.././query.php:190
+#: ../../.././query.php:195
#: ../../.././Copy of include/header.php:445
#: include/i18n.php:24
#: include/dataobject/Public_bill.php:38
@@ -1736,7 +1740,7 @@
# D:\dccss\dccss/deliverypointpage.php:107
# D:\dccss\dccss/deliverypointpage.php:138
-#: ../../.././query.php:199
+#: ../../.././query.php:204
#: ../../.././Copy of
#: include/dataobject/Public_subscriber.php:224
#: ../../.././include/dataobject/Public_subscriber.php:224
Modified: branches/ms4w/apps/dccss/print_ac.php
===================================================================
--- branches/ms4w/apps/dccss/print_ac.php 2009-01-13 13:01:25 UTC (rev 367)
+++ branches/ms4w/apps/dccss/print_ac.php 2009-01-19 09:37:09 UTC (rev 368)
@@ -176,6 +176,18 @@
$objLayer->set("status",MS_OFF);
$objLayer = $map->getlayerbyname('pressurizedmain');
$objLayer->set("status",MS_ON);
+ $objLayer = $map->getlayerbyname('DeliveryPoint');
+$oClass =$objLayer->getClass(0);;
+$oClass->label->set("font", "arial");
+ $oClass->label->set("type", MS_TRUETYPE);
+ $oClass->label->set("size", 20);
+
+ $objLayer = $map->getlayerbyname('landmark');
+$oClass =$objLayer->getClass(0);;
+$oClass->label->set("font", "arial");
+ $oClass->label->set("type", MS_TRUETYPE);
+ $oClass->label->set("size", 20);
+
$objLayer = $map->getlayerbyname('collection');
$objLayer->set("status", MS_ON);
$objLayer = $map->getlayerbyname('grid');
Modified: branches/ms4w/apps/dccss/query.php
===================================================================
--- branches/ms4w/apps/dccss/query.php 2009-01-13 13:01:25 UTC (rev 367)
+++ branches/ms4w/apps/dccss/query.php 2009-01-19 09:37:09 UTC (rev 368)
@@ -41,8 +41,7 @@
-$tablename='public.subscriber';
-$arrTable=array('bill'=>_('Bill'),'subscriber'=>_('Subscriber'));
+$arrTable=array('subscriber'=>_('Subscriber'));
$Queryform = new HTML_QuickForm('printForm');
// Add some elements to the form
$Queryform->addElement('header', null, _('Query Using Subscriber Information'));
@@ -50,6 +49,7 @@
$Queryform->addElement('text', 'searchvalue', _('Enter Search Value:'),
array('size' => 50, 'maxlength' => 128));
$Queryform->addElement('radio', 'query',_('Query DeliverPoint Number'),'',5);
+$Queryform->addElement('radio', 'query',_('Baracode(PNR)'),'',6);
$Queryform->addElement('radio', 'query',_('Query Meter Number'),'',1);
$Queryform->addElement('radio', 'query',_('Query Subscriber Number'),'',2);
$Queryform->addElement('radio', 'query',_('Query Subscriber name'),'',3);
@@ -115,7 +115,8 @@
if($Queryform->validate()) {
if(($Queryform->exportValue('Table')=='bill')&&
($Queryform->exportValue('query')!=4)){
- $tablename='public.'.$Queryform->exportValue('Table');
+ //$tablename='public.'.$Queryform->exportValue('Table');
+ $tablename='public.subscriber';
$strQuery="select logbook,sequence,subsequence,name,subscribernumber,
meternumber from ".$Queryform->exportValue('Table')." where ";
if (($Queryform->exportValue('query')==1)){
@@ -129,10 +130,14 @@
$strWhere="name='".$Queryform->exportValue('searchvalue')."'";
} elseif ($Queryform->exportValue('query')==5){
$strWhere="sequence='".$Queryform->exportValue('searchvalue')."'";
+ } elseif ($Queryform->exportValue('query')==6){
+ $strWhere="paracodee='".$Queryform->exportValue('searchvalue')."'";
}
}else{
- $tablename='public.'.$Queryform->exportValue('Table');
+
+ // $tablename='public.'.$Queryform->exportValue('Table');
+ $tablename='public.subscriber';
$strQuery="select deliverypoint.sequence,subscriber.sequence as s,subscriber.logbooknumber,subscriber.name,subscriber.id,
subscriber.geocode,subscriber.serialnumber,subscriber.subscription,subscriber.subsequence
from deliverypoint,subscriber where
@@ -149,6 +154,8 @@
$Queryform->exportValue('searchvalue')."')";
} elseif ($Queryform->exportValue('query')==5){
$strWhere=" and deliverypoint.sequence=".$Queryform->exportValue('searchvalue');
+ } elseif ($Queryform->exportValue('query')==6){
+ $strWhere=" and paracode='".$Queryform->exportValue('searchvalue')."'";
}
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <mah...@us...> - 2009-01-13 13:01:34
|
Revision: 367
http://dccss.svn.sourceforge.net/dccss/?rev=367&view=rev
Author: maher_karim
Date: 2009-01-13 13:01:25 +0000 (Tue, 13 Jan 2009)
Log Message:
-----------
2009-01-13 Maher Abdel karim <mah...@do...>
* query.php:Adjust the query form to have the ablility to search landmark.
* print_ac.php: Add more option to print for passed landmark information.
* deliverypointpage.php:Handling forwarded landmark information.
* LC_MESSAGES/ar/dccss.po: update translations
* conf/dccss_pewssa_%.map: extend the extent.
* map.php: Add the print option to print the current map extent.
* images/todo.png:added
Modified Paths:
--------------
branches/ms4w/apps/dccss/changelog
branches/ms4w/apps/dccss/conf/dccss_pewssa_ar.map
branches/ms4w/apps/dccss/conf/dccss_pewssa_en.map
branches/ms4w/apps/dccss/deliverypointpage.php
branches/ms4w/apps/dccss/locale/ar/LC_MESSAGES/dccss.po
branches/ms4w/apps/dccss/map.php
branches/ms4w/apps/dccss/print_ac.php
branches/ms4w/apps/dccss/query.php
Added Paths:
-----------
branches/ms4w/apps/dccss/images/todo.png
Modified: branches/ms4w/apps/dccss/changelog
===================================================================
--- branches/ms4w/apps/dccss/changelog 2009-01-12 11:16:19 UTC (rev 366)
+++ branches/ms4w/apps/dccss/changelog 2009-01-13 13:01:25 UTC (rev 367)
@@ -1,3 +1,13 @@
+2009-01-13 Maher Abdel karim <mah...@do...>
+
+ * query.php:Adjust the query form to have the ablility to search landmark.
+ * print_ac.php: Add more option to print for passed landmark information.
+ * deliverypointpage.php:Handling forwarded landmark information.
+ * LC_MESSAGES/ar/dccss.po: update translations
+ * conf/dccss_pewssa_%.map: extend the extent.
+ * map.php: Add the print option to print the current map extent.
+ * images/todo.png:added
+
2009-01-12 Maher Abdel karim <mah...@do...>
* logon.php:Adjust page call
Modified: branches/ms4w/apps/dccss/conf/dccss_pewssa_ar.map
===================================================================
--- branches/ms4w/apps/dccss/conf/dccss_pewssa_ar.map 2009-01-12 11:16:19 UTC (rev 366)
+++ branches/ms4w/apps/dccss/conf/dccss_pewssa_ar.map 2009-01-13 13:01:25 UTC (rev 367)
@@ -1,11 +1,11 @@
# MapFile created with Gix Export Tool - Tue Sep 13 15:39:23 2005
# http://gix.sourceforge.net
-# View Date : 10 �����, 1426 03:16:23 �
+# View Date : 10 ?????, 1426 03:16:23 ?
#
MAP
NAME 'DCCSS PEWSSA Map'
SIZE 550 400
- EXTENT -183076.82522917 225997.13100660 -178289.90618735 228999.64686146
+ EXTENT -214775 207762 -96454 241194
UNITS meters
RESOLUTION 72
@@ -27,7 +27,7 @@
REFERENCE
IMAGE '../images/dccss.jpg'
- EXTENT -183076.82522917 225997.13100660 -178289.90618735 228999.64686146
+ EXTENT -214775 207762 -96454 241194
STATUS on
COLOR -1 -1 -1
OUTLINECOLOR 255 255 0
Modified: branches/ms4w/apps/dccss/conf/dccss_pewssa_en.map
===================================================================
--- branches/ms4w/apps/dccss/conf/dccss_pewssa_en.map 2009-01-12 11:16:19 UTC (rev 366)
+++ branches/ms4w/apps/dccss/conf/dccss_pewssa_en.map 2009-01-13 13:01:25 UTC (rev 367)
@@ -5,7 +5,7 @@
MAP
NAME 'DCCSS PEWSSA Map'
SIZE 550 400
- EXTENT 163999.044455 111964.777588 260032.211613 189437.688401
+ EXTENT -214775 207762 -96454 241194
UNITS meters
RESOLUTION 72
@@ -26,7 +26,7 @@
REFERENCE
IMAGE '../images/dccss.jpg'
- EXTENT 163999.044455 111964.777588 260032.211613 189437.688401
+ EXTENT -214775 207762 -96454 241194
STATUS on
COLOR -1 -1 -1
OUTLINECOLOR 255 255 0
Modified: branches/ms4w/apps/dccss/deliverypointpage.php
===================================================================
--- branches/ms4w/apps/dccss/deliverypointpage.php 2009-01-12 11:16:19 UTC (rev 366)
+++ branches/ms4w/apps/dccss/deliverypointpage.php 2009-01-13 13:01:25 UTC (rev 367)
@@ -72,37 +72,36 @@
$miny = $r[1]-25;
$maxx = $r[0]+25;
$maxy = $r[1]+25;
-
- /* $gpoMap = ms_newMapObj(sprintf($_SESSION["strMapFile"],
- substr($_SESSION['language'], 0, 2)));
- $pointObj = ms_newPointObj();
- $pointObj->setXY($r[0], $r[1]);
- $glrLayer= ms_newlayerobj($gpoMap);//
- $lName = "DeliveryPoint";
- $oLayer=$gpoMap->getlayerbyname("grid") or
- die("Unable to getLayerByName($lName)");
- $a=$oLayer->set("status",0);
- $glrLayer->getLayerByName("DeliveryPoint");
- $glrLayer->set("name","GRID");
- ms_newgridobj($glrLayer);
- $glrLayer->grid->set("labelformat","DDMMSS");
+ header("location: map.php?PHPSESSID=".$_REQUEST["PHPSESSID"].
+ "&gravitymain=Y&pressurizedmain=Y&ViewRegion=Quick+".
+ "View&minx=$minx&miny=$miny&maxx=$maxx&maxy=$maxy&imagewidth=400&".
+ "imageheight=300&CMD=ZOOM_DeliveryPoint".
+ "&KEYMAPXSIZE=120&KEYMAPYSIZE=90&MapSize=400%2C300&PREVIOUS_MODE=1&zoomX=".$r[0]."&zoomY=".$r[1]);
+ exit();
+ }
+ }
+ } else {
+ $dccssPage->importantParagraph(
+ _("FATAL ERROR: No id provided in request."));
+ die();
+ }
+ break;
+case "mapLandmark":
+ if(array_key_exists("gid", $_REQUEST)) {
+ $query = "select X(the_geom), Y(the_geom) from landmark where gid='".
+ $_REQUEST["gid"]."'";
+ //echo($query);
+ $result = pg_query($query);
+ $numrows = pg_numrows($result);
+ if($numrows > 0) {
+ for($i=0; $i<$numrows; $i++) {
+ $r = pg_fetch_row($result, $i);
+ $minx = $r[0]-100;
+ $miny = $r[1]-100;
+ $maxx = $r[0]+100;
+ $maxy = $r[1]+100;
- $gpoMap->queryByPoint($pointObj, 2, 5);
- $gbShowQueryResults = TRUE;
- $oClass = ms_newClassObj($oLayer);
- $oStyle = ms_newStyleObj($oClass);
- $oStyle->set("size", $i*2 + 5 ) ;
- $oStyle->set("symbol", $i) ;
- $oStyle->color->setRGB(50*$i, 25, 0); //Very cheap way to vary the colors, You can do better!!
- $oClass->set("status", MS_ON);
-
- $img = $gpoMap->drawQuery($gpoMap);
-
- $pointObj->draw($gpoMap, $glrLayer, $img, 0, 1);
-
- */
-
header("location: map.php?PHPSESSID=".$_REQUEST["PHPSESSID"].
"&gravitymain=Y&pressurizedmain=Y&ViewRegion=Quick+".
"View&minx=$minx&miny=$miny&maxx=$maxx&maxy=$maxy&imagewidth=400&".
@@ -117,8 +116,8 @@
die();
}
break;
- }
}
+}
/**
* \todo Link to map.
Added: branches/ms4w/apps/dccss/images/todo.png
===================================================================
(Binary files differ)
Property changes on: branches/ms4w/apps/dccss/images/todo.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Modified: branches/ms4w/apps/dccss/locale/ar/LC_MESSAGES/dccss.po
===================================================================
--- branches/ms4w/apps/dccss/locale/ar/LC_MESSAGES/dccss.po 2009-01-12 11:16:19 UTC (rev 366)
+++ branches/ms4w/apps/dccss/locale/ar/LC_MESSAGES/dccss.po 2009-01-13 13:01:25 UTC (rev 367)
@@ -2,7 +2,7 @@
msgstr ""
"Project-Id-Version: DCCSS\n"
"POT-Creation-Date: \n"
-"PO-Revision-Date: 2008-12-23 15:15+0200\n"
+"PO-Revision-Date: 2009-01-13 14:51+0200\n"
"Last-Translator: Maher Karim <Mah...@do...>\n"
"Language-Team: Dorsch <mah...@do...>\n"
"MIME-Version: 1.0\n"
@@ -118,32 +118,33 @@
msgstr "رمز العنوان الجغرافي"
# e:\program
-#: ../../.././deliverypointpage.php:116
+#: ../../.././deliverypointpage.php:86
+#: ../../.././deliverypointpage.php:115
msgid "FATAL ERROR: No id provided in request."
msgstr "خطأ نظام: لا يوجد رقم وصول في الطلب"
# D:\dccss\dccss/deliverypointpage.php:107
# D:\dccss\dccss/deliverypointpage.php:138
-#: ../../.././deliverypointpage.php:137
-#: ../../.././deliverypointpage.php:146
-#: ../../.././deliverypointpage.php:196
+#: ../../.././deliverypointpage.php:136
+#: ../../.././deliverypointpage.php:145
+#: ../../.././deliverypointpage.php:195
msgid "View on Map"
msgstr "اظهار على الخريطة"
# e:\program
-#: ../../.././deliverypointpage.php:143
+#: ../../.././deliverypointpage.php:142
msgid "Delivery Point #"
msgstr "رمز العنوان# :"
# e:\program
-#: ../../.././deliverypointpage.php:162
+#: ../../.././deliverypointpage.php:161
msgid ""
"FATAL ERROR: No Record found for the provided Deliverypoint in the\n"
"\t request.</p>"
msgstr "خطأ نظام: لا يوجد رقم وصول في الطلب"
# c:\program
-#: ../../.././deliverypointpage.php:169
+#: ../../.././deliverypointpage.php:168
#: ../../.././subscriberpage.php:223
#: ../../.././Copy of include/dataobject/Public_deliverypoint.php:164
#: include/dataobject/Public_subscriber.php:112
@@ -163,24 +164,24 @@
msgstr "حفظ"
# c:\program
-#: ../../.././deliverypointpage.php:181
+#: ../../.././deliverypointpage.php:180
#: ../../.././subscriberpage.php:110
msgid "Failed to save record(s)."
msgstr "لم تتم عملية حفظ السجل/السجلات بنجاح"
# c:\program
-#: ../../.././deliverypointpage.php:190
+#: ../../.././deliverypointpage.php:189
msgid "Record(s) successfully saved."
msgstr "تمت عملية حفظ السجل/السجلات بنجاح"
# e:\program
-#: ../../.././deliverypointpage.php:192
+#: ../../.././deliverypointpage.php:191
msgid "Add Subscriber"
msgstr "اضافة مشترك"
# e:\program
-#: ../../.././deliverypointpage.php:222
-#: ../../.././query.php:169
+#: ../../.././deliverypointpage.php:221
+#: ../../.././query.php:172
#: ../../.././subscriberpage.php:185
msgid "Back to delivery point"
msgstr "البحث عن نقطة المدخل باستخدام رقم التعريف"
@@ -368,7 +369,7 @@
#: ../../.././logbook_report.php:69
#: ../../.././logbook_report_subscriber.php:63
#: ../../.././meter_query_report.php:64
-#: ../../.././query.php:108
+#: ../../.././query.php:111
#: ../../.././taskforce_report.php:79
#: ../../.././admin/move_subscriber.php:76
#: ../../.././admin/processing.php:48
@@ -1197,7 +1198,6 @@
msgstr "خروج المستخدم '%s'"
# e:\program
-#: ../../.././logon.php:181
#: ../../.././logon.php:182
msgid "Logon to DCCSS"
msgstr "الدخول الى نظام DCCSS"
@@ -1374,6 +1374,13 @@
msgid "Identify"
msgstr "اداة التعريف"
+# e:\program
+#: ../../.././map.php:559
+#: ../../.././query.php:202
+#: ../../.././include/dataobject/Public_subscriber.php:227
+msgid "[Print]"
+msgstr "[طباعة]"
+
# c:\program
#: ../../.././meter_query_report.php:49
msgid "Query using Meter Serial Number"
@@ -1405,79 +1412,79 @@
msgid "Task force workorder"
msgstr "امر عمل مجموعة عمل"
-#: ../../.././print_ac.php:69
+#: ../../.././print_ac.php:56
#: ../../.././print_workorder.php:64
#: ../../.././Copy of include/i18n.php:121
#: ../../.././include/i18n.php:121
msgid "German Technical Cooperation-GTZ"
msgstr "الوكالة الالمانية للتعاون الفني- GTZ"
-#: ../../.././print_ac.php:70
+#: ../../.././print_ac.php:57
#: ../../.././print_workorder.php:65
#: ../../.././Copy of include/i18n.php:122
#: ../../.././include/i18n.php:122
msgid "Institutional Support to Aleppo Water establishment"
msgstr "مشروع تحديث قطاع المياه السوري-حلب"
-#: ../../.././print_ac.php:74
+#: ../../.././print_ac.php:61
msgid "Address confirmation"
msgstr "توثيق العنوان الجغرافي للمشترك الجديد (AC)"
-#: ../../.././print_ac.php:75
+#: ../../.././print_ac.php:62
#: ../../.././print_workorder.php:72
#: ../../.././Copy of include/i18n.php:134
#: ../../.././include/i18n.php:134
msgid "Date:"
msgstr "التاريخ:"
-#: ../../.././print_ac.php:102
+#: ../../.././print_ac.php:75
msgid "Geographic location for new customer neigboor"
msgstr "العنوان الجغرافي للمجاور"
-#: ../../.././print_ac.php:129
+#: ../../.././print_ac.php:117
msgid "Geographic location for new customer"
msgstr "العنوان الجغرافي للمشترك الجديد"
# c:\program
-#: ../../.././print_ac.php:130
+#: ../../.././print_ac.php:118
msgid "routeid:"
msgstr "رقم المسار:"
# c:\program
-#: ../../.././print_ac.php:131
+#: ../../.././print_ac.php:119
msgid "customerlocation:"
msgstr "موقع المشترك:"
# c:\program
-#: ../../.././print_ac.php:132
+#: ../../.././print_ac.php:120
msgid "meterlocation:"
msgstr "موقع العداد:"
# c:\program
-#: ../../.././print_ac.php:133
+#: ../../.././print_ac.php:121
msgid "logbook:"
msgstr "رقم المجلد:"
# c:\program
-#: ../../.././print_ac.php:134
+#: ../../.././print_ac.php:122
msgid "sequence:"
msgstr "رقم التخصيص:"
# c:\program
-#: ../../.././print_ac.php:135
+#: ../../.././print_ac.php:123
msgid "subsequence:"
msgstr "رقم التخصيص الفرعي:"
-#: ../../.././print_ac.php:136
+#: ../../.././print_ac.php:124
msgid "pnr:"
msgstr "رقم الباركود:"
-#: ../../.././print_ac.php:137
+#: ../../.././print_ac.php:125
msgid "new customer name:"
msgstr "اسم المشترك الجديد:"
# c:\program
-#: ../../.././print_ac.php:138
+#: ../../.././print_ac.php:126
msgid "File No.:"
msgstr "رقم الملف:"
@@ -1664,16 +1671,79 @@
msgstr "الاستفسار باستخدام رقم الكابينة"
# e:\program
-#: ../../.././query.php:100
+#: ../../.././query.php:57
+msgid "Query Landmark"
+msgstr "البحث باستخدام معلم"
+
+#: ../../.././query.php:61
+#: ../../.././include/dcmms/include/i18n.php:351
+#: ../../.././include/dcmms/include/i18n.php:352
+msgid "Area:"
+msgstr "المنطقة:"
+
+#: ../../.././query.php:62
+msgid "Narrow down the area in which to search for points of interest."
+msgstr ""
+
+# e:\program
+#: ../../.././query.php:66
+#: ../../.././query.php:76
+#: ../../.././query.php:82
+#: ../../.././query.php:89
+#: ../../.././query.php:95
+#: ../../.././Copy of
+#: include/header.php:306
+#: ../../.././include/header.php:306
+#: ../../.././include/dcmms/include/dcmmsreport.php:119
+msgid "[Select One]"
+msgstr "[اختر واحدة]"
+
+# e:\program
+#: ../../.././query.php:104
msgid "Search The Database"
msgstr "البحث في قاعدة البيانات"
+# e:\program
+#: ../../.././query.php:187
+msgid "Landmark Name"
+msgstr "اسم المعلم"
+
# c:\program
-#: ../../.././query.php:105
-msgid "Please enter the Query number."
-msgstr "ادخل قيمة البحث"
+#: ../../.././query.php:188
+msgid "Administrative Area"
+msgstr "المنطقة"
# c:\program
+#: ../../.././query.php:189
+#: ../../.././include/dcmms/include/i18n.php:326
+msgid "Village"
+msgstr "القرية"
+
+# e:\program
+#: ../../.././query.php:190
+#: ../../.././Copy of include/header.php:445
+#: include/i18n.php:24
+#: include/dataobject/Public_bill.php:38
+#: include/dataobject/Public_subscriber.php:208
+#: ../../.././include/header.php:445
+#: ../../.././include/i18n.php:24
+#: ../../.././include/dataobject/Public_bill.php:38
+#: ../../.././include/dataobject/Public_subscriber.php:208
+#: ../../.././include/dcmms/include/i18n.php:26
+#: ../../.././include/dcmms/include/dataobject/Translation.php:111
+msgid "Action"
+msgstr "العملية"
+
+# D:\dccss\dccss/deliverypointpage.php:107
+# D:\dccss\dccss/deliverypointpage.php:138
+#: ../../.././query.php:199
+#: ../../.././Copy of
+#: include/dataobject/Public_subscriber.php:224
+#: ../../.././include/dataobject/Public_subscriber.php:224
+msgid "[View on Map]"
+msgstr "[اظهار على الخريطة]"
+
+# c:\program
#: ../../.././reports.php:34
msgid "Create No bill available status report"
msgstr "خلق تقرير الاشتراكات الغير موجودة"
@@ -2218,11 +2288,11 @@
msgid "Please enter the processing value or enter 0 to process all data."
msgstr "الرجاء ادخال القيمة المرغوب بمعالجتها او ادخل صفر لمعالجة جميع البيانات"
-#: ../../.././admin/processing.php:65
+#: ../../.././admin/processing.php:70
msgid "Data processing is done."
msgstr "تمت معالجة البيانات."
-#: ../../.././admin/processing.php:68
+#: ../../.././admin/processing.php:73
msgid "Failed to process the data."
msgstr "لم تتم عملية المعالجة بنجاح"
@@ -2735,13 +2805,6 @@
msgid "from the list"
msgstr "من القائمة"
-# e:\program
-#: ../../.././Copy of include/header.php:306
-#: ../../.././include/header.php:306
-#: ../../.././include/dcmms/include/dcmmsreport.php:119
-msgid "[Select One]"
-msgstr "[اختر واحدة]"
-
# c:\program
#: ../../.././Copy of include/header.php:350
#: include/header.php:363
@@ -2763,20 +2826,6 @@
msgstr "الى مربع النص"
# e:\program
-#: ../../.././Copy of include/header.php:445
-#: include/i18n.php:24
-#: include/dataobject/Public_bill.php:38
-#: include/dataobject/Public_subscriber.php:208
-#: ../../.././include/header.php:445
-#: ../../.././include/i18n.php:24
-#: ../../.././include/dataobject/Public_bill.php:38
-#: ../../.././include/dataobject/Public_subscriber.php:208
-#: ../../.././include/dcmms/include/i18n.php:26
-#: ../../.././include/dcmms/include/dataobject/Translation.php:111
-msgid "Action"
-msgstr "العملية"
-
-# e:\program
#: ../../.././Copy of include/header.php:472
#: ../../.././include/header.php:472
msgid "Please click the link to go to the "
@@ -2847,9 +2896,8 @@
# c:\program
#: ../../.././Copy of include/i18n.php:35
#: ../../.././include/i18n.php:35
-#, fuzzy
msgid "Cubic Meter"
-msgstr "متر"
+msgstr "مترمكعب"
# c:\program
#: ../../.././Copy of include/i18n.php:36
@@ -2995,9 +3043,8 @@
# c:\program
#: ../../.././Copy of include/i18n.php:64
#: ../../.././include/i18n.php:64
-#, fuzzy
msgid "Flatcount"
-msgstr "عدد الطوابق:"
+msgstr "عدد الشقق"
# c:\program
#: ../../.././Copy of include/i18n.php:65
@@ -3041,9 +3088,8 @@
#: ../../.././Copy of include/i18n.php:80
#: ../../.././include/i18n.php:80
#: ../../.././include/dcmms/include/i18n.php:255
-#, fuzzy
msgid "Residential"
-msgstr "تنظيف النموذج"
+msgstr "منزلي"
# c:\program
#: ../../.././Copy of include/i18n.php:84
@@ -3074,7 +3120,7 @@
#: ../../.././Copy of include/i18n.php:92
#: ../../.././include/i18n.php:92
msgid "Reading"
-msgstr ""
+msgstr "قراءة"
# c:\program
#: ../../.././Copy of include/i18n.php:93
@@ -3125,7 +3171,7 @@
#: ../../.././include/i18n.php:101
#: ../../.././include/dcmms/include/i18n.php:77
msgid "Count"
-msgstr ""
+msgstr "العدد"
# e:\program
#: ../../.././Copy of include/i18n.php:103
@@ -3672,13 +3718,6 @@
msgid "DeliveryPoint #"
msgstr "رقم نقطة الوصول #"
-# D:\dccss\dccss/deliverypointpage.php:107
-# D:\dccss\dccss/deliverypointpage.php:138
-#: ../../.././Copy of include/dataobject/Public_subscriber.php:224
-#: ../../.././include/dataobject/Public_subscriber.php:224
-msgid "[View on Map]"
-msgstr "[اظهار على الخريطة]"
-
# e:\program
#: ../../.././Copy of include/dataobject/Public_subscriber.php:230
#: ../../.././include/dataobject/Public_subscriber.php:233
@@ -3717,11 +3756,6 @@
msgstr "رقم الغرفة الجماعية (كابينة):"
# e:\program
-#: ../../.././include/dataobject/Public_subscriber.php:227
-msgid "[Print]"
-msgstr "[طباعة]"
-
-# e:\program
#: ../../.././include/dcmms/include/dcmmaputil.php:274
#, fuzzy
msgid "Accept Location"
@@ -3750,7 +3784,7 @@
#: ../../.././include/dcmms/include/dcmmspage.php:305
msgid "Find"
-msgstr ""
+msgstr "بحث"
# c:\program
#: ../../.././include/dcmms/include/dcmmspage.php:345
@@ -4058,9 +4092,8 @@
# c:\program
#: ../../.././include/dcmms/include/i18n.php:78
-#, fuzzy
msgid "cubic meter"
-msgstr "متر"
+msgstr "مترمكعب"
#: ../../.././include/dcmms/include/i18n.php:79
msgid "Cultural Facility"
@@ -4095,13 +4128,11 @@
# c:\program
#: ../../.././include/dcmms/include/i18n.php:86
#: ../../.././include/dcmms/include/dataobject/Team.php:106
-#, fuzzy
msgid "Description:"
msgstr "وصف"
# c:\program
#: ../../.././include/dcmms/include/i18n.php:87
-#, fuzzy
msgid "description"
msgstr "وصف"
@@ -5136,12 +5167,6 @@
msgstr "[معاينة]"
# c:\program
-#: ../../.././include/dcmms/include/i18n.php:326
-#, fuzzy
-msgid "Village"
-msgstr "فيلا"
-
-# c:\program
#: ../../.././include/dcmms/include/i18n.php:327
#, fuzzy
msgid "village"
@@ -5241,11 +5266,6 @@
msgid "WorkorderID"
msgstr ""
-#: ../../.././include/dcmms/include/i18n.php:351
-#: ../../.././include/dcmms/include/i18n.php:352
-msgid "Area:"
-msgstr ""
-
# c:\program
#: ../../.././include/dcmms/include/i18n.php:353
#: ../../.././include/dcmms/include/dataobject/Maintenance.php:109
Modified: branches/ms4w/apps/dccss/map.php
===================================================================
--- branches/ms4w/apps/dccss/map.php 2009-01-12 11:16:19 UTC (rev 366)
+++ branches/ms4w/apps/dccss/map.php 2009-01-13 13:01:25 UTC (rev 367)
@@ -553,6 +553,10 @@
<td>
<?= $toolDeliveryPoint->toHtml() ?></td>
</tr>
+
+ <tr><td><img src="images/todo.png" width="24" height="24"></td><td><?= ('<a href="print_ac.php?PHPSESSID='.session_id().
+ '&action=mapExtent&minx='.$_POST['minx'].'&miny='.$_POST['miny'].'&maxx='.$_POST['maxx'].'&maxy='.$_POST['maxy'].'">'.
+ _('[Print]').'</a>')?></td></tr>
</table>
</td>
</tr>
Modified: branches/ms4w/apps/dccss/print_ac.php
===================================================================
--- branches/ms4w/apps/dccss/print_ac.php 2009-01-12 11:16:19 UTC (rev 366)
+++ branches/ms4w/apps/dccss/print_ac.php 2009-01-13 13:01:25 UTC (rev 367)
@@ -48,19 +48,6 @@
<table border="1" summary="Header" width="98%" height="4%" cellspacing="0"
cellpadding="0" nowrap="nowrap">
<tr>
- <?php
- $query = "select css_to_billing.customerlocation,css_to_billing.meterlocation,metercabinet.pewssaid,
- css_to_billing.paracode,
- css_to_billing.logbooknumber,css_to_billing.sequence,css_to_billing.subsequence
- ,css_to_billing.name,css_to_billing.routeid from css_to_billing
- left outer join deliverypoint on
- (css_to_billing.customerlocation=deliverypoint.sequence) left outer join metercabinet
- on (css_to_billing.meterlocation=metercabinet.id)
- where deliverypoint.geocode=".$_REQUEST['geocode'];
- //echo ($query);
- $result = pg_query($query);
- $numfields = pg_numfields($result);
- $row = pg_fetch_array($result);?>
<td align="left" ><a style="vertical-align: left;"
href="index.php?PHPSESSID=<?= session_id()?>"><img
@@ -84,23 +71,24 @@
<td width="30%" height="80%" valign="top">
<table cellspacing="0" cellpadding="0"> <?php
- //Customer information
- /*echo("<tr><td class=\"input\"><font size=\"2\"><b>".$row[0]."</b></font></td>");
- echo("<td width=\"%95\" class=\"label\"> <font size=\"2\">"._(pg_fieldname($result, 0))."</td></tr>");
- echo("<tr><td class=\"input\"><font size=\"2\"><b>".$row[1]."</b></font></td>");
- echo("<td width=\"%26\" class=\"label\"> <font size=\"2\">"._(pg_fieldname($result, 1))."</td></tr>");
- echo("<tr><td class=\"input\"><font size=\"2\"><b>".$row[2]."</b></font></td>");
- echo("<td class=\"label\"><font size=\"2\">"._(pg_fieldname($result, 2))."</td></tr>");
- echo("<tr><td class=\"input\"><font size=\"2\"><b>".$row[3]."</b></font></td>");
- echo("<td width=\"%26\" class=\"label\"> <font size=\"2\">"._(pg_fieldname($result, 3))."</td></tr>");
- echo("<tr><td class=\"input\"><font size=\"2\"><b>".$row[4]."</b></font></td>");
- echo("<td width=\"%26\" class=\"label\"> <font size=\"2\">"._(pg_fieldname($result, 4))."</td></tr>");
- echo("<tr><td class=\"input\"><font size=\"2\"><b>".$row[5]."</b></font></td>");
- echo("<td width=\"%26\" class=\"label\"> <font size=\"2\">"._(pg_fieldname($result, 5))."</td></tr>");
- */
?>
<tr><td><font size=\"2\"><?= _("Geographic location for new customer neigboor") ?></td></tr>
- <?php
+<?php
+if ($_REQUEST['action']=='map'){
+ $query = "select css_to_billing.customerlocation,css_to_billing.meterlocation,
+ metercabinet.pewssaid,css_to_billing.paracode,css_to_billing.logbooknumber,
+ css_to_billing.sequence,css_to_billing.subsequence
+ ,css_to_billing.name,css_to_billing.routeid from css_to_billing
+ left outer join deliverypoint on
+ (css_to_billing.customerlocation=deliverypoint.sequence) left outer
+ join metercabinet
+ on (css_to_billing.meterlocation=metercabinet.id)
+ where deliverypoint.geocode=".$_REQUEST['geocode'];
+ //echo ($query);
+ $result = pg_query($query);
+ $numfields = pg_numfields($result);
+ $row = pg_fetch_array($result);
+
echo("<tr><td width=\"%50\" class=\"label\"> <font size=\"2\">"._(pg_fieldname($result, 0)).":</td>");
echo("<td class=\"input\"><font size=\"2\"><b>".$row[0]."</b></font></td></tr>");
echo("<tr><td width=\"%26\" class=\"label\"> <font size=\"2\">"._(pg_fieldname($result, 1))."</td>");
@@ -114,14 +102,14 @@
echo("<td class=\"input\"><font size=\"2\"><b>".$row[4]."</b></font></td></tr>");
echo("<tr><td class=\"label\"><font size=\"2\">"._(pg_fieldname($result, 5)).":</td>");
echo("<td class=\"input\"><font size=\"2\"><b>".$row[5]."</b></font></td></tr>");
-echo("<tr><td class=\"label\"><font size=\"2\">"._(pg_fieldname($result, 6)).":</td>");
+ echo("<tr><td class=\"label\"><font size=\"2\">"._(pg_fieldname($result, 6)).":</td>");
echo("<td class=\"input\"><font size=\"2\"><b>".$row[6]."</b></font></td></tr>");
echo("<tr><td class=\"label\"><font size=\"2\">"._(pg_fieldname($result, 7)).":</td>");
echo("<td class=\"input\"><font size=\"2\"><b>".$row[7]."</b></font></td></tr>");
-
+}
?>
</table>
<br><br><br><br><br><br><br>
@@ -152,63 +140,38 @@
setLayerAuthentication($map);
adjustScalebar($map);
-
+if ($_REQUEST['action']=='map'){
$objLayer = $map->getlayerbyname('DeliveryPoint');
- /*
- if ($objLayer->queryByAttributes("sequence","SEQUENCE=".
- $_SESSION['TaskforceArray'][$m]['dpsequence'],MS_MULTIPLE) ==
- MS_SUCCESS) {
-
- //$oResult=$objLayer->getresult(1);
- $ResultCount=$objLayer->getNumResults();
- //
- //print_r($objLayer->getresult(0));
- $gbShowQueryResults = TRUE;
- for ($i=0; $i < $ResultCount; $i++) {
- $QueryResult=$objLayer->getResult($i);
- $Risultato=$QueryResult->shapeindex;
- $objLayer->open();
- $Shape=$objLayer->getShape(0,$Risultato);
- // print_r ($Shape->values);
- $oExtents=$Shape->bounds;
- //print_r($oExtents);
- $objLayer->close();
-
- $map->setextent($oExtents->minx-50,$oExtents->miny-50,$oExtents->maxx+50,
- $oExtents->maxy+50);
- }
- }*/
-
- $query = "select X(the_geom),Y(the_geom) from deliverypoint where geocode=".
+ $query = "select X(the_geom),Y(the_geom) from deliverypoint where geocode=".
$_REQUEST['geocode'];
$resultextent = pg_query($query);
$numrows = pg_numrows($resultextent);
for($i=0; $i<$numrows;$i++) {
$r = pg_fetch_row($resultextent, $i);
-
$pointX = $r[0];
$pointY=$r[1];
- /*$box3d = str_replace("BOX3D(", "", $box3d);
- $token = strtok($box3d, " ");
- $minx = $token;
-
- $token = strtok(" ");
- $miny = $token;
- $token = strtok(",");
- $token = strtok(" ");
- $maxx = $token+1;
- $token = strtok(" ");
- $maxy = $token+1;*/
}
- //$map->setextent($minx-50,$miny-50,$maxx+50,$maxy+50);
- $map->setextent($pointX-50,$pointY-50,$pointX+50,$pointY+50);
-
-
-
- //Display the route lines
-
-
+ $map->setextent($pointX-50,$pointY-50,$pointX+50,$pointY+50);
+} elseif ($_REQUEST['action']=='mapLandmark'){
+$query = "select X(the_geom), Y(the_geom) from landmark where gid='".
+ $_REQUEST["gid"]."'";
+ //echo($query);
+ $result = pg_query($query);
+ $numrows = pg_numrows($result);
+ if($numrows > 0) {
+ for($i=0; $i<$numrows; $i++) {
+ $r = pg_fetch_row($result, $i);
+ $minx = $r[0]-50;
+ $miny = $r[1]-50;
+ $maxx = $r[0]+50;
+ $maxy = $r[1]+50;
+ $map->setextent($minx,$miny,$maxx,$maxy);
+ }
+ }
+} elseif ($_REQUEST['action']=='mapExtent'){
+ $map->setextent($_REQUEST['minx'],$_REQUEST['miny'],$_REQUEST['maxx'],$_REQUEST['maxy']);
+}
$objLayer = $map->getlayerbyname('route');
$objLayer->set("status",MS_OFF);
$objLayer = $map->getlayerbyname('pressurizedmain');
@@ -218,10 +181,12 @@
$objLayer = $map->getlayerbyname('grid');
$objLayer->set("status", MS_OFF);
+
+
+
+
$image=$map->draw();
- //$image=$map->drawquery();
$pointObj = ms_newPointObj();
- //$pointObj->setXY($oExtents->minx, $oExtents->miny);
$pointObj->setXY($pointX, $pointY);
$glrLayer = $map->getLayerByName("center");
$pointObj->draw($map, $glrLayer,$image, 0, 1);
@@ -234,7 +199,7 @@
$map->freeQuery('*all*');
?>
- <a href="index.php?PHPSESSID=<?= session_id()?>"><img src="<?=
+ <a href="query.php?PHPSESSID=<?= session_id()?>"><img src="<?=
$image_url ?>" alt="Workorder Map" style="width: 20cm; height: 16cm;"/></a>
</td>
Modified: branches/ms4w/apps/dccss/query.php
===================================================================
--- branches/ms4w/apps/dccss/query.php 2009-01-12 11:16:19 UTC (rev 366)
+++ branches/ms4w/apps/dccss/query.php 2009-01-13 13:01:25 UTC (rev 367)
@@ -54,6 +54,7 @@
$Queryform->addElement('radio', 'query',_('Query Subscriber Number'),'',2);
$Queryform->addElement('radio', 'query',_('Query Subscriber name'),'',3);
$Queryform->addElement('radio', 'query',_('Query Meter cabinet'),'',4);
+$Queryform->addElement('radio', 'query',_('Query Landmark'),'',0);
//print_r($_POST);
@@ -158,8 +159,8 @@
$Queryform->process($Queryform, false);
//$objSubscriber->orderBy('sequence,subsequence');
-
- if ($Queryform->exportValue('query')!=0){
+
+ if (($Queryform->exportValue('query')!=0)&&($Queryform->exportValue('searchvalue')!='')){
// echo($strQuery.$strWhere);
$result = pg_query($strQuery.$strWhere);
$numrows = pg_numrows($result);
@@ -171,14 +172,10 @@
_('Back to delivery point').'</a>','','view');
$DccssPage->add($objSubscriberTable->tohtml());
}
- }
- elseif ($_POST['area'][1]!=''){
+ }elseif ($_POST['area'][1]!=''){
$strQuery = 'select dcmmstranslation(\''.$_SESSION['language'].
- '\',Name), Administra, village from landmark where village='.$_POST['area'][1];
-
- $strQueryextent="select xmin(the_geom)-50,ymin(the_geom)-50,xmax(the_geom)+50,ymax(the_geom)+50,astext(buffer(the_geom,50)) from landmark where
- village=".$_POST['area'][1];
- print_r($strQuery);
+ '\',Name), Administra, village,gid from landmark where village='.$_POST['area'][1].' order by gid asc';
+
$result = pg_query($strQuery);
$numrows = pg_numrows($result);
$objTable->Query($strQuery);
@@ -187,16 +184,24 @@
$objTable->addRows();
$numRowCount = $objTable->getRowCount();
if(($numRowCount > 0)) {
- $objTable->setCellContents(0, 0, _("Name"), "TH");
+ $objTable->setCellContents(0, 0, _("Landmark Name"), "TH");
$objTable->setCellContents(0, 1, _("Administrative Area"), "TH");
$objTable->setCellContents(0, 2, _("Village"), "TH");
$objTable->setCellContents(0, 3, _("Action"), "TH");
- for ($i==0;$i<$numRowCount;$i++){
- $arrRow =& pg_fetch_row($result);
- $objTable->setCellContents($i, 3, '<a href="print_ac.php?PHPSESSID='.session_id().
- '&action=map&name='.$arrRow[0].'&village='.$arrRow[2].'">'.
+ $i=1;
+ while ($arrRow = pg_fetch_row($result)) {
+
+ // for ($i==0;$i<$numRowCount;$i++){
+ // $arrRow =& pg_fetch_row($result);
+
+ $ref='<a href="deliverypointpage.php?PHPSESSID='.session_id().
+ '&action=mapLandmark&gid='.$arrRow[3].'&name='.$arrRow[0].'&village='.$arrRow[2].'">'.
+ _('[View on Map]').'</a>';
+ $objTable->setCellContents($i, 3, $ref. '<a href="print_ac.php?PHPSESSID='.session_id().
+ '&action=mapLandmark&gid='.$arrRow[3].'&name='.$arrRow[0].'&village='.$arrRow[2].'">'.
_('[Print]').'</a>');
- }
+ $i++;
+ }
}
$DccssPage->add($objTable->toHtml());
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <mah...@us...> - 2009-01-12 11:16:28
|
Revision: 366
http://dccss.svn.sourceforge.net/dccss/?rev=366&view=rev
Author: maher_karim
Date: 2009-01-12 11:16:19 +0000 (Mon, 12 Jan 2009)
Log Message:
-----------
2009-01-12 Maher Abdel karim <mah...@do...>
* logon.php:Adjust page call
Modified Paths:
--------------
branches/ms4w/apps/dccss/changelog
branches/ms4w/apps/dccss/logon.php
Modified: branches/ms4w/apps/dccss/changelog
===================================================================
--- branches/ms4w/apps/dccss/changelog 2008-12-31 08:02:53 UTC (rev 365)
+++ branches/ms4w/apps/dccss/changelog 2009-01-12 11:16:19 UTC (rev 366)
@@ -1,3 +1,7 @@
+2009-01-12 Maher Abdel karim <mah...@do...>
+
+ * logon.php:Adjust page call
+
2008-12-15 Maher Abdel karim <mah...@do...>
* conf/dccss_pewssa_en:
Modified: branches/ms4w/apps/dccss/logon.php
===================================================================
--- branches/ms4w/apps/dccss/logon.php 2008-12-31 08:02:53 UTC (rev 365)
+++ branches/ms4w/apps/dccss/logon.php 2009-01-12 11:16:19 UTC (rev 366)
@@ -35,7 +35,7 @@
die(sprintf(_("FATAL ERROR: PHP extension '%s' is not loaded."), $strExtension));
}
}
-
+
/**
* Required by DB_DataObject
*/
@@ -122,7 +122,7 @@
} else {
$strMessage = $strMessage._("PostGIS is not installed.");
}
-
+
// check for PostArabic if necessary
if(array_key_exists("ar", $_SESSION["arrLanguages"])) {
$strQuery = "select shape_arabic('test')";
@@ -178,7 +178,7 @@
}
require_once("include/header.php");
-$dccssPage = new DccssPage(_("Logon to DCCSS"));
+$dccssPage = new DccssPage('logon.php');
$dccssPage->header(_("Logon to DCCSS"));
if($strMessage != "") {
echo("<p class=\"important\">".$strMessage."</p>");
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <mah...@us...> - 2008-12-31 08:03:01
|
Revision: 365
http://dccss.svn.sourceforge.net/dccss/?rev=365&view=rev
Author: maher_karim
Date: 2008-12-31 08:02:53 +0000 (Wed, 31 Dec 2008)
Log Message:
-----------
2008-12-15 Maher Abdel karim <mah...@do...>
* conf/dccss_pewssa_en:
* conf/dccss_pewssa_ar:adjust the data definition to work with ms4w
* dataobject/public_subscriber.php: add print action
* ar/LC_MESSAGES/dccss.po:update translations.
* images/gtz.png:
* images/pewssa_logo.gif: added
* logbook_report.php:adjust query.
* print_ac: add new page to print inspection sheet.
* query.php: add possibility to query delivery point
Modified Paths:
--------------
branches/ms4w/apps/dccss/admin/processing.php
branches/ms4w/apps/dccss/include/i18n.php
branches/ms4w/apps/dccss/locale/ar/LC_MESSAGES/dccss.po
branches/ms4w/apps/dccss/print_ac.php
branches/ms4w/apps/dccss/query.php
Added Paths:
-----------
branches/ms4w/apps/dccss/images/northarrow.PNG
Modified: branches/ms4w/apps/dccss/admin/processing.php
===================================================================
--- branches/ms4w/apps/dccss/admin/processing.php 2008-12-15 21:12:58 UTC (rev 364)
+++ branches/ms4w/apps/dccss/admin/processing.php 2008-12-31 08:02:53 UTC (rev 365)
@@ -27,8 +27,8 @@
require_once('HTML/QuickForm.php');
$DccssPage->strPathInDccss = '../';
$DccssPage = new DccssPage(_("GIS Data Processing"), '../');
-
-$DccssPage->add( _("Process data in dccss database.")."<br>");
+
+$DccssPage->add( _("Process data in dccss database.")."<br>");
$DccssPage->add (_("Please Select the processing type from the list."));
$processArray= array ("dcrmroute" => _("Generate route information"),
"createlineconnection"=>_("Create line connection between meter cabinet and deliverypoints"));
@@ -55,7 +55,12 @@
$strQuery ="select ".$Processingform->exportValue('processingtype')."(";
if ($Processingform->exportValue('processingtype')=='createlineconnection'){
+if ($Processingform->exportValue('processingvalue')=='0'){
+$strQuery="select createlineconnection('')";
+
+}else {
$strQuery=$strQuery."'".$Processingform->exportValue('processingvalue')."')";
+}
}else{
$strQuery=$strQuery.$Processingform->exportValue('processingvalue').")";
}
@@ -63,7 +68,7 @@
$objResult = pg_query($strQuery);
if($objResult) {
$DccssPage->add( _("Data processing is done.")."<br>");
-
+
}else{
$DccssPage->add( _("Failed to process the data.")."<br>");
}
Added: branches/ms4w/apps/dccss/images/northarrow.PNG
===================================================================
(Binary files differ)
Property changes on: branches/ms4w/apps/dccss/images/northarrow.PNG
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Modified: branches/ms4w/apps/dccss/include/i18n.php
===================================================================
--- branches/ms4w/apps/dccss/include/i18n.php 2008-12-15 21:12:58 UTC (rev 364)
+++ branches/ms4w/apps/dccss/include/i18n.php 2008-12-31 08:02:53 UTC (rev 365)
@@ -138,7 +138,11 @@
_("notroutedandzerocons");
_("Generate route information");
_("Create line connection between meter cabinet and deliverypoints");
-
+_("customerlocation");
+_("meterlocation");
+_("paracode");
+_("routeid");
+_("pewssaid");
?>
Modified: branches/ms4w/apps/dccss/locale/ar/LC_MESSAGES/dccss.po
===================================================================
--- branches/ms4w/apps/dccss/locale/ar/LC_MESSAGES/dccss.po 2008-12-15 21:12:58 UTC (rev 364)
+++ branches/ms4w/apps/dccss/locale/ar/LC_MESSAGES/dccss.po 2008-12-31 08:02:53 UTC (rev 365)
@@ -2,7 +2,7 @@
msgstr ""
"Project-Id-Version: DCCSS\n"
"POT-Creation-Date: \n"
-"PO-Revision-Date: 2008-12-15 22:17+0200\n"
+"PO-Revision-Date: 2008-12-23 15:15+0200\n"
"Last-Translator: Maher Karim <Mah...@do...>\n"
"Language-Team: Dorsch <mah...@do...>\n"
"MIME-Version: 1.0\n"
@@ -51,8 +51,11 @@
#: ../../.././dataentry_performance_report.php:33
#: ../../.././logon.php:35
#: ../../.././map.php:34
+#: ../../.././Copy of include/dccsspage.php:31
+#: include/header.php:34
#: ../../.././include/dccsspage.php:31
#: ../../.././include/header.php:34
+#: ../../.././include/dcmms/include/dcmmspage.php:37
#, php-format
msgid "FATAL ERROR: PHP extension '%s' is not loaded."
msgstr ""
@@ -104,6 +107,10 @@
# e:\program
#: ../../.././deliverypointpage.php:37
+#: ../../.././Copy of
+#: include/dcmmaputil.php:191
+#: include/dcmmaputil.php:228
+#: include/dcmmaputil.php:229
#: ../../.././include/dcmmaputil.php:191
#: ../../.././include/dcmmaputil.php:228
#: ../../.././include/dcmmaputil.php:229
@@ -138,8 +145,20 @@
# c:\program
#: ../../.././deliverypointpage.php:169
#: ../../.././subscriberpage.php:223
+#: ../../.././Copy of include/dataobject/Public_deliverypoint.php:164
+#: include/dataobject/Public_subscriber.php:112
#: ../../.././include/dataobject/Public_deliverypoint.php:164
#: ../../.././include/dataobject/Public_subscriber.php:112
+#: ../../.././include/dcmms/include/dataobject/Dcmmsuser.php:123
+#: ../../.././include/dcmms/include/dataobject/Equipment.php:59
+#: ../../.././include/dcmms/include/dataobject/Landmark.php:111
+#: ../../.././include/dcmms/include/dataobject/Maintenance.php:113
+#: ../../.././include/dcmms/include/dataobject/Material.php:58
+#: ../../.././include/dcmms/include/dataobject/Seal.php:67
+#: ../../.././include/dcmms/include/dataobject/Staff.php:124
+#: ../../.././include/dcmms/include/dataobject/Team.php:107
+#: ../../.././include/dcmms/include/dataobject/Translation.php:67
+#: ../../.././include/dcmms/include/dataobject/Workorder.php:106
msgid "Submit"
msgstr "حفظ"
@@ -161,7 +180,7 @@
# e:\program
#: ../../.././deliverypointpage.php:222
-#: ../../.././query.php:121
+#: ../../.././query.php:169
#: ../../.././subscriberpage.php:185
msgid "Back to delivery point"
msgstr "البحث عن نقطة المدخل باستخدام رقم التعريف"
@@ -188,6 +207,7 @@
# e:\program
#: ../../.././index.php:56
+#: ../../.././include/dcmms/include/resourcepage.php:72
msgid "Map"
msgstr "الخريطة"
@@ -220,6 +240,7 @@
# c:\program
#: ../../.././index.php:68
#: ../../.././index.php:69
+#: ../../.././include/dcmms/include/i18n.php:30
msgid "Administration"
msgstr "الادارة"
@@ -303,194 +324,228 @@
msgstr "معالجة البيانات الجغرافية"
# C:\Program
-#: ../../.././logbook_report.php:51
+#: ../../.././logbook_report.php:55
#: ../../.././logbook_report_subscriber.php:51
+#: ../../.././Copy of
+#: include/i18n.php:95
+#: include/i18n.php:102
#: ../../.././include/i18n.php:95
#: ../../.././include/i18n.php:102
msgid "Log Book based CSS form printing"
msgstr "طباعة نماذج المسح الميداني حسب المجلد"
# c:\program
-#: ../../.././logbook_report.php:52
+#: ../../.././logbook_report.php:56
#: ../../.././logbook_report_subscriber.php:52
msgid "Enter logbook Number:"
msgstr " ادخل رقم المجلد:"
# C:\Program
-#: ../../.././logbook_report.php:54
+#: ../../.././logbook_report.php:58
#: ../../.././logbook_report_subscriber.php:54
#: ../../.././taskforce_report.php:63
msgid "Batch:"
msgstr "المجموعة:"
# c:\program
-#: ../../.././logbook_report.php:56
+#: ../../.././logbook_report.php:60
msgid "Show property information:"
msgstr " اظهار معلومات العقار:"
# C:\Program
-#: ../../.././logbook_report.php:57
+#: ../../.././logbook_report.php:61
#: ../../.././logbook_report_subscriber.php:55
msgid "Prepare Forms for logbook"
msgstr "تجهيز النماذج للمجلد"
# c:\program
-#: ../../.././logbook_report.php:62
+#: ../../.././logbook_report.php:66
#: ../../.././logbook_report_subscriber.php:60
msgid "Please enter the logbook number."
msgstr "الرجاء ادخال رقم المجلد"
# c:\program
-#: ../../.././logbook_report.php:65
+#: ../../.././logbook_report.php:69
#: ../../.././logbook_report_subscriber.php:63
#: ../../.././meter_query_report.php:64
-#: ../../.././query.php:64
+#: ../../.././query.php:108
#: ../../.././taskforce_report.php:79
#: ../../.././admin/move_subscriber.php:76
#: ../../.././admin/processing.php:48
#: ../../.././admin/purge_subscriber.php:63
-#: ../../.././admin/setup.php:64
+#: ../../.././Copy of include/i18n.php:62
+#: include/i18n.php:73
+#: include/dataobject/Public_deliverypoint.php:116
+#: include/dataobject/Public_subscriber.php:166
#: ../../.././include/i18n.php:62
#: ../../.././include/i18n.php:73
#: ../../.././include/dataobject/Public_deliverypoint.php:116
#: ../../.././include/dataobject/Public_subscriber.php:166
+#: ../../.././include/dcmms/include/dcmmsreport.php:111
+#: ../../.././include/dcmms/include/dataobject/Dcmmsuser.php:140
+#: ../../.././include/dcmms/include/dataobject/Landmark.php:87
+#: ../../.././include/dcmms/include/dataobject/Maintenance.php:174
+#: ../../.././include/dcmms/include/dataobject/Seal.php:95
+#: ../../.././include/dcmms/include/dataobject/Staff.php:146
+#: ../../.././include/dcmms/include/dataobject/Team.php:127
+#: ../../.././include/dcmms/include/dataobject/Translation.php:89
+#: ../../.././include/dcmms/include/dataobject/Workorder.php:191
msgid "denotes required field"
msgstr "الرجاء تعبئة الحقول المطلوبة."
# D:\dccss\dccss/logbook_report.php:52
-#: ../../.././logbook_report.php:80
+#: ../../.././logbook_report.php:84
msgid "PEWSSA Water Subscription Survey"
msgstr "مشروع المسح الميداني لاشتراكات المياه مدينة حلب"
# c:\program
-#: ../../.././logbook_report.php:81
+#: ../../.././logbook_report.php:85
#: ../../.././logbook_report_subscriber.php:86
msgid "Grid Number:"
msgstr "رقم اللوحة:"
# c:\program
-#: ../../.././logbook_report.php:82
+#: ../../.././logbook_report.php:86
msgid "Form Number:"
msgstr "رقم النموذج::"
# e:\program
-#: ../../.././logbook_report.php:84
-#: ../../.././logbook_report.php:131
+#: ../../.././logbook_report.php:88
+#: ../../.././logbook_report.php:135
#: ../../.././logbook_report_subscriber.php:87
msgid "Delivery Point #:"
msgstr "رمز العنوان# :"
# c:\program
-#: ../../.././logbook_report.php:85
+#: ../../.././logbook_report.php:89
+#: ../../.././Copy of
+#: include/dataobject/Public_deliverypoint.php:137
#: ../../.././include/dataobject/Public_deliverypoint.php:137
msgid "Survey Date:"
msgstr "تاريخ جمع المعلومات :"
# c:\program
-#: ../../.././logbook_report.php:88
+#: ../../.././logbook_report.php:92
msgid "Property Information"
msgstr "معلومات العقار"
# c:\program
-#: ../../.././logbook_report.php:90
+#: ../../.././logbook_report.php:94
msgid "1.Property Type:"
msgstr "1.نوع العقار"
# c:\program
-#: ../../.././logbook_report.php:92
+#: ../../.././logbook_report.php:96
+#: ../../.././Copy of include/i18n.php:75
#: ../../.././include/i18n.php:75
msgid "Arabic"
msgstr "دار عربي"
# c:\program
-#: ../../.././logbook_report.php:93
+#: ../../.././logbook_report.php:97
+#: ../../.././Copy of include/i18n.php:78
#: ../../.././include/i18n.php:78
msgid "Apartment Building"
msgstr "مجمع سكني"
# c:\program
-#: ../../.././logbook_report.php:94
+#: ../../.././logbook_report.php:98
msgid "Commercial Center"
msgstr "مجمع تجاري"
# c:\program
-#: ../../.././logbook_report.php:95
+#: ../../.././logbook_report.php:99
+#: ../../.././Copy of include/i18n.php:82
#: ../../.././include/i18n.php:82
msgid "Government Dept."
msgstr "دوائر رسمية"
# c:\program
-#: ../../.././logbook_report.php:96
+#: ../../.././logbook_report.php:100
+#: ../../.././Copy of include/i18n.php:76
#: ../../.././include/i18n.php:76
msgid "Factory"
msgstr "مصنع"
# c:\program
-#: ../../.././logbook_report.php:97
-#: ../../.././logbook_report.php:176
+#: ../../.././logbook_report.php:101
+#: ../../.././logbook_report.php:180
#: ../../.././logbook_report_subscriber.php:133
+#: ../../.././Copy of
+#: include/i18n.php:45
#: ../../.././include/i18n.php:45
msgid "Hospital"
msgstr "مشفى"
# c:\program
-#: ../../.././logbook_report.php:98
+#: ../../.././logbook_report.php:102
+#: ../../.././Copy of include/i18n.php:79
#: ../../.././include/i18n.php:79
msgid "Religious"
msgstr "دور عباده"
# c:\program
-#: ../../.././logbook_report.php:99
+#: ../../.././logbook_report.php:103
+#: ../../.././Copy of include/i18n.php:83
#: ../../.././include/i18n.php:83
msgid "Villa"
msgstr "فيلا"
# c:\program
-#: ../../.././logbook_report.php:100
+#: ../../.././logbook_report.php:104
+#: ../../.././Copy of include/i18n.php:77
#: ../../.././include/i18n.php:77
msgid "Farm"
msgstr "مزرعة"
# c:\program
-#: ../../.././logbook_report.php:101
-#: ../../.././logbook_report.php:156
+#: ../../.././logbook_report.php:105
+#: ../../.././logbook_report.php:160
#: ../../.././logbook_report_subscriber.php:113
+#: ../../.././Copy of
+#: include/i18n.php:81
#: ../../.././include/i18n.php:81
+#: ../../.././include/dcmms/include/i18n.php:222
msgid "Other"
msgstr "أخرى"
# D:\dccss\dccss/logbook_report.php:75
-#: ../../.././logbook_report.php:103
+#: ../../.././logbook_report.php:107
msgid "2.No. of Floors :"
msgstr "2.عدد الطوابق"
# D:\dccss\dccss/logbook_report.php:75
-#: ../../.././logbook_report.php:104
+#: ../../.././logbook_report.php:108
msgid "3.No. of Flats:"
msgstr "3.عدد الشقق"
# D:\dccss\dccss/logbook_report.php:76
-#: ../../.././logbook_report.php:105
+#: ../../.././logbook_report.php:109
msgid "4.No. of Shops:"
msgstr "4.عدد المحلات"
# c:\program
-#: ../../.././logbook_report.php:106
+#: ../../.././logbook_report.php:110
msgid "5.No. of Subscriptions:"
msgstr "5.عدد الاشتراكات"
# c:\program
-#: ../../.././logbook_report.php:107
+#: ../../.././logbook_report.php:111
msgid "6.Sewer Network :"
msgstr "6.يوجد شبكة صرف صحي :"
# c:\program
-#: ../../.././logbook_report.php:108
-#: ../../.././logbook_report.php:110
-#: ../../.././logbook_report.php:140
-#: ../../.././logbook_report.php:143
+#: ../../.././logbook_report.php:112
+#: ../../.././logbook_report.php:114
+#: ../../.././logbook_report.php:144
+#: ../../.././logbook_report.php:147
#: ../../.././logbook_report_subscriber.php:98
#: ../../.././logbook_report_subscriber.php:101
+#: ../../.././Copy of
+#: include/i18n.php:27
+#: include/dataobject/Public_deliverypoint.php:151
+#: include/dataobject/Public_deliverypoint.php:152
+#: include/dataobject/Public_deliverypoint.php:153
#: ../../.././include/i18n.php:27
#: ../../.././include/dataobject/Public_deliverypoint.php:151
#: ../../.././include/dataobject/Public_deliverypoint.php:152
@@ -499,12 +554,17 @@
msgstr "نعم"
# c:\program
-#: ../../.././logbook_report.php:109
-#: ../../.././logbook_report.php:110
-#: ../../.././logbook_report.php:141
-#: ../../.././logbook_report.php:144
+#: ../../.././logbook_report.php:113
+#: ../../.././logbook_report.php:114
+#: ../../.././logbook_report.php:145
+#: ../../.././logbook_report.php:148
#: ../../.././logbook_report_subscriber.php:99
#: ../../.././logbook_report_subscriber.php:102
+#: ../../.././Copy of
+#: include/i18n.php:25
+#: include/dataobject/Public_deliverypoint.php:151
+#: include/dataobject/Public_deliverypoint.php:152
+#: include/dataobject/Public_deliverypoint.php:153
#: ../../.././include/i18n.php:25
#: ../../.././include/dataobject/Public_deliverypoint.php:151
#: ../../.././include/dataobject/Public_deliverypoint.php:152
@@ -513,451 +573,459 @@
msgstr "لا"
# D:\dccss\dccss/logbook_report.php:79
-#: ../../.././logbook_report.php:109
+#: ../../.././logbook_report.php:113
msgid "7.Manhole exists "
msgstr "7.يوجد ريجار داخل او خارج العقار"
# D:\dccss\dccss/logbook_report.php:81
-#: ../../.././logbook_report.php:112
+#: ../../.././logbook_report.php:116
msgid "8.Supplying neighbour Delivery point # :"
msgstr "8.رمز عنوان نقطة التوصيل من الجيران(ان وجدت)"
# c:\program
-#: ../../.././logbook_report.php:114
+#: ../../.././logbook_report.php:118
msgid "9.Supply Type :"
msgstr "9.طريقة التزويد :"
# D:\dccss\dccss/logbook_report.php:83
-#: ../../.././logbook_report.php:115
+#: ../../.././logbook_report.php:119
msgid "PEWSSA"
msgstr "عداد لمؤسسة المياه"
# c:\program
-#: ../../.././logbook_report.php:116
+#: ../../.././logbook_report.php:120
+#: ../../.././Copy of include/i18n.php:69
#: ../../.././include/i18n.php:69
msgid "Tanker"
msgstr "صهاريج"
# D:\dccss\dccss/logbook_report.php:85
-#: ../../.././logbook_report.php:117
+#: ../../.././logbook_report.php:121
msgid "Neighbour"
msgstr "من الجيران"
# c:\program
-#: ../../.././logbook_report.php:118
+#: ../../.././logbook_report.php:122
+#: ../../.././Copy of include/i18n.php:70
#: ../../.././include/i18n.php:70
msgid "Tube Well"
msgstr "بئر ماء"
# C:\Program
-#: ../../.././logbook_report.php:119
-#: ../../.././logbook_report.php:149
+#: ../../.././logbook_report.php:123
+#: ../../.././logbook_report.php:153
+#: ../../.././Copy of include/i18n.php:104
#: ../../.././include/i18n.php:104
msgid "Legal Connection"
msgstr "وصله نظاميه"
# D:\dccss\dccss/logbook_report.php:86
-#: ../../.././logbook_report.php:120
+#: ../../.././logbook_report.php:124
msgid "10.Cabinet No.(PEWSSA) :"
msgstr "10.رقم كابينة المؤسسة"
# c:\program
-#: ../../.././logbook_report.php:121
+#: ../../.././logbook_report.php:125
msgid "11.Surveyour Name:"
msgstr "11.اسم منظم الكشف :"
# c:\program
-#: ../../.././logbook_report.php:121
+#: ../../.././logbook_report.php:125
msgid "12.Surveyour No.:"
msgstr "12.رقم منظم الكشف"
# D:\dccss\dccss/logbook_report.php:90
-#: ../../.././logbook_report.php:123
+#: ../../.././logbook_report.php:127
msgid "Signature:"
msgstr "التوقيع"
# c:\program
-#: ../../.././logbook_report.php:129
+#: ../../.././logbook_report.php:133
#: ../../.././logbook_report_subscriber.php:84
msgid "Subscription Information"
msgstr "المعلومات الخاصة بالاشتراك"
# c:\program
-#: ../../.././logbook_report.php:132
+#: ../../.././logbook_report.php:136
#: ../../.././logbook_report_subscriber.php:88
msgid "Subscription Serial No.:"
msgstr "تسلسل الاشتراك :"
# c:\program
-#: ../../.././logbook_report.php:133
+#: ../../.././logbook_report.php:137
#: ../../.././logbook_report_subscriber.php:89
msgid "Survey Date.:"
msgstr "تاريخ جمع المعلومات :"
# D:\dccss\dccss/logbook_report.php:86
-#: ../../.././logbook_report.php:135
+#: ../../.././logbook_report.php:139
msgid "13.Cabinet No.(PEWSSA) : "
msgstr "13.رقم كابينة المؤسسة"
# c:\program
-#: ../../.././logbook_report.php:135
+#: ../../.././logbook_report.php:139
msgid "14.Meter Number: "
msgstr "14.رقم العداد"
# c:\program
-#: ../../.././logbook_report.php:136
+#: ../../.././logbook_report.php:140
msgid "15.Meter Reading:"
msgstr "15.قراءة العداد :"
# c:\program
-#: ../../.././logbook_report.php:138
+#: ../../.././logbook_report.php:142
msgid "16.Meter location Code:"
msgstr "16.رمز موقع العداد :"
# c:\program
-#: ../../.././logbook_report.php:139
+#: ../../.././logbook_report.php:143
msgid "17.Connection Before Meter:"
msgstr "17.هل يوجد وصلة مكان او قبل العداد :"
# c:\program
-#: ../../.././logbook_report.php:142
+#: ../../.././logbook_report.php:146
msgid "18.Meter Sealing:"
msgstr "18.العداد مختوم :"
# c:\program
-#: ../../.././logbook_report.php:144
+#: ../../.././logbook_report.php:148
msgid "19.Flat No.:"
msgstr "19.رقم الشقة :"
# c:\program
-#: ../../.././logbook_report.php:145
+#: ../../.././logbook_report.php:149
msgid "20.Floor No.:"
msgstr "20.رقم الطابق:"
# D:\dccss\dccss/logbook_report.php:105
-#: ../../.././logbook_report.php:146
+#: ../../.././logbook_report.php:150
msgid "21.Meter No.(logbook):"
msgstr "21.رقم العداد حسب المجلد"
# c:\program
-#: ../../.././logbook_report.php:147
+#: ../../.././logbook_report.php:151
msgid "22.Meter Type:"
msgstr "22.نوع العداد"
# c:\program
-#: ../../.././logbook_report.php:149
+#: ../../.././logbook_report.php:153
#: ../../.././logbook_report_subscriber.php:107
msgid " Defence Factories "
msgstr "معامل الدفاع"
# c:\program
-#: ../../.././logbook_report.php:150
+#: ../../.././logbook_report.php:154
#: ../../.././logbook_report_subscriber.php:107
msgid " Chinese "
msgstr "صيني"
# c:\program
-#: ../../.././logbook_report.php:152
+#: ../../.././logbook_report.php:156
#: ../../.././logbook_report_subscriber.php:109
msgid " French "
msgstr "فرنسي"
# c:\program
-#: ../../.././logbook_report.php:152
+#: ../../.././logbook_report.php:156
#: ../../.././logbook_report_subscriber.php:109
msgid " Other "
msgstr "أخرى"
# c:\program
-#: ../../.././logbook_report.php:153
+#: ../../.././logbook_report.php:157
msgid "23.Meter Diameter:"
msgstr "23.قطر العداد"
# c:\program
-#: ../../.././logbook_report.php:157
+#: ../../.././logbook_report.php:161
msgid "24.Meter Status:"
msgstr "24.حالة العداد :"
# c:\program
-#: ../../.././logbook_report.php:158
+#: ../../.././logbook_report.php:162
#: ../../.././logbook_report_subscriber.php:115
msgid " Working "
msgstr "عامل"
# c:\program
-#: ../../.././logbook_report.php:158
+#: ../../.././logbook_report.php:162
#: ../../.././logbook_report_subscriber.php:115
msgid " Not working "
msgstr "معطل"
# c:\program
-#: ../../.././logbook_report.php:160
+#: ../../.././logbook_report.php:164
#: ../../.././logbook_report_subscriber.php:117
msgid " Damaged "
msgstr "محطم"
# c:\program
-#: ../../.././logbook_report.php:160
+#: ../../.././logbook_report.php:164
#: ../../.././logbook_report_subscriber.php:117
msgid " Disconnected "
msgstr "مفصول"
# c:\program
-#: ../../.././logbook_report.php:161
+#: ../../.././logbook_report.php:165
#: ../../.././logbook_report_subscriber.php:118
msgid " Turned over "
msgstr "مائل"
# c:\program
-#: ../../.././logbook_report.php:162
+#: ../../.././logbook_report.php:166
#: ../../.././logbook_report_subscriber.php:119
msgid "Reversed "
msgstr "معكوس"
# c:\program
-#: ../../.././logbook_report.php:163
+#: ../../.././logbook_report.php:167
msgid "25.Leakage:"
msgstr "25.يوجد تسرب:"
# e:\program
-#: ../../.././logbook_report.php:164
+#: ../../.././logbook_report.php:168
#: ../../.././logbook_report_subscriber.php:121
msgid " None "
msgstr "لا يوجد"
# D:\dccss\dccss/logbook_report.php:119
-#: ../../.././logbook_report.php:164
+#: ../../.././logbook_report.php:168
#: ../../.././logbook_report_subscriber.php:121
msgid " Minor "
msgstr "قليل"
# D:\dccss\dccss/logbook_report.php:119
-#: ../../.././logbook_report.php:165
+#: ../../.././logbook_report.php:169
#: ../../.././logbook_report_subscriber.php:122
msgid " Major "
msgstr "كبير"
# c:\program
-#: ../../.././logbook_report.php:166
+#: ../../.././logbook_report.php:170
msgid "26.Logbook No.:"
msgstr "26.رقم المجلد :"
# c:\program
-#: ../../.././logbook_report.php:167
+#: ../../.././logbook_report.php:171
msgid "27.Sequence:"
msgstr "27.رقم التخصيص :"
# c:\program
-#: ../../.././logbook_report.php:168
+#: ../../.././logbook_report.php:172
msgid "28.Subscription No.:"
msgstr "28.رقم الاشتراك"
# c:\program
-#: ../../.././logbook_report.php:170
+#: ../../.././logbook_report.php:174
msgid "29.Subscriber is the Owner:"
msgstr "29.المشترك مالك :"
# c:\program
-#: ../../.././logbook_report.php:171
-#: ../../.././logbook_report.php:202
+#: ../../.././logbook_report.php:175
+#: ../../.././logbook_report.php:206
#: ../../.././logbook_report_subscriber.php:128
#: ../../.././logbook_report_subscriber.php:157
msgid " Yes "
msgstr "نعم"
# e:\program
-#: ../../.././logbook_report.php:172
+#: ../../.././logbook_report.php:176
#: ../../.././logbook_report_subscriber.php:129
msgid " No "
msgstr "لا"
# c:\program
-#: ../../.././logbook_report.php:173
+#: ../../.././logbook_report.php:177
msgid "30.Name:"
msgstr "30.اسم المستفيد :"
# c:\program
-#: ../../.././logbook_report.php:174
+#: ../../.././logbook_report.php:178
msgid "31.Type of use:"
msgstr "31.نوع الاستخدام:"
# c:\program
-#: ../../.././logbook_report.php:175
+#: ../../.././logbook_report.php:179
#: ../../.././logbook_report_subscriber.php:132
+#: ../../.././Copy of
+#: include/i18n.php:43
#: ../../.././include/i18n.php:43
msgid "Domestic"
msgstr "منزلي"
# c:\program
-#: ../../.././logbook_report.php:177
+#: ../../.././logbook_report.php:181
#: ../../.././logbook_report_subscriber.php:134
msgid " Government Department "
msgstr "دائرة رسمية :"
# c:\program
-#: ../../.././logbook_report.php:178
+#: ../../.././logbook_report.php:182
#: ../../.././logbook_report_subscriber.php:135
msgid " Religous Site "
msgstr "دور عبادة"
# c:\program
-#: ../../.././logbook_report.php:179
+#: ../../.././logbook_report.php:183
#: ../../.././logbook_report_subscriber.php:136
+#: ../../.././Copy of
+#: include/i18n.php:42
#: ../../.././include/i18n.php:42
+#: ../../.././include/dcmms/include/i18n.php:61
msgid "Commercial"
msgstr "تجاري"
# e:\program
-#: ../../.././logbook_report.php:180
+#: ../../.././logbook_report.php:184
#: ../../.././logbook_report_subscriber.php:137
msgid " Hotel "
msgstr "فندق"
# c:\program
-#: ../../.././logbook_report.php:181
+#: ../../.././logbook_report.php:185
#: ../../.././logbook_report_subscriber.php:138
msgid " Swimming Pool "
msgstr "مسبح"
# c:\program
-#: ../../.././logbook_report.php:182
+#: ../../.././logbook_report.php:186
#: ../../.././logbook_report_subscriber.php:139
msgid " Sport Center "
msgstr "مركز رياضي"
# c:\program
-#: ../../.././logbook_report.php:183
+#: ../../.././logbook_report.php:187
#: ../../.././logbook_report_subscriber.php:140
msgid " Restaurant "
msgstr "مطعم"
# e:\program
-#: ../../.././logbook_report.php:184
+#: ../../.././logbook_report.php:188
#: ../../.././logbook_report_subscriber.php:141
msgid "Station "
msgstr "محطة"
# c:\program
-#: ../../.././logbook_report.php:185
+#: ../../.././logbook_report.php:189
#: ../../.././logbook_report_subscriber.php:142
msgid "Students Dormitory "
msgstr "سكن طلاب"
# c:\program
-#: ../../.././logbook_report.php:186
+#: ../../.././logbook_report.php:190
#: ../../.././logbook_report_subscriber.php:143
msgid " Public Park "
msgstr "حديقة عامة"
# c:\program
-#: ../../.././logbook_report.php:187
+#: ../../.././logbook_report.php:191
msgid "32.Meter Position:"
msgstr "32.موضع العداد :"
# c:\program
-#: ../../.././logbook_report.php:188
+#: ../../.././logbook_report.php:192
#: ../../.././logbook_report_subscriber.php:145
msgid " Suitable "
msgstr "مناسب"
# c:\program
-#: ../../.././logbook_report.php:189
+#: ../../.././logbook_report.php:193
#: ../../.././logbook_report_subscriber.php:146
msgid " Too High "
msgstr "عالي"
# c:\program
-#: ../../.././logbook_report.php:190
+#: ../../.././logbook_report.php:194
#: ../../.././logbook_report_subscriber.php:147
msgid " Indoors "
msgstr "داخل المنزل"
# c:\program
-#: ../../.././logbook_report.php:191
+#: ../../.././logbook_report.php:195
#: ../../.././logbook_report_subscriber.php:148
msgid " Cramped "
msgstr "الكابينة ضيقة"
# c:\program
-#: ../../.././logbook_report.php:192
+#: ../../.././logbook_report.php:196
#: ../../.././logbook_report_subscriber.php:149
msgid " Too dark "
msgstr "مظلم"
# c:\program
-#: ../../.././logbook_report.php:193
+#: ../../.././logbook_report.php:197
#: ../../.././logbook_report_subscriber.php:150
msgid " Dirty "
msgstr "متسخة"
# c:\program
-#: ../../.././logbook_report.php:193
+#: ../../.././logbook_report.php:197
#: ../../.././logbook_report_subscriber.php:150
msgid " UnSuitable "
msgstr "غير مناسب"
# C:\Program
-#: ../../.././logbook_report.php:195
+#: ../../.././logbook_report.php:199
msgid "33.meter Location DeliveryPoint Sequence:"
msgstr "33.رمز العنوان لموقع العداد#:"
# c:\program
-#: ../../.././logbook_report.php:196
+#: ../../.././logbook_report.php:200
msgid "34.No.of Persons Supplied:"
msgstr "34.عدد الافراد المستفيدين من العداد :"
# c:\program
-#: ../../.././logbook_report.php:197
+#: ../../.././logbook_report.php:201
msgid "35.No.of families supplied:"
msgstr "35.عدد الاسر المستفيدة"
# c:\program
-#: ../../.././logbook_report.php:197
+#: ../../.././logbook_report.php:201
msgid "36.Tel.No.:"
msgstr "36.رقم الهاتف "
# c:\program
-#: ../../.././logbook_report.php:198
+#: ../../.././logbook_report.php:202
msgid "37.Tank capacity:"
msgstr "37.سعة الخزان:"
# D:\dccss\dccss/logbook_report.php:150
-#: ../../.././logbook_report.php:199
+#: ../../.././logbook_report.php:203
#: ../../.././logbook_report_subscriber.php:154
msgid "m<sup>3"
msgstr "م<sup>3"
# c:\program
-#: ../../.././logbook_report.php:200
+#: ../../.././logbook_report.php:204
#: ../../.././logbook_report_subscriber.php:155
msgid " Liter "
msgstr "ليتر"
# c:\program
-#: ../../.././logbook_report.php:201
+#: ../../.././logbook_report.php:205
#: ../../.././logbook_report_subscriber.php:156
msgid " Barrel "
msgstr "برميل"
# c:\program
-#: ../../.././logbook_report.php:202
+#: ../../.././logbook_report.php:206
msgid "38.Pump is Installed:"
msgstr "38.هل يوجد مضخة :"
# e:\program
-#: ../../.././logbook_report.php:203
+#: ../../.././logbook_report.php:207
#: ../../.././logbook_report_subscriber.php:158
msgid " No. "
msgstr "لا"
# c:\program
-#: ../../.././logbook_report.php:206
+#: ../../.././logbook_report.php:210
#: ../../.././logbook_report_subscriber.php:161
msgid "Notes"
msgstr "ملاحظات"
# D:\dccss\dccss/logbook_report.php:193
-#: ../../.././logbook_report.php:209
+#: ../../.././logbook_report.php:213
#: ../../.././logbook_report_subscriber.php:164
msgid "The Quality of information related to items 10,11,25,26,27 as well as the delivery point are of paramount importance and any negligence in relation to these information could lead to termination of contract!"
msgstr "ان دقة المعلوات الموجود في الحقول 110,11,25,26,27 و في الحقل رمز العنوان هي من مسؤولية الماسح الميداني و اي خطا قد يؤدي الى انهاء عقده"
@@ -1123,6 +1191,7 @@
# e:\program
#: ../../.././logon.php:171
+#: ../../.././include/dcmms/include/i18n.php:175
#, php-format
msgid "Logged off user '%s'."
msgstr "خروج المستخدم '%s'"
@@ -1145,6 +1214,8 @@
# e:\program
#: ../../.././logon.php:192
+#: ../../.././Copy of
+#: include/dataobject/Public_subscriber.php:103
#: ../../.././include/dataobject/Public_subscriber.php:103
msgid "User Name:"
msgstr "اسم المستخدم:"
@@ -1217,6 +1288,9 @@
# e:\program
#: ../../.././map.php:400
+#: ../../.././include/dcmms/include/dcmmaputil.php:174
+#: ../../.././include/dcmms/include/dcmmaputil.php:229
+#: ../../.././include/dcmms/include/dcmmaputil.php:230
msgid "Landmark"
msgstr "معلم"
@@ -1326,21 +1400,89 @@
msgid "Not working meter status report"
msgstr "تقرير العدادات المعطلة"
+#: ../../.././print_ac.php:40
#: ../../.././print_workorder.php:40
msgid "Task force workorder"
msgstr "امر عمل مجموعة عمل"
+#: ../../.././print_ac.php:69
#: ../../.././print_workorder.php:64
+#: ../../.././Copy of include/i18n.php:121
#: ../../.././include/i18n.php:121
msgid "German Technical Cooperation-GTZ"
msgstr "الوكالة الالمانية للتعاون الفني- GTZ"
+#: ../../.././print_ac.php:70
#: ../../.././print_workorder.php:65
+#: ../../.././Copy of include/i18n.php:122
#: ../../.././include/i18n.php:122
msgid "Institutional Support to Aleppo Water establishment"
-msgstr "مشروع الدعم المؤسسي لمؤسسة مياه حلب"
+msgstr "مشروع تحديث قطاع المياه السوري-حلب"
+#: ../../.././print_ac.php:74
+msgid "Address confirmation"
+msgstr "توثيق العنوان الجغرافي للمشترك الجديد (AC)"
+
+#: ../../.././print_ac.php:75
+#: ../../.././print_workorder.php:72
+#: ../../.././Copy of include/i18n.php:134
+#: ../../.././include/i18n.php:134
+msgid "Date:"
+msgstr "التاريخ:"
+
+#: ../../.././print_ac.php:102
+msgid "Geographic location for new customer neigboor"
+msgstr "العنوان الجغرافي للمجاور"
+
+#: ../../.././print_ac.php:129
+msgid "Geographic location for new customer"
+msgstr "العنوان الجغرافي للمشترك الجديد"
+
+# c:\program
+#: ../../.././print_ac.php:130
+msgid "routeid:"
+msgstr "رقم المسار:"
+
+# c:\program
+#: ../../.././print_ac.php:131
+msgid "customerlocation:"
+msgstr "موقع المشترك:"
+
+# c:\program
+#: ../../.././print_ac.php:132
+msgid "meterlocation:"
+msgstr "موقع العداد:"
+
+# c:\program
+#: ../../.././print_ac.php:133
+msgid "logbook:"
+msgstr "رقم المجلد:"
+
+# c:\program
+#: ../../.././print_ac.php:134
+msgid "sequence:"
+msgstr "رقم التخصيص:"
+
+# c:\program
+#: ../../.././print_ac.php:135
+msgid "subsequence:"
+msgstr "رقم التخصيص الفرعي:"
+
+#: ../../.././print_ac.php:136
+msgid "pnr:"
+msgstr "رقم الباركود:"
+
+#: ../../.././print_ac.php:137
+msgid "new customer name:"
+msgstr "اسم المشترك الجديد:"
+
+# c:\program
+#: ../../.././print_ac.php:138
+msgid "File No.:"
+msgstr "رقم الملف:"
+
#: ../../.././print_workorder.php:69
+#: ../../.././Copy of include/i18n.php:114
#: ../../.././include/i18n.php:114
msgid "Task force - "
msgstr "مجموعة عمل - "
@@ -1353,11 +1495,6 @@
msgid "of"
msgstr "من"
-#: ../../.././print_workorder.php:72
-#: ../../.././include/i18n.php:134
-msgid "Date:"
-msgstr "التاريخ:"
-
#: ../../.././print_workorder.php:117
msgid "Finish date:"
msgstr "تاريخ الانتهاء:"
@@ -1377,45 +1514,55 @@
# c:\program
#: ../../.././print_workorder.php:225
+#: ../../.././Copy of include/i18n.php:127
#: ../../.././include/i18n.php:127
msgid "Billing"
msgstr "الفواتير"
# c:\program
#: ../../.././print_workorder.php:225
+#: ../../.././Copy of include/i18n.php:128
#: ../../.././include/i18n.php:128
msgid "Meter readings unit"
msgstr "شعبة التأشيرات"
# c:\program
#: ../../.././print_workorder.php:226
+#: ../../.././Copy of include/i18n.php:129
#: ../../.././include/i18n.php:129
msgid "Meter Archiving"
msgstr "شعبة حركة العدادات"
# c:\program
#: ../../.././print_workorder.php:226
+#: ../../.././Copy of include/i18n.php:130
#: ../../.././include/i18n.php:130
msgid "Subscription Archiving"
msgstr "شعبة الاشتراكات"
#: ../../.././print_workorder.php:227
+#: ../../.././Copy of include/i18n.php:131
#: ../../.././include/i18n.php:131
msgid "Field check"
msgstr "الكشف الميداني"
#: ../../.././print_workorder.php:227
+#: ../../.././Copy of include/i18n.php:132
#: ../../.././include/i18n.php:132
msgid "Billing data update"
msgstr "تحديث معلومات الفواتير"
#: ../../.././print_workorder.php:228
+#: ../../.././Copy of include/i18n.php:133
#: ../../.././include/i18n.php:133
msgid "CSS data update"
msgstr "تحديث معلومات المسح الميداني"
# c:\program
#: ../../.././print_workorder.php:230
+#: ../../.././Copy of
+#: include/dataobject/Public_bill.php:32
+#: include/dataobject/Public_subscriber.php:202
#: ../../.././include/dataobject/Public_bill.php:32
#: ../../.././include/dataobject/Public_subscriber.php:202
msgid "Logbook"
@@ -1423,6 +1570,9 @@
# c:\program
#: ../../.././print_workorder.php:235
+#: ../../.././Copy of
+#: include/dataobject/Public_bill.php:36
+#: include/dataobject/Public_subscriber.php:206
#: ../../.././include/dataobject/Public_bill.php:36
#: ../../.././include/dataobject/Public_subscriber.php:206
msgid "Sequence"
@@ -1430,6 +1580,9 @@
# c:\program
#: ../../.././print_workorder.php:240
+#: ../../.././Copy of
+#: include/dataobject/Public_bill.php:37
+#: include/dataobject/Public_subscriber.php:207
#: ../../.././include/dataobject/Public_bill.php:37
#: ../../.././include/dataobject/Public_subscriber.php:207
msgid "Subsequence"
@@ -1437,20 +1590,25 @@
# c:\program
#: ../../.././print_workorder.php:245
-#: ../../.././admin/setup.php:92
+#: ../../.././Copy of
+#: include/dataobject/Public_bill.php:34
+#: include/dataobject/Public_subscriber.php:204
#: ../../.././include/dataobject/Public_bill.php:34
#: ../../.././include/dataobject/Public_subscriber.php:204
+#: ../../.././include/dcmms/include/i18n.php:201
msgid "Name"
msgstr "اسم المشترك"
# c:\program
#: ../../.././print_workorder.php:250
+#: ../../.././Copy of include/i18n.php:125
#: ../../.././include/i18n.php:125
msgid "Serial number"
msgstr "رقم العداد"
# c:\program
#: ../../.././print_workorder.php:255
+#: ../../.././Copy of include/i18n.php:126
#: ../../.././include/i18n.php:126
msgid "Subscription number"
msgstr "رقم الاشتراك"
@@ -1482,31 +1640,36 @@
# c:\program
#: ../../.././query.php:52
+msgid "Query DeliverPoint Number"
+msgstr "االاستفسار باستخدام نقطة الوصل"
+
+# c:\program
+#: ../../.././query.php:53
msgid "Query Meter Number"
msgstr "الاستفسار باستخدام الرقم الحديدي للعداد"
# c:\program
-#: ../../.././query.php:53
+#: ../../.././query.php:54
msgid "Query Subscriber Number"
msgstr "الاستفسار باستخدام رقم الاشتراك"
# c:\program
-#: ../../.././query.php:54
+#: ../../.././query.php:55
msgid "Query Subscriber name"
msgstr "الاستفسار باستخدام اسم المشترك"
# c:\program
-#: ../../.././query.php:55
+#: ../../.././query.php:56
msgid "Query Meter cabinet"
msgstr "الاستفسار باستخدام رقم الكابينة"
# e:\program
-#: ../../.././query.php:56
+#: ../../.././query.php:100
msgid "Search The Database"
msgstr "البحث في قاعدة البيانات"
# c:\program
-#: ../../.././query.php:61
+#: ../../.././query.php:105
msgid "Please enter the Query number."
msgstr "ادخل قيمة البحث"
@@ -1537,6 +1700,7 @@
# c:\program
#: ../../.././reports.php:41
+#: ../../.././Copy of include/i18n.php:88
#: ../../.././include/i18n.php:88
msgid "Damaged Meter Status Report"
msgstr "تقرير العدادات المحطمة"
@@ -1548,6 +1712,7 @@
# c:\program
#: ../../.././reports.php:44
+#: ../../.././Copy of include/i18n.php:89
#: ../../.././include/i18n.php:89
msgid "Not Working Meter Status Report"
msgstr "تقرير العدادات المعطلة"
@@ -1559,6 +1724,7 @@
# c:\program
#: ../../.././reports.php:47
+#: ../../.././Copy of include/i18n.php:90
#: ../../.././include/i18n.php:90
msgid "Reversed Meter Status Report"
msgstr "تقرير العدادات المعكوسة"
@@ -1570,6 +1736,7 @@
# c:\program
#: ../../.././reports.php:50
+#: ../../.././Copy of include/i18n.php:91
#: ../../.././include/i18n.php:91
msgid "Turnedover Meter Status Report"
msgstr "تقرير العدادات المقلوبة"
@@ -1619,6 +1786,8 @@
# c:\program
#: ../../.././reports.php:68
#: ../../.././reports.php:69
+#: ../../.././Copy of
+#: include/i18n.php:120
#: ../../.././include/i18n.php:120
msgid "DCCSS Task force Report"
msgstr "تقرير DCCSS لمجموعات العمل "
@@ -1841,18 +2010,21 @@
msgstr "عدادات محطمة - TF8"
#: ../../.././taskforce_report.php:61
+#: ../../.././Copy of include/i18n.php:116
#: ../../.././include/i18n.php:116
msgid "Select task force type:"
msgstr "اختر نوع مجموعة العمل:"
#: ../../.././taskforce_report.php:64
#: ../../.././taskforce_report.php:85
+#: ../../.././Copy of include/i18n.php:119
#: ../../.././include/i18n.php:119
msgid "Create Task force list"
msgstr "انشاء قائمة مجموعة عمل"
#: ../../.././taskforce_report.php:65
#: ../../.././taskforce_report.php:101
+#: ../../.././Copy of include/i18n.php:118
#: ../../.././include/i18n.php:118
msgid "Print Task force maps"
msgstr "طباعة خرائط مجموعات العمل"
@@ -1888,6 +2060,7 @@
# e:\program
#: ../../.././admin/bill_loader.php:98
#: ../../.././admin/shapefile_loader.php:285
+#: ../../.././include/dcmms/include/i18n.php:171
msgid "Load file"
msgstr "تحميل الملف"
@@ -2012,11 +2185,13 @@
# c:\program
#: ../../.././admin/processing.php:33
+#: ../../.././Copy of include/i18n.php:139
#: ../../.././include/i18n.php:139
msgid "Generate route information"
msgstr "توليد معلومات المسار"
#: ../../.././admin/processing.php:34
+#: ../../.././Copy of include/i18n.php:140
#: ../../.././include/i18n.php:140
msgid "Create line connection between meter cabinet and deliverypoints"
msgstr "انشاء الوصلات بين نقاط التوصيل و غرف العدادات الجماعية التي تحتوي عداداتها"
@@ -2082,58 +2257,6 @@
msgstr "تم حذفها بنجاح."
# c:\program
-#: ../../.././admin/setup.php:44
-#, fuzzy
-msgid "DCCSS Setup"
-msgstr "تقرير الحالة ل DCCSS"
-
-#: ../../.././admin/setup.php:58
-msgid "Adding the missing translations failed."
-msgstr ""
-
-#: ../../.././admin/setup.php:68
-msgid "Languages in include/dcmconfig.php:"
-msgstr ""
-
-#: ../../.././admin/setup.php:71
-#: ../../.././admin/setup.php:91
-msgid "ISO Code"
-msgstr ""
-
-#: ../../.././admin/setup.php:87
-#, php-format
-msgid "Languages in the Language table of the %s database."
-msgstr ""
-
-#: ../../.././admin/setup.php:99
-msgid "Plug-Ins"
-msgstr ""
-
-# e:\program
-#: ../../.././admin/setup.php:103
-#, fuzzy
-msgid "Identify Plug-Ins"
-msgstr "اداة التعريف"
-
-#: ../../.././admin/setup.php:104
-msgid "See conf/identifyplugin.ini for details."
-msgstr ""
-
-#: ../../.././admin/setup.php:133
-msgid "PEAR Packages"
-msgstr ""
-
-# c:\program
-#: ../../.././admin/setup.php:138
-#, fuzzy
-msgid "Package"
-msgstr "يوجد تسرب:"
-
-#: ../../.././admin/setup.php:139
-msgid "Version"
-msgstr ""
-
-# c:\program
#: ../../.././admin/shapefile_dumper.php:38
msgid "Error: Zip program is missing."
msgstr ""
@@ -2300,6 +2423,7 @@
msgstr ""
#: ../../.././conf/dccssconfig.php:121
+#: ../../.././Copy of include/i18n.php:111
#: ../../.././include/i18n.php:111
msgid "Illegal"
msgstr "وصله غير نظامية"
@@ -2323,24 +2447,37 @@
# c:\program
#: ../../.././conf/dccssconfig.php:126
+#: ../../.././Copy of include/i18n.php:37
#: ../../.././include/i18n.php:37
msgid "Damaged"
msgstr "محطم"
# e:\program
+#: ../../.././Copy of include/dccsspage.php:199
+#: include/dcmpostgis.php:30
#: ../../.././include/dccsspage.php:199
#: ../../.././include/dcmpostgis.php:30
+#: ../../.././include/dcmms/include/dcmmspage.php:208
msgid "FATAL ERROR: Not logged on!"
msgstr "خطأ: لم يتم الدخول الى النظام"
# e:\program
+#: ../../.././Copy of include/dccsspage.php:202
+#: include/dcmpostgis.php:31
+#: include/dcmpostgis.php:52
#: ../../.././include/dccsspage.php:202
#: ../../.././include/dcmpostgis.php:31
#: ../../.././include/dcmpostgis.php:52
+#: ../../.././include/dcmms/include/dcmmspage.php:211
msgid "Logon"
msgstr "الدخول الى النظام"
# c:\program
+#: ../../.././Copy of include/dccsspage.php:281
+#: include/dccsspage.php:285
+#: include/header.php:164
+#: include/header.php:168
+#: include/i18n.php:72
#: ../../.././include/dccsspage.php:281
#: ../../.././include/dccsspage.php:285
#: ../../.././include/header.php:164
@@ -2350,189 +2487,265 @@
msgstr "برنامج المسح الشامل للمشتركين"
# c:\program
+#: ../../.././Copy of include/dccsspage.php:284
+#: include/header.php:167
#: ../../.././include/dccsspage.php:284
#: ../../.././include/header.php:167
msgid "Click this link to go to the DCCSS main page."
msgstr "انقر من اجل الذهاب الى الصفحة الرئيسية."
# c:\program
+#: ../../.././Copy of include/dccsspage.php:290
+#: include/header.php:173
#: ../../.././include/dccsspage.php:290
#: ../../.././include/header.php:173
+#: ../../.././include/dcmms/include/dcmmspage.php:298
msgid "Search"
msgstr "بحث"
# e:\program
+#: ../../.././Copy of include/dccsspage.php:294
+#: include/header.php:177
#: ../../.././include/dccsspage.php:294
#: ../../.././include/header.php:177
msgid "Go to Delivery Point data entry form by ID"
msgstr "البحث عن نقطة المدخل باستخدام رقم التعريف"
# c:\program
+#: ../../.././Copy of include/dccsspage.php:322
+#: include/header.php:205
#: ../../.././include/dccsspage.php:322
#: ../../.././include/header.php:205
+#: ../../.././include/dcmms/include/dcmmspage.php:339
+#: ../../.././include/dcmms/include/i18n.php:159
msgid "Language: "
msgstr "اللغة:"
# c:\program
+#: ../../.././Copy of include/dccsspage.php:325
+#: include/header.php:208
#: ../../.././include/dccsspage.php:325
#: ../../.././include/header.php:208
msgid "Select the language in which the DCCSS pages are displayed."
msgstr "اختر لغة واجهة التطبيق."
# c:\program
+#: ../../.././Copy of include/dccsspage.php:326
+#: include/header.php:209
#: ../../.././include/dccsspage.php:326
#: ../../.././include/header.php:209
+#: ../../.././include/dcmms/include/dcmmspage.php:346
msgid "Next, click the "Select" button."
msgstr ""
# e:\program
+#: ../../.././Copy of include/dccsspage.php:349
+#: include/header.php:232
#: ../../.././include/dccsspage.php:349
#: ../../.././include/header.php:232
+#: ../../.././include/dcmms/include/dcmmspage.php:366
msgid "Click this button after selecting a language."
msgstr "اضغط على هذا الزر بعد اختيار اللغة."
# c:\program
+#: ../../.././Copy of include/dccsspage.php:352
+#: include/header.php:235
#: ../../.././include/dccsspage.php:352
#: ../../.././include/header.php:235
+#: ../../.././include/dcmms/include/dcmmspage.php:367
msgid "Select"
msgstr "اختيار"
# e:\program
+#: ../../.././Copy of include/dccsspage.php:354
+#: include/dccsspage.php:360
+#: include/header.php:237
+#: include/header.php:243
#: ../../.././include/dccsspage.php:354
#: ../../.././include/dccsspage.php:360
#: ../../.././include/header.php:237
#: ../../.././include/header.php:243
+#: ../../.././include/dcmms/include/dcmmspage.php:370
+#: ../../.././include/dcmms/include/dcmmspage.php:376
+#: ../../.././include/dcmms/include/i18n.php:145
msgid "Help"
msgstr "المساعدة"
# e:\program
+#: ../../.././Copy of include/dccsspage.php:359
+#: include/header.php:242
#: ../../.././include/dccsspage.php:359
#: ../../.././include/header.php:242
msgid "Click this link to view related information in the DCCSS user manual."
msgstr "اضغط على الراطة من اجل اظهار معلومات المساعدة في دليل المستخدم."
# c:\program
+#: ../../.././Copy of include/dccsspage.php:362
+#: include/dccsspage.php:366
+#: include/header.php:245
+#: include/header.php:249
#: ../../.././include/dccsspage.php:362
#: ../../.././include/dccsspage.php:366
#: ../../.././include/header.php:245
#: ../../.././include/header.php:249
+#: ../../.././include/dcmms/include/dcmmspage.php:379
+#: ../../.././include/dcmms/include/dcmmspage.php:383
+#: ../../.././include/dcmms/include/i18n.php:176
msgid "Logoff"
msgstr "خروج"
# c:\program
+#: ../../.././Copy of include/dccsspage.php:365
+#: include/header.php:248
#: ../../.././include/dccsspage.php:365
#: ../../.././include/header.php:248
msgid "Click this link to exit the DCCSS application."
msgstr "اضغط على الرابطة من اجل الخروج من البرنامج."
# e:\program
+#: ../../.././Copy of include/dccsspage.php:398
#: ../../.././include/dccsspage.php:398
msgid "Copyright (c) 2005,2006 DORSCH Consult. "
msgstr "حقوق الطبع محفوظة DORSCH Consult. 2005,2006"
# e:\program
+#: ../../.././Copy of include/dccsspage.php:399
#: ../../.././include/dccsspage.php:399
msgid "Last modified "
msgstr "اخر تعديل"
# e:\program
+#: ../../.././Copy of include/dccsspage.php:478
#: ../../.././include/dccsspage.php:478
msgid "This page is for DCCSS administrators only."
msgstr "هذه الصفحة من اجل الاداري فقط."
# c:\program
+#: ../../.././Copy of include/dccsspage.php:522
#: ../../.././include/dccsspage.php:522
+#: ../../.././include/dcmms/include/i18n.php:225
msgid "Pending"
msgstr ""
# c:\program
+#: ../../.././Copy of include/dccsspage.php:524
#: ../../.././include/dccsspage.php:524
+#: ../../.././include/dcmms/include/i18n.php:65
msgid "Completed"
msgstr ""
# c:\program
+#: ../../.././Copy of include/dccsspage.php:526
#: ../../.././include/dccsspage.php:526
#, php-format
msgid "Workorder #%s"
msgstr ""
# e:\program
+#: ../../.././Copy of include/dcmmap.php:607
#: ../../.././include/dcmmap.php:607
+#: ../../.././include/dcmms/include/dcmmap.php:577
msgid "Nothing was found at this location."
msgstr "لم يتم ايجاد شيء في هذا الموقع"
# e:\program
+#: ../../.././Copy of include/dcmmaputil.php:243
#: ../../.././include/dcmmaputil.php:243
+#: ../../.././include/dcmms/include/dcmmaputil.php:244
msgid "Accept Move"
msgstr "قبول التحريك"
# e:\program
+#: ../../.././Copy of include/dcmmaputil.php:252
#: ../../.././include/dcmmaputil.php:252
+#: ../../.././include/dcmms/include/dcmmaputil.php:253
msgid "Cancel Move"
msgstr "الغاء التحريك"
# e:\program
+#: ../../.././Copy of include/dcmmaputil.php:259
#: ../../.././include/dcmmaputil.php:259
+#: ../../.././include/dcmms/include/dcmmaputil.php:256
msgid "[Edit"
-msgstr "[تعديل"
+msgstr "[تعديل]"
# e:\program
+#: ../../.././Copy of include/dcmmaputil.php:268
#: ../../.././include/dcmmaputil.php:268
+#: ../../.././include/dcmms/include/dcmmaputil.php:264
msgid "Move"
msgstr "تحريك"
# c:\program
+#: ../../.././Copy of include/dcmmaputil.php:277
#: ../../.././include/dcmmaputil.php:277
+#: ../../.././include/dcmms/include/dataobject/Landmark.php:113
msgid "Delete"
msgstr "حذف"
# e:\program
+#: ../../.././Copy of include/dcmmaputil.php:281
#: ../../.././include/dcmmaputil.php:281
+#: ../../.././include/dcmms/include/dcmmaputil.php:268
msgid "[View]"
msgstr "[معاينة]"
# c:\program
+#: ../../.././Copy of include/dcmmspear.php:104
#: ../../.././include/dcmmspear.php:104
msgid "Next >>"
msgstr ""
# c:\program
+#: ../../.././Copy of include/dcmmspear.php:105
#: ../../.././include/dcmmspear.php:105
msgid "<< Back"
msgstr ""
# e:\program
+#: ../../.././Copy of include/dcmmspear.php:118
#: ../../.././include/dcmmspear.php:118
+#: ../../.././include/dcmms/include/i18n.php:122
+#: ../../.././include/dcmms/include/i18n.php:202
msgid "name"
msgstr "اسم المشترك"
# e:\program
+#: ../../.././Copy of include/dcmmspear.php:134
#: ../../.././include/dcmmspear.php:134
#, php-format
msgid "Displaying [%s - %s] of %s"
msgstr ""
# e:\program
+#: ../../.././Copy of include/header.php:269
#: ../../.././include/header.php:269
msgid "Copyright (c) 2005,2006 DORSCH Consult"
msgstr "حقوق الطبع محفوظة DORSCH Consult. 2005,2006"
# c:\program
+#: ../../.././Copy of include/header.php:293
#: ../../.././include/header.php:293
msgid "Please choose the"
msgstr "الرجاء الاختيار"
# e:\program
+#: ../../.././Copy of include/header.php:294
#: ../../.././include/header.php:294
msgid "from the list"
msgstr "من القائمة"
# e:\program
+#: ../../.././Copy of include/header.php:306
#: ../../.././include/header.php:306
+#: ../../.././include/dcmms/include/dcmmsreport.php:119
msgid "[Select One]"
msgstr "[اختر واحدة]"
# c:\program
+#: ../../.././Copy of include/header.php:350
+#: include/header.php:363
+#: include/header.php:400
#: ../../.././include/header.php:350
#: ../../.././include/header.php:363
#: ../../.././include/header.php:400
@@ -2540,6 +2753,9 @@
msgstr "الرجاء ادخال"
# e:\program
+#: ../../.././Copy of include/header.php:351
+#: include/header.php:364
+#: include/header.php:401
#: ../../.././include/header.php:351
#: ../../.././include/header.php:364
#: ../../.././include/header.php:401
@@ -2547,209 +2763,262 @@
msgstr "الى مربع النص"
# e:\program
+#: ../../.././Copy of include/header.php:445
+#: include/i18n.php:24
+#: include/dataobject/Public_bill.php:38
+#: include/dataobject/Public_subscriber.php:208
#: ../../.././include/header.php:445
#: ../../.././include/i18n.php:24
#: ../../.././include/dataobject/Public_bill.php:38
#: ../../.././include/dataobject/Public_subscriber.php:208
+#: ../../.././include/dcmms/include/i18n.php:26
+#: ../../.././include/dcmms/include/dataobject/Translation.php:111
msgid "Action"
msgstr "العملية"
# e:\program
+#: ../../.././Copy of include/header.php:472
#: ../../.././include/header.php:472
msgid "Please click the link to go to the "
msgstr "الرجاء الضغط على الرابطة من اجل الذهاب الى"
# e:\program
+#: ../../.././Copy of include/header.php:474
#: ../../.././include/header.php:474
msgid "Please click the link to View related information "
msgstr "الرجاء الضغط على الرابطة من اجل اظهار المعلومات المتعلقة"
# c:\program
+#: ../../.././Copy of include/i18n.php:26
+#: include/dataobject/Public_deliverypoint.php:151
+#: include/dataobject/Public_deliverypoint.php:152
+#: include/dataobject/Public_deliverypoint.php:154
#: ../../.././include/i18n.php:26
#: ../../.././include/dataobject/Public_deliverypoint.php:151
#: ../../.././include/dataobject/Public_deliverypoint.php:152
#: ../../.././include/dataobject/Public_deliverypoint.php:154
+#: ../../.././include/dcmms/include/i18n.php:312
msgid "Unknown"
msgstr "غير معروف"
# c:\program
+#: ../../.././Copy of include/i18n.php:28
#: ../../.././include/i18n.php:28
msgid "Chinese"
msgstr "صيني"
# c:\program
+#: ../../.././Copy of include/i18n.php:29
#: ../../.././include/i18n.php:29
msgid "Defence Factories"
msgstr "معامل الدفاع"
# c:\program
+#: ../../.././Copy of include/i18n.php:30
#: ../../.././include/i18n.php:30
msgid "French"
msgstr "فرنسي"
# c:\program
+#: ../../.././Copy of include/i18n.php:31
#: ../../.././include/i18n.php:31
#, fuzzy
msgid "Major Leakage"
msgstr "يوجد تسرب:"
# c:\program
+#: ../../.././Copy of include/i18n.php:32
#: ../../.././include/i18n.php:32
#, fuzzy
msgid "Minor Leakage"
msgstr "يوجد تسرب:"
+#: ../../.././Copy of include/i18n.php:33
#: ../../.././include/i18n.php:33
msgid "No Leak"
msgstr ""
# c:\program
+#: ../../.././Copy of include/i18n.php:34
#: ../../.././include/i18n.php:34
msgid "Barrel"
msgstr "برميل"
# c:\program
+#: ../../.././Copy of include/i18n.php:35
#: ../../.././include/i18n.php:35
#, fuzzy
msgid "Cubic Meter"
msgstr "متر"
# c:\program
+#: ../../.././Copy of include/i18n.php:36
#: ../../.././include/i18n.php:36
msgid "Liter"
msgstr "ليتر"
# c:\program
+#: ../../.././Copy of include/i18n.php:38
#: ../../.././include/i18n.php:38
msgid "Disconnected"
msgstr "مفصول"
# c:\program
+#: ../../.././Copy of include/i18n.php:39
#: ../../.././include/i18n.php:39
msgid "Reversed"
msgstr "معكوس"
# c:\program
+#: ../../.././Copy of include/i18n.php:40
#: ../../.././include/i18n.php:40
msgid "Turned Over"
msgstr "مائل"
# c:\program
+#: ../../.././Copy of include/i18n.php:41
#: ../../.././include/i18n.php:41
msgid "Working"
msgstr "عامل"
# c:\program
+#: ../../.././Copy of include/i18n.php:44
#: ../../.././include/i18n.php:44
msgid "Governmental"
msgstr "دوائر رسمية"
# e:\program
+#: ../../.././Copy of include/i18n.php:46
#: ../../.././include/i18n.php:46
+#: ../../.././include/dcmms/include/i18n.php:148
msgid "Hotel"
msgstr "فندق"
# c:\program
+#: ../../.././Copy of include/i18n.php:47
#: ../../.././include/i18n.php:47
msgid "Public Park"
msgstr "حديقة عامة"
# c:\program
+#: ../../.././Copy of include/i18n.php:48
#: ../../.././include/i18n.php:48
msgid "Religious Site"
msgstr "دور عبادة"
# c:\program
+#: ../../.././Copy of include/i18n.php:49
#: ../../.././include/i18n.php:49
msgid "Restaurant"
msgstr "مطعم"
# c:\program
+#: ../../.././Copy of include/i18n.php:50
#: ../../.././include/i18n.php:50
msgid "Sport Center"
msgstr "مركز رياضي"
# e:\program
+#: ../../.././Copy of include/i18n.php:51
#: ../../.././include/i18n.php:51
msgid "Station"
msgstr "محطة"
# c:\program
+#: ../../.././Copy of include/i18n.php:52
#: ../../.././include/i18n.php:52
msgid "Students Dormitory"
msgstr "سكن طلاب"
# c:\program
+#: ../../.././Copy of include/i18n.php:53
#: ../../.././include/i18n.php:53
msgid "Swimming Pool"
msgstr "مسبح"
# c:\program
+#: ../../.././Copy of include/i18n.php:54
#: ../../.././include/i18n.php:54
msgid "Cramped"
msgstr "الكابينة ضيقة"
# c:\program
+#: ../../.././Copy of include/i18n.php:55
#: ../../.././include/i18n.php:55
msgid "Dirty"
msgstr "متسخة"
# c:\program
+#: ../../.././Copy of include/i18n.php:56
#: ../../.././include/i18n.php:56
msgid "Indoors"
msgstr "داخل المنزل"
# c:\program
+#: ../../.././Copy of include/i18n.php:57
#: ../../.././include/i18n.php:57
msgid "Suitable"
msgstr "مناسب"
# c:\program
+#: ../../.././Copy of include/i18n.php:58
#: ../../.././include/i18n.php:58
msgid "Too Dark"
msgstr "مظلم"
# c:\program
+#: ../../.././Copy of include/i18n.php:59
#: ../../.././include/i18n.php:59
msgid "Too High"
msgstr "عالي"
# c:\program
+#: ../../.././Copy of include/i18n.php:60
#: ../../.././include/i18n.php:60
msgid "Not Working"
msgstr "معطل"
# e:\program
+#: ../../.././Copy of include/i18n.php:61
#: ../../.././include/i18n.php:61
msgid "public.subscriber"
msgstr "المشتركين"
# c:\program
+#: ../../.././Copy of include/i18n.php:63
+#: include/dataobject/Public_deliverypoint.php:149
#: ../../.././include/i18n.php:63
#: ../../.././include/dataobject/Public_deliverypoint.php:149
msgid "DeliveryPoint Information Data Entry"
msgstr "واجهة ادخال معلومات نقطة الوصول"
# c:\program
+#: ../../.././Copy of include/i18n.php:64
#: ../../.././include/i18n.php:64
#, fuzzy
msgid "Flatcount"
msgstr "عدد الطوابق:"
# c:\program
+#: ../../.././Copy of include/i18n.php:65
#: ../../.././include/i18n.php:65
msgid "Cabinetid"
msgstr "رقم كابينة المؤسسة"
+#: ../../.././Copy of include/i18n.php:66
#: ../../.././include/i18n.php:66
msgid "Ground Tank"
msgstr ""
+#: ../../.././Copy of include/i18n.php:67
#: ../../.././include/i18n.php:67
msgid "Individual Meter"
msgstr ""
# c:\program
+#: ../../.././Copy of include/i18n.php:68
+#: include/dataobject/Public_deliverypoint.php:148
+#: include/dataobject/Public_subscriber.php:108
#: ../../.././include/i18n.php:68
#: ../../.././include/dataobject/Public_deliverypoint.php:148
#: ../../.././include/dataobject/Public_subscriber.php:108
@@ -2757,221 +3026,276 @@
msgstr "رقم كابينة المؤسسة:"
# c:\program
+#: ../../.././Copy of include/i18n.php:71
#: ../../.././include/i18n.php:71
msgid "The value you have entered is not valid."
msgstr "القيمة المدخلة غير مقبوله"
# c:\program
+#: ../../.././Copy of include/i18n.php:74
#: ../../.././include/i18n.php:74
msgid "Subscriber Information Data Entry"
msgstr "معلومات المشتركين"
# c:\program
+#: ../../.././Copy of include/i18n.php:80
#: ../../.././include/i18n.php:80
+#: ../../.././include/dcmms/include/i18n.php:255
#, fuzzy
msgid "Residential"
msgstr "تنظيف النموذج"
# c:\program
+#: ../../.././Copy of include/i18n.php:84
#: ../../.././include/i18n.php:84
msgid "Apartment building"
msgstr "مجمع سكني"
# c:\program
+#: ../../.././Copy of include/i18n.php:85
#: ../../.././include/i18n.php:85
msgid "Commercial center"
msgstr "مجمع تجاري"
# c:\program
+#: ../../.././Copy of include/i18n.php:86
#: ../../.././include/i18n.php:86
msgid "Governmental Dept."
msgstr "دوائر رسمية"
# c:\program
+#: ../../.././Copy of include/i18n.php:87
+#: include/dataobject/Public_subscriber.php:89
#: ../../.././include/i18n.php:87
#: ../../.././include/dataobject/Public_subscriber.php:89
msgid "Meter location code:"
msgstr "رمز موقع العداد:"
+#: ../../.././Copy of include/i18n.php:92
#: ../../.././include/i18n.php:92
msgid "Reading"
msgstr ""
# c:\program
+#: ../../.././Copy of include/i18n.php:93
#: ../../.././include/i18n.php:93
msgid "Geocode"
msgstr "المفتاح الجغرافي"
# c:\program
+#: ../../.././Copy of include/i18n.php:94
#: ../../.././include/i18n.php:94
+#: ../../.././include/dcmms/include/i18n.php:264
msgid "Serialnumber"
msgstr "رقم العداد"
# c:\program
+#: ../../.././Copy of include/i18n.php:96
#: ../../.././include/i18n.php:96
#, fuzzy
msgid "No Bill Available report"
msgstr "تقرير للاشتراكات الغير موجودة"
# c:\program
+#: ../../.././Copy of include/i18n.php:97
#: ../../.././include/i18n.php:97
msgid "Disconnect No Bill Available report"
msgstr "تقرير العدادات المفصولة بدون فاتورة"
# c:\program
+#: ../../.././Copy of include/i18n.php:98
#: ../../.././include/i18n.php:98
#, fuzzy
msgid "Meter damaged report"
msgstr "قطر العداد:"
# c:\program
+#: ../../.././Copy of include/i18n.php:99
#: ../../.././include/i18n.php:99
msgid "Reversed Meter status report"
msgstr "تقرير العدادات المعكوسة"
# c:\program
+#: ../../.././Copy of include/i18n.php:100
#: ../../.././include/i18n.php:100
msgid "Turnedover Meter status report"
msgstr "تقرير العدادات المقلوبة"
+#: ../../.././Copy of include/i18n.php:101
#: ../../.././include/i18n.php:101
+#: ../../.././include/dcmms/include/i18n.php:77
msgid "Count"
msgstr ""
# e:\program
+#: ../../.././Copy of include/i18n.php:103
#: ../../.././include/i18n.php:103
+#: ../../.././include/dcmms/include/i18n.php:294
msgid "Table"
msgstr "اسم الجدول"
# C:\Program
+#: ../../.././Copy of include/i18n.php:105
#: ../../.././include/i18n.php:105
msgid "legal connection"
msgstr "وصله نظاميه"
# c:\program
+#: ../../.././Copy of include/i18n.php:106
#: ../../.././include/i18n.php:106
msgid "Unsuitable"
msgstr "غير مناسب"
# c:\program
+#: ../../.././Copy of include/i18n.php:107
#: ../../.././include/i18n.php:107
msgid "dpsequence"
msgstr "رقم نقطة التوصيل"
# c:\program
+#: ../../.././Copy of include/i18n.php:108
#: ../../.././include/i18n.php:108
msgid "logbooknumber"
msgstr "رقم المجلد"
# c:\program
+#: ../../.././Copy of include/i18n.php:1...
[truncated message content] |
|
From: <mah...@us...> - 2008-12-15 21:13:03
|
Revision: 364
http://dccss.svn.sourceforge.net/dccss/?rev=364&view=rev
Author: maher_karim
Date: 2008-12-15 21:12:58 +0000 (Mon, 15 Dec 2008)
Log Message:
-----------
Modified Paths:
--------------
branches/ms4w/apps/dccss/changelog
Modified: branches/ms4w/apps/dccss/changelog
===================================================================
--- branches/ms4w/apps/dccss/changelog 2008-12-15 21:00:33 UTC (rev 363)
+++ branches/ms4w/apps/dccss/changelog 2008-12-15 21:12:58 UTC (rev 364)
@@ -1,3 +1,19 @@
+2008-12-15 Maher Abdel karim <mah...@do...>
+
+ * conf/dccss_pewssa_en:
+ * conf/dccss_pewssa_ar:adjust the data definition to work with ms4w
+ * dataobject/public_subscriber.php: add print action
+ * ar/LC_MESSAGES/dccss.po:update translations.
+ * images/gtz.png:
+ * images/pewssa_logo.gif: added
+ * logbook_report.php:adjust query.
+ * print_ac: add new page to print inspection sheet.
+ * query.php: add possibility to query delivery point
+
+2008-09-28 Maher Abdel karim <mah...@do...>
+
+ * map.php:Adjust to use MS4W, not to define the mapscript version.
+
2007-03-20 Maher Abdel karim <mah...@do...>
* script/create_views.sql:adjust cabinetsubscribers view.
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <mah...@us...> - 2008-12-15 21:00:39
|
Revision: 363
http://dccss.svn.sourceforge.net/dccss/?rev=363&view=rev
Author: maher_karim
Date: 2008-12-15 21:00:33 +0000 (Mon, 15 Dec 2008)
Log Message:
-----------
Modified Paths:
--------------
branches/ms4w/apps/dccss/query.php
Modified: branches/ms4w/apps/dccss/query.php
===================================================================
--- branches/ms4w/apps/dccss/query.php 2008-12-15 20:58:25 UTC (rev 362)
+++ branches/ms4w/apps/dccss/query.php 2008-12-15 21:00:33 UTC (rev 363)
@@ -49,10 +49,54 @@
$Queryform->addElement('select', 'Table', _('Table:'),$arrTable);
$Queryform->addElement('text', 'searchvalue', _('Enter Search Value:'),
array('size' => 50, 'maxlength' => 128));
+$Queryform->addElement('radio', 'query',_('Query DeliverPoint Number'),'',5);
$Queryform->addElement('radio', 'query',_('Query Meter Number'),'',1);
$Queryform->addElement('radio', 'query',_('Query Subscriber Number'),'',2);
$Queryform->addElement('radio', 'query',_('Query Subscriber name'),'',3);
$Queryform->addElement('radio', 'query',_('Query Meter cabinet'),'',4);
+
+//print_r($_POST);
+/*
+$objArea =&$Queryform->addElement('hierselect', 'area', _('Area:'),
+ array('title' => _('Narrow down the area in which to search for points of interest.')));
+$strQuery = 'select dcmmstranslation(\''.$_SESSION['language'].
+ '\',Name), CodedValue from AdministrativeArea';
+ //print_r($strQuery);
+$arrAdministrativeArea[0] = _('[Select One]');
+$objResult =pg_query($strQuery);
+
+while($arrRow =& pg_fetch_row($objResult)) {
+ $arrAdministrativeArea[$arrRow[1]] = $arrRow[0];
+}
+$strQuery = 'select dcmmstranslation(\''.$_SESSION['language'].
+ '\',Name), Administra, CodedValue from Village where codedvalue in
+ (select village from landmark) order by Administra';
+
+$arrVillage[0][0] = _('[Select One]');
+$objResult =pg_query($strQuery);
+
+$intLast = 0;
+while($arrRow =& pg_fetch_row($objResult)) {
+ if($arrRow[1] != $intLast) {
+ $arrVillage[$arrRow[1]][0] = _('[Select One]');
+ }
+ // $arrVillage[$arrRow[1]][$arrRow[2]] = $arrRow[0];
+ $arrVillage[$arrRow[1]][$arrRow[2]] = $arrRow[0];
+}
+$strQuery = 'select dcmmstranslation(\''.$_SESSION['language'].
+ '\',Name), Administra, village from landmark order by Administra';
+$arrlandmark[0][0][0] = _('[Select One]');
+$objResult =pg_query($strQuery);
+
+$intLast = 0;
+while($arrRow =& pg_fetch_row($objResult)) {
+ if($arrRow[1] != $intLast) {
+ $arrlandmark[$arrRow[1]][0][0] = _('[Select One]');
+ }
+ $arrlandmark[$arrRow[1]][$arrRow[2]][$arrRow[0]] = $arrRow[0];
+}
+$objArea->setOptions(array($arrAdministrativeArea,$arrVillage));
+*/
$Queryform->addElement('submit', null, _('Search The Database'));
// Define filters and validation rules
@@ -80,6 +124,8 @@
$strWhere="name='".$Queryform->exportValue('searchvalue')."'";
} elseif ($Queryform->exportValue('query')==3){
$strWhere="name='".$Queryform->exportValue('searchvalue')."'";
+ } elseif ($Queryform->exportValue('query')==5){
+ $strWhere="sequence='".$Queryform->exportValue('searchvalue')."'";
}
}else{
@@ -98,6 +144,8 @@
$strWhere=" and (deliverypoint.cabinetid='".
$Queryform->exportValue('searchvalue')."' or subscriber.cabinetid='".
$Queryform->exportValue('searchvalue')."')";
+ } elseif ($Queryform->exportValue('query')==5){
+ $strWhere=" and deliverypoint.sequence=".$Queryform->exportValue('searchvalue');
}
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <mah...@us...> - 2008-12-15 20:58:29
|
Revision: 362
http://dccss.svn.sourceforge.net/dccss/?rev=362&view=rev
Author: maher_karim
Date: 2008-12-15 20:58:25 +0000 (Mon, 15 Dec 2008)
Log Message:
-----------
Modified Paths:
--------------
branches/ms4w/apps/dccss/logbook_report.php
Modified: branches/ms4w/apps/dccss/logbook_report.php
===================================================================
--- branches/ms4w/apps/dccss/logbook_report.php 2008-12-15 20:57:31 UTC (rev 361)
+++ branches/ms4w/apps/dccss/logbook_report.php 2008-12-15 20:58:25 UTC (rev 362)
@@ -19,6 +19,10 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
+
+/*--Script to be used
+create or replace view new_customer as select bill200803_billed .* from bill200803_billed left outer join subscriber on (subscriber.paracode=bill200803_billed.pnr) where subscriber.paracode is null
+*/
require_once('include/dccsspage.php');
require_once('include/dcmmspear.php');
//Required for database connection
@@ -67,9 +71,9 @@
if($Logbookform->validate()) {
$Logbookform->process($Logbookform, false);
- $objBill->orderBy('sequence,subsequence');
+ $objBill->orderBy('tr,book_1');
$objBill->limit($Logbookform->exportValue('batch')*100, 100);
- $objBill->logbook=$Logbookform->exportValue('logbookno');
+ $objBill->book=$Logbookform->exportValue('logbookno');
$num_rows = $objBill->find();
$numCounter = 2;
while($objBill->fetch()) {
@@ -133,9 +137,9 @@
<td colspan="3">'._('Survey Date.:').'</td></tr></table>');
$DccssPage->add('<table class="surveyform">
<tr><td colspan="3">'._('13.Cabinet No.(PEWSSA) : ').'</td><td colspan="1">'._('14.Meter Number: ').'
- </td><td colspan="2">'._('15.Meter Reading:').'<b>'.$objBill->meterreading.'</b></td><td>
+ </td><td colspan="2">'._('15.Meter Reading:').'<b>'.$objBill->curr_readi.'</b></td><td>
</td>
- <tr><td colspan="3">'._('16.Meter location Code:').'<b>'.$objBill->meterlocation.'</b></td><td colspan="1">'.
+ <tr><td colspan="3">'._('16.Meter location Code:').'<b>'.$objBill->meter_site.'</b></td><td colspan="1">'.
_('17.Connection Before Meter:').
'</td><td><input type="checkbox"/>'._('Yes').'<input type="checkbox"/>'.
_('No').'</td></tr>
@@ -143,7 +147,7 @@
_('Yes').'<input
type="checkbox" />'._('No').'</td><td>'._('19.Flat No.:').'</td><td>'.
_('20.Floor No.:').
- '</td><td>'._('21.Meter No.(logbook):').'<b>'.$objBill->meternumber.'</b></td></tr>
+ '</td><td>'._('21.Meter No.(logbook):').'<b>'.$objBill->num.'</b></td></tr>
<tr><td>'._('22.Meter Type:').'
</td><td colspan="4"><input type="checkbox"
/>'._(' Defence Factories ').'| <input type="checkbox"/>'._('Legal Connection').
@@ -163,14 +167,14 @@
<tr><td>'._('25.Leakage:').'</td><td colspan="4"><input type="checkbox"
/>'._(' None ').'| <input type="checkbox"/>'._(' Minor ').'| <input type="checkbox"/>'.
_(' Major ').'</td></tr>
- <tr><td colspan="3">'._('26.Logbook No.:').' '.$objBill->logbook.'
- </td><td>'._('27.Sequence:').' '.$objBill->sequence.'/'.$objBill->subsequence.'</td><td>
+ <tr><td colspan="3">'._('26.Logbook No.:').' '.$objBill->book.'
+ </td><td>'._('27.Sequence:').' '.$objBill->tr.'/'.$objBill->book_1.'</td><td>
'._('28.Subscription No.:').''.
- $objBill->subscribernumber.'</td></tr>
+ $objBill->account_nu.'</td></tr>
<tr><td colspan="4">'._('29.Subscriber is the Owner:').'<input type="checkbox" /> '.
_(' Yes ').'<input
type="checkbox" /> '._(' No ').'
- </td><td>'._('30.Name:').' '.$objBill->name.'</td></tr>
+ </td><td>'._('30.Name:').' '.$objBill->full_name.'</td></tr>
<tr><td>'._('31.Type of use:').'</td><td colspan="4">
<input type="checkbox" /> '._('Domestic').'
| <input type="checkbox" /> '._('Hospital').'
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <mah...@us...> - 2008-12-15 20:57:42
|
Revision: 361
http://dccss.svn.sourceforge.net/dccss/?rev=361&view=rev
Author: maher_karim
Date: 2008-12-15 20:57:31 +0000 (Mon, 15 Dec 2008)
Log Message:
-----------
Modified Paths:
--------------
branches/ms4w/apps/dccss/map.php
Modified: branches/ms4w/apps/dccss/map.php
===================================================================
--- branches/ms4w/apps/dccss/map.php 2008-12-15 20:56:03 UTC (rev 360)
+++ branches/ms4w/apps/dccss/map.php 2008-12-15 20:57:31 UTC (rev 361)
@@ -26,7 +26,7 @@
*/
$arrExtensions = array (
- 'mapscript_4.10.0',
+ 'mapscript',
);
$strExtensionPrefix = (PHP_SHLIB_SUFFIX === 'dll') ? 'php_' : '';
foreach ($arrExtensions as $strExtension) {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <mah...@us...> - 2008-12-15 20:56:13
|
Revision: 360
http://dccss.svn.sourceforge.net/dccss/?rev=360&view=rev
Author: maher_karim
Date: 2008-12-15 20:56:03 +0000 (Mon, 15 Dec 2008)
Log Message:
-----------
Added Paths:
-----------
branches/ms4w/apps/dccss/print_ac.php
Added: branches/ms4w/apps/dccss/print_ac.php
===================================================================
--- branches/ms4w/apps/dccss/print_ac.php (rev 0)
+++ branches/ms4w/apps/dccss/print_ac.php 2008-12-15 20:56:03 UTC (rev 360)
@@ -0,0 +1,272 @@
+<?php
+/* CSS -- DC Comprehensive Subscribers Survey
+ *
+ * nobillavailable_report.php - No Bill available report.
+ *
+ * Copyright (C) 2005 DORSCH Consult
+ * Copyright (C) 2006 DC Water and Environment
+ * 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
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+include("include/header.php");
+include_once("conf/dccssconfig.php");
+include("include/dccsspostgis.php");
+include("include/dcmmaputil.php");
+
+//for ($m=0;$m<count($_SESSION['TaskforceArray']);$m++){
+// $record=$m+1;
+
+$DcssPage = new DccssPage(basename(__FILE__));
+
+$strDirection = (0 == strncmp($_SESSION['language'],'ar', 2)) ? 'rtl' :
+ 'ltr';
+$date=date("F j, Y, g:i a");
+?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "xhtml1-strict.dtd">
+<html lang="<?= $_SESSION["language"] ?>">
+<head>
+ <title><?= _("Task force workorder"); ?></title>
+ <link rel="stylesheet" href="include/dccss.css" type="text/css" />
+ <link rel="stylesheet" href="include/<?= $strDirection ?>.css" type="text/css" />
+ <meta http-equiv="content-type" content="text/xhtml; charset=UTF-8" />
+</head>
+<body style="padding: 0px; margin: 0px; border: 0px; height: 18cm;"
+ dir="<?= (0 == strncmp($_SESSION['language'],'ar', 2)) ? 'rtl' :
+ 'ltr' ?>" >
+<table border="1" summary="Header" width="98%" height="4%" cellspacing="0"
+ cellpadding="0" nowrap="nowrap">
+ <tr>
+ <?php
+ $query = "select * from css_to_billing left outer join deliverypoint on
+ (css_to_billing.customerlocation=deliverypoint.sequence)
+ where deliverypoint.geocode=".$_REQUEST['geocode'];
+ //echo ($query);
+ $result = pg_query($query);
+ $numfields = pg_numfields($result);
+ $row = pg_fetch_array($result);?>
+
+ <td align="left" ><a style="vertical-align: left;"
+ href="index.php?PHPSESSID=<?= session_id()?>"><img
+ style="vertical-align: left; height=1cm;"
+ src="images/gtz.png" width=60 height=60 border="0" align="right" />
+ </a><b style="vertical-align: middle;"><?= _("German Technical Cooperation-GTZ") ?></b><br>
+ <b style="vertical-align: middle;"><?= _("Institutional Support to Aleppo Water establishment") ?></b><br>
+
+ </td>
+ <td align="center">
+ </a><b align="middle"><?php echo(_('Address confirmation')); ?></b><br>
+ </a><b align="middle"><?= _("Date:") ?><?php echo($date); ?></b></td>
+ </td>
+ <td><img src="images/pewss-logo.gif" border="0" align="right"
+ style="height: 1cm" /></td>
+ </tr>
+</table>
+<table border="1" summary="Map" width="98%" height="70%" cellspacing="0"
+ cellpadding="0" nowrap="nowrap">
+ <tr>
+ <td width="30%" height="50%" valign="top">
+ <table cellspacing="0" cellpadding="0"> <?php
+ //Customer information
+ /*echo("<tr><td class=\"input\"><font size=\"1\"><b>".$row[0]."</b></font></td>");
+ echo("<td width=\"%95\" class=\"label\"> <font size=\"1\">"._(pg_fieldname($result, 0))."</td></tr>");
+ echo("<tr><td class=\"input\"><font size=\"1\"><b>".$row[1]."</b></font></td>");
+ echo("<td width=\"%26\" class=\"label\"> <font size=\"1\">"._(pg_fieldname($result, 1))."</td></tr>");
+ echo("<tr><td class=\"input\"><font size=\"1\"><b>".$row[2]."</b></font></td>");
+ echo("<td class=\"label\"><font size=\"1\">"._(pg_fieldname($result, 2))."</td></tr>");
+ echo("<tr><td class=\"input\"><font size=\"1\"><b>".$row[3]."</b></font></td>");
+ echo("<td width=\"%26\" class=\"label\"> <font size=\"1\">"._(pg_fieldname($result, 3))."</td></tr>");
+ echo("<tr><td class=\"input\"><font size=\"1\"><b>".$row[4]."</b></font></td>");
+ echo("<td width=\"%26\" class=\"label\"> <font size=\"1\">"._(pg_fieldname($result, 4))."</td></tr>");
+ echo("<tr><td class=\"input\"><font size=\"1\"><b>".$row[5]."</b></font></td>");
+ echo("<td width=\"%26\" class=\"label\"> <font size=\"1\">"._(pg_fieldname($result, 5))."</td></tr>");
+ */
+ echo("<tr><td width=\"%50\" class=\"label\"> <font size=\"1\">"._(pg_fieldname($result, 0)).":</td>");
+ echo("<td class=\"input\"><font size=\"1\"><b>".$row[0]."</b></font></td></tr>");
+ echo("<tr><td width=\"%26\" class=\"label\"> <font size=\"1\">"._(pg_fieldname($result, 1)).":</td>");
+ echo("<td class=\"input\"><font size=\"1\"><b>".$row[1]."</b></font></td></tr>");
+ echo("<tr><td class=\"label\"><font size=\"1\">"._(pg_fieldname($result, 2)).":</td>");
+ echo("<td class=\"input\"><font size=\"1\"><b>".
+ ($row[2] == '' ? ' ' : _($row[2]))."</b></font></td></tr>");
+ echo("<td class=\"label\"><font size=\"1\">"._(pg_fieldname($result, 3)).":</td>");
+ echo("<td class=\"input\"><font size=\"1\"><b>".$row[3]."</b></font></td></tr>");
+ echo("<tr><td class=\"label\"><font size=\"1\">"._(pg_fieldname($result, 4)).":</td>");
+ echo("<td class=\"input\"><font size=\"1\"><b>".$row[4]."</b></font></td></tr>");
+ echo("<tr><td class=\"label\"><font size=\"1\">"._(pg_fieldname($result, 5)).":</td>");
+ echo("<td class=\"input\"><font size=\"1\"><b>".$row[5]."</b></font></td></tr>");
+echo("<tr><td class=\"label\"><font size=\"1\">"._(pg_fieldname($result, 6)).":</td>");
+ echo("<td class=\"input\"><font size=\"1\"><b>".$row[6]."</b></font></td></tr>");
+ echo("<tr><td class=\"label\"><font size=\"1\">"._(pg_fieldname($result, 7)).":</td>");
+ echo("<td class=\"input\"><font size=\"1\"><b>".$row[7]."</b></font></td></tr>");
+ echo("<tr><td class=\"label\"><font size=\"1\">"._(pg_fieldname($result, 9)).":</td>");
+ echo("<td class=\"input\"><font size=\"1\"><b>".$row[9]."</b></font></td></tr>");
+
+
+
+ ?>
+ </table>
+ <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
+ <table>
+ <tr><td><font size=\"2\"><?= _("Finish date:") ?></td></tr>
+ <tr><td><font size=\"2\"><?= _("Responsible name:") ?></td></tr>
+ <tr><td><font size=\"2\"><?= _("Signiture:") ?></td></tr>
+ </table>
+ </td>
+ <td width="70%" height="50%" valign="top"> <?php
+ $map_path="./";
+ $map = ms_newMapObj($map_path.sprintf($_SESSION["strMapFile"],
+ substr($_SESSION['language'], 0, 2)));
+ if(array_key_exists("PATH_TRANSLATED", $_SERVER)) {
+ $map->set("shapepath", str_replace("print_workorder.php", "data",
+ str_replace("\\", "/", $_SERVER["PATH_TRANSLATED"])));
+ }
+ $map->set("width", 1300);
+ $map->set("height", 900);
+
+ setLayerAuthentication($map);
+ adjustScalebar($map);
+
+ $objLayer = $map->getlayerbyname('DeliveryPoint');
+ /*
+ if ($objLayer->queryByAttributes("sequence","SEQUENCE=".
+ $_SESSION['TaskforceArray'][$m]['dpsequence'],MS_MULTIPLE) ==
+ MS_SUCCESS) {
+
+ //$oResult=$objLayer->getresult(1);
+ $ResultCount=$objLayer->getNumResults();
+ //
+ //print_r($objLayer->getresult(0));
+ $gbShowQueryResults = TRUE;
+ for ($i=0; $i < $ResultCount; $i++) {
+ $QueryResult=$objLayer->getResult($i);
+ $Risultato=$QueryResult->shapeindex;
+ $objLayer->open();
+ $Shape=$objLayer->getShape(0,$Risultato);
+ // print_r ($Shape->values);
+ $oExtents=$Shape->bounds;
+ //print_r($oExtents);
+ $objLayer->close();
+
+ $map->setextent($oExtents->minx-50,$oExtents->miny-50,$oExtents->maxx+50,
+ $oExtents->maxy+50);
+ }
+ }*/
+
+ $query = "select X(the_geom),Y(the_geom) from deliverypoint where geocode=".
+ $_REQUEST['geocode'];
+ $resultextent = pg_query($query);
+ $numrows = pg_numrows($resultextent);
+
+ for($i=0; $i<$numrows;$i++) {
+ $r = pg_fetch_row($resultextent, $i);
+
+ $pointX = $r[0];
+ $pointY=$r[1];
+ /*$box3d = str_replace("BOX3D(", "", $box3d);
+ $token = strtok($box3d, " ");
+ $minx = $token;
+
+ $token = strtok(" ");
+ $miny = $token;
+ $token = strtok(",");
+ $token = strtok(" ");
+ $maxx = $token+1;
+ $token = strtok(" ");
+ $maxy = $token+1;*/
+ }
+ //$map->setextent($minx-50,$miny-50,$maxx+50,$maxy+50);
+ $map->setextent($pointX-50,$pointY-50,$pointX+50,$pointY+50);
+
+
+
+ //Display the route lines
+
+
+ $objLayer = $map->getlayerbyname('route');
+ $objLayer->set("status",MS_ON);
+ $objLayer = $map->getlayerbyname('collection');
+ $objLayer->set("status", MS_ON);
+ $objLayer = $map->getlayerbyname('grid');
+ $objLayer->set("status", MS_OFF);
+
+ $image=$map->draw();
+ //$image=$map->drawquery();
+ $pointObj = ms_newPointObj();
+ //$pointObj->setXY($oExtents->minx, $oExtents->miny);
+ $pointObj->setXY($pointX, $pointY);
+ $glrLayer = $map->getLayerByName("center");
+ $pointObj->draw($map, $glrLayer,$image, 0, 1);
+ $pointObj->free();
+ $image_url=$image->saveWebImage("MS_PNG", 1, 1, 0);
+ $map->labelcache->free();
+ $image->free();
+
+ $map->freeQuery('*all*');
+
+ ?>
+ <a href="index.php?PHPSESSID=<?= session_id()?>"><img src="<?=
+ $image_url ?>" alt="Workorder Map" style="width: 20cm; height: 14cm;"/></a>
+ </td>
+
+ </tr>
+
+</table>
+<table border="1" summary="Header2" width="98%" height="4%" cellspacing="1"
+ cellpadding="1" cellborder="2" >
+
+<th><?= _("Check") ?></th>
+ <th><font size=\"1\">1.<?= _("Billing") ?></th><th><font size=\"1\">2.<?= _("Meter readings unit") ?></th>
+ <th><font size=\"1\">3.<?= _("Meter Archiving") ?></th><th><font size=\"1\">4.<?= _("Subscription Archiving") ?></th>
+ <th><font size=\"1\">5.<?= _("Field check") ?></th><th><font size=\"1\">6.<?= _("Billing data update") ?></th>
+ <th><font size=\"1\">7.<?= _("CSS data update") ?></th>
+
+ <tr><td class=label> <font size=\"1\"><?= _("Logbook")?></td><?php
+ for ($e=0;$e<7;$e++){
+ echo('<td></td>');
+ }
+ ?></tr>
+ <tr><td class=label> <font size=\"1\"><?= _("Sequence")?></td><?php
+ for ($e=0;$e<7;$e++){
+ echo('<td></td>');
+ }
+ ?></tr>
+ <tr><td class=label> <font size=\"1\"><?= _("Subsequence")?></td><?php
+ for ($e=0;$e<7;$e++){
+ echo('<td></td>');
+ }
+ ?></tr>
+ <tr><td class=label> <font size=\"1\"><?= _("Name")?></td><?php
+ for ($e=0;$e<7;$e++){
+ echo('<td></td>');
+ }
+ ?></tr>
+ <tr><td class=label> <font size=\"1\"><?= _("Serial number")?></td><?php
+ for ($e=0;$e<7;$e++){
+ echo('<td></td>');
+ }
+ ?></tr>
+ <tr><td class=label> <font size=\"1\"><?= _("Subscription number")?></td><?php
+ for ($e=0;$e<7;$e++){
+ echo('<td></td>');
+ }
+ ?></tr>
+</table>
+</body>
+</html>
+ <?php
+
+
+
+//}
+?>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <mah...@us...> - 2008-12-15 20:51:20
|
Revision: 359
http://dccss.svn.sourceforge.net/dccss/?rev=359&view=rev
Author: maher_karim
Date: 2008-12-15 20:51:14 +0000 (Mon, 15 Dec 2008)
Log Message:
-----------
2008-12-15 Maher Abdel karim <mah...@do...>
* conf/dccss_pewssa_en:
* conf/dccss_pewssa_ar:adjust the data definition to work with ms4w
* dataobject/public_subscriber.php: add print action
* ar/LC_MESSAGES/dccss.po:update translations.
* images/gtz.png:
* images/pewssa_logo.gif: added
* logbook_report.php:adjust query.
* print_ac: add new page to print inspection sheet.
* query.php: add possibility to query delivery point
Modified Paths:
--------------
branches/ms4w/apps/dccss/locale/ar/LC_MESSAGES/dccss.po
Modified: branches/ms4w/apps/dccss/locale/ar/LC_MESSAGES/dccss.po
===================================================================
--- branches/ms4w/apps/dccss/locale/ar/LC_MESSAGES/dccss.po 2008-12-15 20:47:00 UTC (rev 358)
+++ branches/ms4w/apps/dccss/locale/ar/LC_MESSAGES/dccss.po 2008-12-15 20:51:14 UTC (rev 359)
@@ -2,8 +2,8 @@
msgstr ""
"Project-Id-Version: DCCSS\n"
"POT-Creation-Date: \n"
-"PO-Revision-Date: 2007-03-20 13:57+0200\n"
-"Last-Translator: t <t>\n"
+"PO-Revision-Date: 2008-12-15 22:17+0200\n"
+"Last-Translator: Maher Karim <Mah...@do...>\n"
"Language-Team: Dorsch <mah...@do...>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <mah...@us...> - 2008-12-15 20:47:11
|
Revision: 358
http://dccss.svn.sourceforge.net/dccss/?rev=358&view=rev
Author: maher_karim
Date: 2008-12-15 20:47:00 +0000 (Mon, 15 Dec 2008)
Log Message:
-----------
2008-12-15 Maher Abdel karim <mah...@do...>
* conf/dccss_pewssa_en:
* conf/dccss_pewssa_ar:adjust the data definition to work with ms4w
* dataobject/public_subscriber.php: add print action
* ar/LC_MESSAGES/dccss.po:update translations.
* images/gtz.png:
* images/pewssa_logo.gif: added
* logbook_report.php:adjust query.
* print_ac: add new page to print inspection sheet.
* query.php: add possibility to query delivery point
Modified Paths:
--------------
branches/ms4w/apps/dccss/include/dataobject/Public_subscriber.php
Modified: branches/ms4w/apps/dccss/include/dataobject/Public_subscriber.php
===================================================================
--- branches/ms4w/apps/dccss/include/dataobject/Public_subscriber.php 2008-12-15 20:43:11 UTC (rev 357)
+++ branches/ms4w/apps/dccss/include/dataobject/Public_subscriber.php 2008-12-15 20:47:00 UTC (rev 358)
@@ -222,6 +222,9 @@
$ref='<a href="deliverypointpage.php?PHPSESSID='.session_id().
'&action=map&geocode='. $this->geocode.'">'.
_('[View on Map]').'</a>';
+ $ref=$ref.'<a href="print_ac.php?PHPSESSID='.session_id().
+ '&action=map&geocode='. $this->geocode.'">'.
+ _('[Print]').'</a>';
$showadd=false;
}
$objTable->setCellContents($i, 8, '<a href="'.$strPagePath.
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <mah...@us...> - 2008-12-15 20:43:17
|
Revision: 357
http://dccss.svn.sourceforge.net/dccss/?rev=357&view=rev
Author: maher_karim
Date: 2008-12-15 20:43:11 +0000 (Mon, 15 Dec 2008)
Log Message:
-----------
2008-12-15 Maher Abdel karim <mah...@do...>
* conf/dccss_pewssa_en:
* conf/dccss_pewssa_ar:adjust the data definition to work with ms4w
* dataobject/public_subscriber.php: add print action
* ar/LC_MESSAGES/dccss.po:update translations.
* images/gtz.png:
* images/pewssa_logo.gif: added
* logbook_report.php:adjust query.
* print_ac: add new page to print inspection sheet.
* query.php: add possibility to query delivery point
Added Paths:
-----------
branches/ms4w/apps/dccss/images/gtz.PNG
branches/ms4w/apps/dccss/images/pewss-logo.gif
Added: branches/ms4w/apps/dccss/images/gtz.PNG
===================================================================
(Binary files differ)
Property changes on: branches/ms4w/apps/dccss/images/gtz.PNG
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: branches/ms4w/apps/dccss/images/pewss-logo.gif
===================================================================
(Binary files differ)
Property changes on: branches/ms4w/apps/dccss/images/pewss-logo.gif
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <mah...@us...> - 2008-12-15 20:35:38
|
Revision: 356
http://dccss.svn.sourceforge.net/dccss/?rev=356&view=rev
Author: maher_karim
Date: 2008-12-15 20:35:26 +0000 (Mon, 15 Dec 2008)
Log Message:
-----------
2008-12-15 Maher Abdel karim <mah...@do...>
* conf/dccss_pewssa_en:
* conf/dccss_pewssa_ar:adjust the data definition to work with ms4w
* dataobject/public_subscriber.php: add print action
* ar/LC_MESSAGES/dccss.po:update translations.
* images/gtz.png:
* images/pewssa_logo.gif: added
* logbook_report.php:adjust query.
* print_ac: add new page to print inspection sheet.
* query.php: add possibility to query delivery point
Modified Paths:
--------------
branches/ms4w/apps/dccss/conf/dccss_pewssa_ar.map
branches/ms4w/apps/dccss/conf/dccss_pewssa_en.map
Modified: branches/ms4w/apps/dccss/conf/dccss_pewssa_ar.map
===================================================================
--- branches/ms4w/apps/dccss/conf/dccss_pewssa_ar.map 2007-03-20 12:00:03 UTC (rev 355)
+++ branches/ms4w/apps/dccss/conf/dccss_pewssa_ar.map 2008-12-15 20:35:26 UTC (rev 356)
@@ -20,7 +20,7 @@
WEB
MAXSCALE 500000000
- IMAGEPATH "/tmp/ms_tmp/"
+ IMAGEPATH "/ms4w/tmp/ms_tmp/"
IMAGEURL "/ms_tmp/"
END #WEB
@@ -126,8 +126,9 @@
TOLERANCEUNITS pixels
CONNECTIONTYPE postgis
CONNECTION "dbname=dccss user=dummy password=dummy host=localhost"
- DATA "the_geom from landmarkview using unique id using SRID=-1"
- labelitem "str_reverse(shape_arabic(dcmmstranslation('en',name)))"
+ DATA "the_geom from (select the_geom as the_geom,str_reverse(shape_arabic(dcmmstranslation('ar',name))) as name,
+ gid from landmarkview) as landmarkview using unique gid using SRID=-1"
+ labelitem "name"
HEADER 'header.html'
FOOTER 'footer.html'
LABELCACHE on
@@ -159,7 +160,7 @@
STATUS default
TOLERANCE 3
TOLERANCEUNITS pixels
- DATA 'C:\Program Files\dccss\data\water\pressurizedmain.shp'
+ DATA 'C:\Program Files\dccss\dccss\data\water\pressurizedmain.shp'
HEADER 'header.html'
FOOTER 'footer.html'
LABELCACHE on
@@ -186,7 +187,7 @@
TOLERANCE 3
TOLERANCEUNITS pixels
- DATA 'C:\Program Files\dccss\data\sewer\gravitymain.shp'
+ DATA 'C:\Program Files\dccss\dccss\data\sewer\gravitymain.shp'
HEADER 'header.html'
FOOTER 'footer.html'
LABELCACHE on
@@ -339,8 +340,8 @@
TOLERANCEUNITS pixels
CONNECTIONTYPE postgis
CONNECTION "dbname=dccss user=dummy password=dummy host=localhost"
- DATA "the_geom from collect using unique id using SRID=-1"
- labelitem "str_reverse(shape_arabic(dcmmstranslation('ar',name)))"
+ DATA "the_geom from (select the_geom,str_reverse(shape_arabic(dcmmstranslation('ar',name))) as name,id from collect) as collection using unique id using SRID=-1)"
+ labelitem "name"
HEADER 'header.html'
FOOTER 'footer.html'
LABELCACHE on
Modified: branches/ms4w/apps/dccss/conf/dccss_pewssa_en.map
===================================================================
--- branches/ms4w/apps/dccss/conf/dccss_pewssa_en.map 2007-03-20 12:00:03 UTC (rev 355)
+++ branches/ms4w/apps/dccss/conf/dccss_pewssa_en.map 2008-12-15 20:35:26 UTC (rev 356)
@@ -5,7 +5,7 @@
MAP
NAME 'DCCSS PEWSSA Map'
SIZE 550 400
- EXTENT -183076.82522917 225997.13100660 -178289.90618735 228999.64686146
+ EXTENT 163999.044455 111964.777588 260032.211613 189437.688401
UNITS meters
RESOLUTION 72
@@ -18,15 +18,15 @@
STATUS on
WEB
- MAXSCALE 500000000
- IMAGEPATH "/tmp/ms_tmp/"
+ #MAXSCALE 500000000
+ IMAGEPATH "/ms4w/tmp/ms_tmp/"
IMAGEURL "/ms_tmp/"
END #WEB
REFERENCE
IMAGE '../images/dccss.jpg'
- EXTENT -183076.82522917 225997.13100660 -178289.90618735 228999.64686146
+ EXTENT 163999.044455 111964.777588 260032.211613 189437.688401
STATUS on
COLOR -1 -1 -1
OUTLINECOLOR 255 255 0
@@ -82,32 +82,37 @@
END #QUERYMAP
LAYER #building
-
- NAME 'building'
-
- TOLERANCE 3
- TOLERANCEUNITS pixels
- connectiontype PostGIS
- CONNECTION "dbname=dccss user=dccss password=dccss host=localhost"
- data "the_geom from building using SRID=-1"
-
- LABELCACHE on
- STATUS on
- TYPE polygon
- CLASS
+ TRANSPARENCY 100
NAME 'building'
- template "ttt_query.html"
-
- STYLE
- COLOR 255 251 195
- #BACKGROUNDCOLOR 255 255 255
- END
- END #CLASS
- METADATA
- "DESCRIPTION" "building"
- "RESULT_FIELDS" "gid"
- END
-
+
+ TOLERANCE 3
+ TOLERANCEUNITS pixels
+ connectiontype PostGIS
+ CONNECTION "dbname=dccss user=dummy password=dummy host=localhost"
+ data "the_geom from building using SRID=-1"
+ HEADER 'header.html'
+ FOOTER 'footer.html'
+ LABELCACHE on
+ # TILEINDEX ''
+ # TILEITEM ''
+ STATUS on
+ DEBUG false
+ TRANSFORM true
+ TYPE polygon
+ CLASS
+ NAME 'building'
+ TEMPLATE 'template.html'
+ #RASTERFILL_STYLE_SOLID
+ STYLE
+ COLOR 255 251 195
+ BACKGROUNDCOLOR 255 255 255
+ END #STYLE
+ #OUTLINE SYMBOL
+ STYLE
+ OUTLINECOLOR 0 0 0
+ SIZE 1
+ END
+ END #CLASS
END #LAYER
LAYER #landmark
@@ -117,9 +122,9 @@
TOLERANCE 3
TOLERANCEUNITS pixels
CONNECTIONTYPE postgis
- CONNECTION "dbname=dccss user=dccss password=dccss host=localhost"
- DATA "the_geom from landmark using unique gid using SRID=-1"
-
+ CONNECTION "dbname=dccss user=dummy password=dummy host=localhost"
+ DATA "the_geom from landmarkview using unique id using SRID=-1"
+ labelitem "name"
HEADER 'header.html'
FOOTER 'footer.html'
LABELCACHE on
@@ -132,7 +137,7 @@
NAME 'LandMark'
template "ttt_query.html"
SYMBOL "square"
- SIZE 6
+ SIZE 10
color 10 15 10
label
color 10 15 10
@@ -142,16 +147,16 @@
size 15
end
END #CLASS
- LABELITEM 'enname'
+
END #LAYER
LAYER #pressurizedmain
TRANSPARENCY 100
NAME 'pressurizedmain'
- STATUS default
+ STATUS off
TOLERANCE 3
TOLERANCEUNITS pixels
- DATA 'C:\Program Files\dccss\data\water\pressurizedmain.shp'
+ DATA 'C:\Program Files\dccss\dccss\data\water\pressurizedmain.shp'
HEADER 'header.html'
FOOTER 'footer.html'
LABELCACHE on
@@ -178,7 +183,7 @@
TOLERANCE 3
TOLERANCEUNITS pixels
- DATA 'C:\Program Files\dccss\data\sewer\gravitymain.shp'
+ DATA 'C:\Program Files\dccss\dccss\data\sewer\gravitymain.shp'
HEADER 'header.html'
FOOTER 'footer.html'
LABELCACHE on
@@ -206,14 +211,14 @@
TOLERANCE 3
TOLERANCEUNITS pixels
- CONNECTION "dbname=dccss user=dccss password=dccss host=localhost"
- data "the_geom from grid using unique gid using srid=-1"
+ CONNECTION "dbname=dccss user=dummy password=dummy host=localhost"
+ data "the_geom from grid using srid=-1"
HEADER 'header.html'
FOOTER 'footer.html'
LABELCACHE on
# TILEINDEX ''
# TILEITEM ''
- STATUS on
+ STATUS off
DEBUG false
TRANSFORM true
TYPE polygon
@@ -232,21 +237,21 @@
SIZE 2
END
END #CLASS
- METADATA
+ METADATA
"DESCRIPTION" "grid"
"RESULT_FIELDS" "id"
END
END #LAYER
+
# DeliveryPoint Layer
LAYER
CONNECTIONTYPE postgis
NAME DeliveryPoint
- maxscale 15000
+ # maxscale 15000
TYPE POINT
- STATUS DEFAULT
- CONNECTION "dbname=dccss user=dccss password=dccss host=localhost"
- #DATA "E:/data/jv/customer/deliverypoint"
+ STATUS off
+ CONNECTION "dbname=dccss user=dummy password=dummy host=localhost"
DATA "the_geom from DeliveryPoint using SRID=-1"
labelitem "sequence"
CLASS
@@ -265,18 +270,18 @@
END
METADATA
"DESCRIPTION" "DeliveryPoint"
- "RESULT_FIELDS" "sequence geocode owner shopcount"
+ "RESULT_FIELDS" "sequence geocode owner"
END
TOLERANCE 50
END # Layer
-# Empty layer, used for AreaOfInterest center points
+# Empty layer,
layer
connectiontype PostGIS
- CONNECTION "dbname=dccss user=dccss password=dccss host=localhost"
+ CONNECTION "dbname=dccss user=dummy password=dummy host=localhost"
name "center"
type POINT
- status default
- DATA "the_geom from center using unique gid using srid=-1"
+ status OFF
+ DATA "the_geom from center"
CLASS
NAME "Center Point"
#template "ttt_query.html"
@@ -290,7 +295,7 @@
"RESULT_FIELDS" ""
END
TOLERANCE 15
-END
+END
layer
connectiontype PostGIS
CONNECTION "dbname=dccss user=dummy password=dummy host=localhost"
@@ -314,7 +319,7 @@
type truetype
backgroundcolor 250 230 120
size 14
- end
+ end
END
METADATA
"DESCRIPTION" "route line"
@@ -324,7 +329,7 @@
END
- LAYER #collection
+ LAYER #collection
TRANSPARENCY 100
NAME 'collection'
@@ -333,7 +338,7 @@
CONNECTIONTYPE postgis
CONNECTION "dbname=dccss user=dummy password=dummy host=localhost"
DATA "the_geom from collect using unique id using SRID=-1"
- labelitem "dcmmstranslation('en',name)"
+ labelitem "name"
HEADER 'header.html'
FOOTER 'footer.html'
LABELCACHE on
@@ -356,6 +361,5 @@
END #CLASS
END #LAYER
-
END #MAP
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <mah...@us...> - 2007-03-20 12:33:30
|
Revision: 355
http://svn.sourceforge.net/dccss/?rev=355&view=rev
Author: maher_karim
Date: 2007-03-20 05:00:03 -0700 (Tue, 20 Mar 2007)
Log Message:
-----------
2007-03-20 Maher Abdel karim <mah...@do...>
* script/create_views.sql:adjust cabinetsubscribers view.
* conf/dccssconfig.ini.default: add global variables for graph creation.
* status_report.php:adjust graph creation to use latest version
Modified Paths:
--------------
branches/ms4w/apps/dccss/changelog
branches/ms4w/apps/dccss/conf/dccssconfig.php.default
branches/ms4w/apps/dccss/locale/ar/LC_MESSAGES/dccss.po
branches/ms4w/apps/dccss/script/create_views.sql
branches/ms4w/apps/dccss/status_report.php
Modified: branches/ms4w/apps/dccss/changelog
===================================================================
--- branches/ms4w/apps/dccss/changelog 2007-03-19 11:54:26 UTC (rev 354)
+++ branches/ms4w/apps/dccss/changelog 2007-03-20 12:00:03 UTC (rev 355)
@@ -1,3 +1,9 @@
+2007-03-20 Maher Abdel karim <mah...@do...>
+
+ * script/create_views.sql:adjust cabinetsubscribers view.
+ * conf/dccssconfig.ini.default: add global variables for graph creation.
+ * status_report.php:adjust graph creation to use latest version
+
2007-03-19 Maher Abdel karim <mah...@do...>
* admin/setup.php:Add setup page.
@@ -1495,1482 +1501,1482 @@
* include/dataobject/public_subscriber.php: Using this file name to be
on the DCMMS translation getTable() function. More fields to be added to this
=======
-2007-03-5 Maher Abdel karim <mah...@do...>
-
- * script/drop_views.sql:fix sql errors.
-
-2006-12-04 Steffen Macke <Ste...@do...>
-
- * doc/user/en/form.doc: Updated table header
- * .project: Added Eclipse project
-
-2006-10-4 Maher Abdel karim <mah...@do...>
-
- * script/create_views.sql:adjust the css_to_billing view to include
- metercabinet routesequence for the related subscribers.
-
-2006-10-3 Maher Abdel karim <mah...@do...>
-
- * script/create_views.sql:add taskforce_damagednotworking view.
-
-2006-10-2 Maher Abdel karim <mah...@do...>
-
- * script/create_views.sql:adjust taskforce views to have the cabinetid
- * subscriberpage.php:remove echos.
- * script/create_css_ddl.sql:add grid, and collect tables for view
- creation.
- * script/create_views.sql:comment the lost customers view.
- * script/drop_views.sql:drop geometry columns from geometry_columns.
-
-2006-08-21 Maher Abdel karim <mah...@do...>
-
- * script/create_css_ddl.sql:add grid, and collect tables for view
- creation.
- * script/create_views.sql:comment the lost customers view.
- * script/drop_views.sql:drop geometry columns from geometry_columns.
- * admin/shapefile_loader.php:adjust the tables which the drop view
- script to be launched.
-
-2006-07-27 Maher Abdel karim <mah...@do...>
-
- * admin/processing.php: fix form elements labels.
- * include/i18n.php:
- * locale/ar/LC_MESSAGES/dccss.po: update translations
- * dccss.nsi:update version number.
- * include/header.php:
- * include/dccsspage.php:Adjust version number.
-
-2006-07-25 Maher Abdel karim <mah...@do...>
-
- * index.php:Add link to process.php page.
- * script/create_css_ddl.sql:adjust the dcrmroute().
- * admin/processing.php:adjust the form and event handling.
-
-2006-07-24 Maher Abdel karim <mah...@do...>
-
- * include/dataobject/public_subscriber.php:adjust the field names.
- * admin/css_to_billing.php:Create the ascii UTF8 encoded file to be
- transfered to the billing system.
- * index.php:Add link for the CSS to billing page.
- * script/create_css_ddl.sql:update the dcrmroute().
- * admin/processing.php:Add processing functionality for route,
- and meter cabinet
-
-2006-07-19 Maher Abdel karim <mah...@do...>
-
- * script/create_views.sql: add css_to_billing view for data transfer.
-
-2006-07-18 Maher Abdel karim <mah...@do...>
-
- * script/create_views.sql:add mote task force views.
- * script/create_css_ddl.sql:add routeid,and routesequence to metercabinet,
- and deliverypoint tables, and paracode to subscriber table.
- add dcrmroute() function.
- * print_workorder.php:
- * taskforce_report.php:add the ability to print batches.
-
-2006-07-12 Maher Abdel karim <mah...@do...>
-
- * include/i18n.php:
- * ar/LC_MESSAGES/dccss.po:update translations.
- * conf/dccss_pewssa_%s.map:update map layers.
- * print_workorder.php:adjust map layout.
- * taskforce_report.php:Adjust task force actions.add more task forces.
-
-2006-07-05 Maher Abdel karim <mah...@do...>
-
- * script/create_css_ddl.sql: add route table.add id field to
- metercabinet layer.
-
-2006-07-03 Maher Abdel karim <mah...@do...>
-
- * taskforce_report.php:add taskforce type to request.
- * print_workorder.php:control the layer display.
- * script/create_views.sql: add more task force views.
- * conf/dccss_pewssa_en.map:
- * conf/dccss_pewssa_en.map:Add collection area, and route layers.
- * doc/development/data_model.vsd:updated data model to include the
- collection area, and meter cabinet in the data model.These are used for
- task force.
- * conf/dccssconfig.php.default: Add an editable taskforce list.
-
-2006-06-30 Maher Abdel karim <mah...@do...>
-
- * taskforce_report.php:add taskforce type to request.
- * print_workorder.php:prepare task force map based on request.
- * script/create_views.sql: add taskforce_routedandmissplaced.
- * include/i18n.php:
- * locale/ar/dccss.po:add translations.
-
-2006-06-28 Maher Abdel karim <mah...@do...>
-
- * conf/dccss_pewssa_en.map:
- * conf/dccss_pewssa_en.map:Adjust the center layer symbol, and size.
-
-2006-06-26 Maher Abdel karim <mah...@do...>
-
- * script/create_views.sql:Create task force views.
- * taskforce_report.php:Add task force report which create list for task
- force actions, and create maps for them.Adjut file name, and copyright.
- * report.php:Add link for taskforce_report.php
-
-2006-04-16 Steffen Macke <Ste...@do...>
-
- * AUTHORS: Added Seth Nickell
- * images/dccss.ico: Rough version of icon
- * images/dccss-install.ico:
- * images/dccss-uninstall.ico: Fixed icon text (bug #1344119)
- * images/dccss_icon_16.png: New icon with customer and pen
- * images/dccss2.ico: deleted file
- * identifyplugin.ini: deleted file
- * images/dccss_small.png: New icon with customers, paper and pen; icon
- is based on the gedit icon
- * conf/dccssconfig.php.default: PostgreSQL 8.1 update
- * locale/ar/LC_MESSAGES/dccss.po: Using relative path to sources.
- Synchronized with sources. Translations are incomplete.
- * locale/ar/LC_MESSAGES/dccss.po: Updated English translations
-
-2006-04-15 Steffen Macke <Ste...@do...>
-
- * script/create_views.sql: Fixed grant
- * script/drop_views.sql: Fixed typos
-
-2006-04-15 Maher Abdel karim <mah...@do...>
-
- * status_reportt.php:
- * script/create_views.sql:use cabinetsubscriber,cabinetdeliveyview fix
- bug# 1470546.
-
-2006-04-14 Steffen Macke <Ste...@do...>
-
- * script/create_views.sql: formatting
- * script/drop_views.sql: Dropping more views
- * script/create_css_ddl.sql: ensure_user() and ensure_group() functions
- to allow installation on which the users and groups already exist.
-
-2006-04-11 Maher Abdel karim <mah...@do...>
-
- * script/create_views.sql: Adjust the view creation to be used with
- postgreSQL 8.1,adjust grants.
- * postgis.ini:Add the port no.
- * dccss.nsi:adjust the installer to detect the postgresql 8.1,adjust the
- version no.
- * query.php:Adjust meternumber query on bill table.
- * status_report.php:Adjust the planned and data entry charts to deal with
- empty subscriber table.
-
-2006-04-10 Maher Abdel karim <mah...@do...>
-
- * locale/ar/dccss.po:
- * locale/ar/dccss.mo:Update translation.
- * conf/sample_en.map:
- * conf/sample_ar.map:adjust map.
-
-2006-04-8 Maher Abdel karim <mah...@do...>
-
- * script/create_css_ddl.sql: adjust the table creation order.
-
-2006-04-6 Maher Abdel karim <mah...@do...>
-
- * doc/user/en/dccss_user_guide.xml: update the guide for realease.
- * doc/user/en/dccss_administration_guide.xml: update the guide for
- realease.
- * doc/build.xml
- * report.php: remove the link for query using meter no, as it is covered
- in the query.php.
- * query.php:Adjust the query from the bill table, not to include the
- meter cabinet selection.
-
-2006-04-2 Maher Abdel karim <mah...@do...>
-
- * script/create_views.sql:
- * status_report.php:adjust queries to work with postgresql 8.1.
-
-2006-03-28 Maher Abdel karim <mah...@do...>
-
- * index.php: remove bill loader link from the page. based on the skype
- discussion on 28-3-2006 (Steffen,Kurdi,Baha, and Maher).
-
-2006-03-19 Maher Abdel karim <mah...@do...>
-
- * admin/shapefile_loader.php:Adjust the returned value from the system
- execution to 0 instead of 1. fix bug#1453611
-
-2006-03-11 Maher Abdel karim <mah...@do...>
-
- * conf/dccss_pewssa_en.map: use gid instead of oid.
- * script/create_css_ddl.sql: add gid field to center table.
- * query.php: adjust the query.
- * include/dccsspage.php:
- * include/header.php: adjust the copy right, and the cvs date.
- * include/dataobject/public_subscriber.php:adjust field length.
-
-2006-02-21 Maher Abdel karim <mah...@do...>
-
- * query.php: adjsut the query by cabinetidID.
-
-2006-02-19 Maher Abdel karim <mah...@do...>
-
- * include/dataobject/public_subscriber.php:
- * include/dataobject/public_deliverypoint.php:Adjust the meter cabient
- length from 5 to 7.
- * query.php: add query by cabinetid.
-
-2006-02-12 Maher Abdel karim <mah...@do...>
-
- * admin/move_subscriber.php: check if the deliverypoint exsits.missing
- from previous commits.
- * script/create_css_ddl.sql: Add a new function createlineconnection(),
- to create the line connection between the meter cabinet and the
- related deliverypoint.
-
-2006-02-01 Steffen Macke <Ste...@do...>
-
- * changelog:
- * dataentry_performance_report.php: formatting
-
-2006-02-01 Maher Abdel karim <mah...@do...>
-
- * dataentry_performance_report.php:added data entry performance report.
-
-2006-01-31 Maher Abdel karim <mah...@do...>
-
- * dataobject/public_subscriber.php:adjust the maxlength rule for subscriber
- number.
- * script/create_views.sql:adjust the nobill view.
- * etc/dccss_flyer.doc:add the DCCSS flyer.
-
-2006-01-30 Steffen Macke <Ste...@do...>
-
- * changelog: formatting
- * index.php: formatting, removed unused code
-
-2006-01-29 Maher Abdel karim <mah...@do...>
-
- * index.php: adjust the link tip, and the copyright notice.
-
-2006-01-29 Steffen Macke <Ste...@do...>
-
- * changelog: formatting
-
-2006-01-28 Maher Abdel karim <mah...@do...>
-
- * script/create_views.sql:
- * status_report.php: adjust the meter cabinet subscriber view.
-
-2006-01-28 Steffen Macke <Ste...@do...>
-
- * changelog: formatting
- * script/create_css_ddl.sql: Added comment on purgesubscriber() function
-
-2006-01-26 Maher Abdel karim <mah...@do...>
-
- * script/create_css_ddl.sql:Add purgesubscriber().
- * admin/purge_subscriber.php: user purgesubscriber().
- * script/create_views.sql:adjust view query.
-
-2006-01-25 Steffen Macke <Ste...@do...>
-
- * changelog: formatting
-
-2006-01-25 Maher Abdel karim <mah...@do...>
-
- * script/create_views.sql:adjust the no bill available views, and subscribers
- from meter cabinet.
- * status_report.php: Adjust the no bill query.
-
-2006-01-19 Maher Abdel karim <mah...@do...>
-
- * admin/purge_subscriber.php:Add the functionality to remove a subscriber,
- and all related records.
- * admin/move_subscriber.php:Add the functionality to move all subscriber, or
- a specific subscriber from deliverypoint to another.
- * index.php: Add links to the new pages.
- * ar/LC_MESSAGES/dccss.po: Add translations
- * images/remove_temporary_files.png
- * images/stock_refresh.png: added images to be used.
- * status_report.php: fix the status report table creation, not to include the
- subtypes queries.
-
-2006-01-19 Steffen Macke <Ste...@do...>
-
- * doc/development/data_model.vsd: Some classes were marked
- by mistake as abstract. Corrected copyright notice
-
-2006-01-17 Maher Abdel karim <mah...@do...>
-
- * script/create_views.sql: Add clean up views
-
-2006-01-16 M.Sammer Srouji <sam...@do...>
-
- * doc/development: development folder were added
- * doc/development/data_model.vsd: DCCSS Data model
-
-2006-01-15 Maher Abdel karim <mah...@do...>
-
- * conf/dccss_pewssa_ar.map: Use unique id instead of oid.(PostgreSQL 8.1
- compatibility)
-
-2006-01-15 Steffen Macke <Ste...@do...>
-
- * script/create_views.sql: Removing OID dependency (PostgreSQL 8.1
- compatibility)
-
-2006-01-14 Maher Abdel karim <mah...@do...>
-
- * status_report.php:implement the CSS status reports with graphs.This report
- includes other information which is different than the CSS status report
- requested by sami. Like meter stuts,position,supply type, diameters..etc.
- * script/create_css_ddl.sql:Adjust sequence name for history. it is case
- sensetive.
-
-2006-01-12 Maher Abdel karim <mah...@do...>
-
- * script/create_view.sql:Add CSS status report views.
- * status_report.php:adjust the status report.
-
-2006-01-03 Maher Abdel karim <mah...@do...>
-
- * logbook_report.php:
- * logbook_report_subscriber.php:adjust the field name of the subsequence.
- * conf/dccss_pewssa_%s.map:add the id to metadata for grid layer. Used for
- identify.
-
-2006-01-03 Maher Abdel karim <mah...@do...>
-
- * surveyor_report.php:adjust the query.
-
-2005-12-27 Maher Abdel karim <mah...@do...>
-
- * script/create_css_ddl.sql:adjust the history table, to record the
- change of the subscriber information than the bill information.
- * include/dataobject/dccss.ini:
- * include/dataobject/public_history.php:
- * subscriberpage.php:Add the possibility to record the change of the main
- informaion (logbook,subscription,sequence,subsequenc,and name) between
- subscriber information from the css form and the bill information.
-
-2005-12-20 Maher Abdel karim <mah...@do...>
-
- * include/dataobject/dccss.ini:adjust the field type for cabinetid in
- subscriber,and deliverypoint from 1 to 2.
- * include/dcmmap.php:add a new command to handle the zoom to
- deliverypoint action.
- * deliverypointpage.php: use a new CMD=ZOOM_DeliveryPoint for zooming to
- deliverypoint.
- * conf/sample_%.map:
- * conf/dccss_pewssa_%.map:adjust the visibility of the center layer to
- be used for display the selected deliverypoint.
- * status_report.php:add more queries, these queries needs more checking
-
-2005-12-18 Maher Abdel karim <mah...@do...>
-
- * deliverypointpage.php:Add an update statement to record the insertdate,
- and username.
- * Dataentry_performance_report.php: Add new report to monitor the data
- entry performance.
- * include/dataobject/dccss.ini:add the insertdate,username to the
- deliverypoint table.
- * Status_report.php:Add a new query for CSS survey status.Add graphs for
- performance.
- * survey_report.php:adjustments to the graph layout.
-
-2005-12-13 Maher Abdel karim <mah...@do...>
-
- * subscriberpage.php
- * include/dataobject/public_subscriber.php:adjust the passed varaibles to
- the getTable(). pass a new variable to display the action.
- * include/dataobject/public_bill.php:Adjust the getTable().Add more fields
- and add more parameters to it.
- * query.php:Add a new page to allow the users to make queries based on
- subscriber name,meter,subscription on the the bill,and subscriber tables.
- Add the possibility to edit subscriber information,or view the
- subscriber location on the map.
- * index.php:Add a link for the query.php page.
- * deliverypointpage.php:adjust the zooming extent.
- * ar/LC_MESSAGES/dccss.po:Add more translations.
- * script/create_css_ddl.sql:remove the foreign key for
- meterlocationdeliverypointseq field in subscriber table
-
-2005-12-12 Maher Abdel karim <mah...@do...>
-
- * script/create_css_ddl.sql:Add insertdate field to the subscriber table.
- add legal connection to supplytype.add cabinetid to the subscriber table.
- Add legal connection to meter type.Add insert codedvalue to meterlocation
- table introduce meterlocationcode and use it instead of meterlocation.
- Add meter location delivery point sequence to subscriber. RFE#1378181
- * include/dataobject/dccss.links.ini:add meterlocationdeliverypointseq
- to subscriber
- * include/dataobject/dccss.ini:add meterlocationdeliverypointseq,
- meterlocationcode to subscriber
- * logbook_report_subscriber.php:
- * logbook_repoprt.php:Add Grid number to the form as requested by Sami,
- Hussain.Add legal connection to supply type.meterlocation,change some
- headers.Add meterlocationdeliverypointseq to the form.RFE#1378182
- * include/dataobject/public_subscriber.php: Add cabinetid to the form.
- add meterlocationdeliverypointseq.
- * ar/LC_MESSAGES/dccss.po:Add translations.
- * subscriberpage.php:Use meterlocationcode instead of meterlocation.
-
-
-2005-12-06 Maher Abdel karim <mah...@do...>
-
- * include/dataobject/public_bill.php:Add gettable().
- * Subscriberpage.php:Add the possibility to handle Bill record
- duplication. A new table will be displayed on top in case of duplication.
- Use find() instead of get().Add more check in the case of the form is
- not validated.
- * admin/bill_loader.php:Adjust the field length on the extract for the
- meter location.
-
-2005-12-04 Maher Abdel karim <mah...@do...>
-
- * logbook_report.php:
- * logbook_report_subscriber.php:Add unsuiable to meter position.
- * script/create_css_ddl.sql:add unsuitable codedvalue to meterposition.
- Fix RFE#1372773
-
-2005-12-03 Maher Abdel karim <mah...@do...>
-
- * script/create_css_ddl.sql:adjust the view creations.increase the notes
- length in subscriber table.add subsequence to the subscriber table.
- * surveyor_report.php:Add graph for monitorin surveyor performance.
- * nobillavailbale_report.php:
- * disconnectnobill_report.php:Adjust the query.
- * include/dataobject/dccss.ini:
- * include/dataobject/public_subscriber.php:
- * subscriberpage.php:add subsequence to the form.
- * ar/LC_MESSAGES/dccss.po:update translations.
-
-2005-11-30 Maher Abdel karim <mah...@do...>
-
- * survey_report.php: change the query to include the no of deliverypoint
- and surveyed subscribers. use the surveydate instead of the insert date.
- * create_css_ddl.sql:
- * include/dataobject/dccss.ini:
- * include/dataobject/public_subscriber.php:add beneficiaryname to the
- subscriber page,form, and table.RFE#1369900
-
-2005-11-29 Maher Abdel karim <mah...@do...>
-
- * script/create_css_ddl.sql: add actions to the cross link tables.Add
- username field to the subscriber table.
- * subscriberpage.php:insert the username from the session to the
- subscriber table.
- * damaged_report.php:
- * disconnectnobill_report.php:
- * nobillavailable_report.php:
- * notworking_report.php:
- * Reversed_report.php:
- * Turnedover_report.php: adjusted report creation conditions.
- * include/dataobject/public_subscriber.php:
- * include/dataobject/dccss.ini: add the username to the subscriber table.
-
-2005-11-17 Maher Abdel karim <mah...@do...>
-
- * conf/sample_%s.map:make the two map files identical.Adjust the path.
- closing Bug# 1357133
- * meter_query_report.php: add a new report to query the bill table
- using the meter number.
- * reports.php: add link for the meter query report.
-
-2005-11-15 Steffen Macke <Ste...@do...>
-
- * dccss.nsi: Updates for PostgreSQL 8.1
- * conf/sample_ar.map:
- * conf/sample_en.map: Fixed shape path, PostgreSQL 8.1 update (no OID)
- * script/create_views.sql: PostgreSQL 8.1 update (no OID in
- LandmarkView)
-
-2005-11-13 Maher Abdel karim <mah...@do...>
-
- * script/create_css_ddl.sql: expand the subscription feild length to 10
- instead of 7, due to data entry need.
- * include/dataobject/public_subscriber.php: add validation on the page for
- subscriber number to be 7 not 10.add more validation on string fields.
-
-2005-11-10 Steffen Macke <Ste...@do...>
-
- * doc/user/en/dcmms_user_guide.xml: Re-added cross reference
-
-2005-11-10 Maher Abdel karim <mah...@do...>
-
- * conf/dccss_pewssa_%s.map: Adjust the path.
-
-2005-11-10 Maher Abdel karim <mah...@do...>
-
- * script/create_css_ddl.sql: grants.one by one.Should close Bug#1350983
- * include/header.php:
- * include/dccsspage.php: adjust version number from 0.0.5 to 0.5.0.
- * deliverypointpage.php: add the submit button according to the case
- that the deliverypoint is available or not.This to restrict the user to
- submit for deliverypoint that does not exist in the database.Add the
- session information to the links.
- * include/public_deliverypoint.php: restrict the dataobject from
- creating the submit button.The role required for formbuilder.
- * subscriberpage.php:Add session information to the links.
- * search.php:adjust the page forwarding in case if no values is
- inserted, and pass the session information.
- * include/i18n.php:
- * admin/shapefile_loader.php:
- * ar/LC_MESSAGES/dccss.po:Update translation.
- * admin/bill_loader.php:apply the trim for all string fields to be
- loaded to the database.adjust the field name from meterread to
- meterreading according to the database.Supply equest# 1349992
- * logbook_report_subscriber.php:
- * logbook_report.php: adjust the form printing variable to use
- meterreading instead of meterread.
-
-2005-11-09 Maher Abdel karim <mah...@do...>
-
- * script/create_css_ddl.sql: adjust subtypes.
- * script/create_views.sql:add grants.
- * conf/dccss_pewssa_%s.map:
- * conf/sample_%s.map:adjust for localization.
- * conf/dccssconfig.php.default: introduce a new variable to handle the
- DCCSS administrator group.
- * include/dcmpostgis.php: adjust the adminisrator group name to use the
- passed variable.
- * index.php: use dcmpostgis.php instead of dccsspostgis.php, and use the
- pg_is_administrator() to offer page options based on the user rights.
- closing Bug#1352196.
- * ar/LC_MESSAGES/dccss.po:update translations
-
-2005-11-09 Steffen Macke <Ste...@do...>
-
- * script/create_css_ddl.sql: Added missing sequence and grants for
- sequences; partial fix for bug #1350015; However, the problem still
- exists and needs more investigation
-
-2005-11-08 Maher Abdel karim <mah...@do...>
-
- * about.php:Added to CVS.
-
-2005-11-09 Steffen Macke <Ste...@do...>
-
- * doc/user/en/dccss_user_guide.xml: formatting, small corrections
-
-2005-11-08 Steffen Macke <Ste...@do...>
-
- * script/create_views.sql: formatting
-
-2005-11-08 Maher Abdel karim <mah...@do...>
-
- * dccss.nsi:Add the sample maps to the installer.
- * conf/dccssconfig.php.default: adjust the map, sample_%s.map is used as
- default.and use only the en,ar languages.
- * doc/user/en/dccss_user_guide.xml: update the documentation to explain
- how to enter the subscriber information.
- * script/create_css_ddl.sql: add landmark table, and sequence.to fix the
- installer error.
-
-2005-11-08 Steffen Macke <Ste...@do...>
-
- * dccss.nsi: Run DCCSS DDL script, not the DCMMS one;
- Standard path for PostArabic; Added Arabic and English
- language macros
- * conf/php.ini: Added necessary file for installer creation
- * bin/README.txt;
- * data/README.txt: Added information how to obtain the necessary files
- for bin and data folders
- * etc/DCCSS.url:
- * etc/DCCSS homepage.url: Added necessary files for installer creation
- * doc/user/en/figure/error_page_cannot_be_displayed.png:
- * doc/user/en/figure/stock-tool-move.png:
- * doc/user/en/figure/stock_extended-help.png:
- * doc/user/en/figure/stock_zoom-out.png: Added missing figures
- * locale/en/dccss.po: Updated English translations
-
-2005-11-07 Maher Abdel karim <mah...@do...>
-
- * include/dccsspage.php:
- * include/header.php: Adjust the title of the 'go to delivery point by
- id' to 'Go to Delivery Point data entry form by ID'.
- * script/create_css_ddl.sql: Added the landmarksubtype table.
- * logbook_report.php: added a check box, so the user can specify if he
- need the deliverypoint related information to be printed, or just the
- subscriber information. fix RFE#1334775.add translations
- * ar/LC_MESSAGES/dccss.po:
- * include/i18n.php:add more translations
- * dccss.ini: the installer is creating the dccssconfig.php now.
- * doc/user/en/dccss_user_guide.xml: adjust the documentation related to
- the go to delivery point by id button.
- * deliverypointpage.php: adjust variable handling, and subscriber table
- display.
- * dccss.ini: remove the part which delete the files under php folder.
-
-
-2005-11-07 Steffen Macke <Ste...@do...>
-
- * map.php: Removed link to nonexistant zoom.php page
-
-2005-11-07 Maher Abdel karim <mah...@do...>
-
- * dccss.nsi:Adjust the paths.including the docbook.css in
- the installer to be added under user\en folder.remove the html.css from
- the installer.
-
-2005-11-07 Steffen Macke <Ste...@do...>
-
- * include/dataobject/Public_subscriber.php: Fixed two typos in the
- labels
-
-2005-11-07 Maher Abdel karim <mah...@do...>
-
- * subscriberpage.php: Add link to go back to the deliverypage without
- the need to submit. closing RFE# 1350003.
- * dccss.nsi: remove the update option from the installer.closing RFE#
- 1349408.
-
-2005-11-06 Maher Abdel karim <mah...@do...>
-
- * changelog: Formatting.
-
-2005-11-06 Steffen Macke <Ste...@do...>
-
- * changelog: Formatting
-
-2005-11-06 Maher Abdel karim <mah...@do...>
-
- * conf/dccss_pewssa_en.map: Adjust the landmark, and pressurizedmain
- shapefiles to be used the same as the DCMMS.and adjust the display of
- water network.
- * conf/dccss_pewssa_ar.map: Add the arabic map file.
- * script/create_css_ddl.sql: Add landmarksubtype table,translation,
- language tables to use for translation.
- * script/create_views.sql: Create the needed views for translation.
- * script/drop_views.sql: drop the views needed for translation.
- * admin/shapefile_loader.php: Add the shapefile loader to the
- application based on DCMMS shapefile loader.
- * index.php: Add a link for the shapefile loader to the page.
- * dccss.nsi: Add section to install PostArabic.and adjust the files
- copied from the script folder.
-
-2005-11-02 Maher Abdel karim <mah...@do...>
-
- * script/create_css_ddl.sql: update the subscriber table FK refrences
- geocode,this will solve the problem of updating the deliverypoint
- location, and reflect this on the related subscribers. But restrict the
- delete if there is a subscriber record.
- * map.php: Adust variable names.
-
-2005-10-31 Maher Abdel karim <mah...@do...>
-
- * reports.php:
- * surveyor_report.php: Add Surveyors Performance report.
- * ar/LC_MESSAGES/dccss.po: Add translations.
-
-2005-10-30 Maher Abdel karim <mah...@do...>
-
- * doc/user/en/dccss_user_guide.xml: updated the user manual.
- * doc/administration/dccss_administration_guide.xml: adjust the
- administration guide
- * dccss.nsi: adjusted the documentation path, and shortcuts.
-
-2005-10-29 Steffen Macke <Ste...@do...>
-
- * doc/build.xml: Fixed documentation build (partially)
-
-2005-10-29 Baha Al Faqih <bah...@do...>
-
- * doc/administration: Add the administration folder
- * administration/figure: Add the figure folder
- * add the dccss_administration_guide.xml file
-
-2005-10-29 Maher Abdel karim <mah...@do...>
-
- * index.php: Adjust images,remove the logbook, subscriber reports to be
- accessed under reports page.
- * include/dccsspage.php:
- * include/header.php: adjust version.
- * reports.php: Shift reports from the index page to the report page.
- These reports include logbook,subscriber reports.
- * images/*.png: add more images to be used for the header, and the index
- pages.
- * about.php:Added the about page.
- * authors.php:Adjust the authors names, and add baha faqih
-
-
-2005-10-25 Maher Abdel karim <mah...@do...>
-
- * include/dccss.ini: adjust field names from formno to formnumber.
- * dataobject/public_deliverypoint.php: Adjust field names.
- * conf/dccss_pewssa_en.map: Adjust the symbol size for labels.
- * script/create_css_ddl.sql: remove the FK for the metercabinet from the
- deliverypoint table.
-
-2005-10-24 Maher Abdel karim <mah...@do...>
-
- * changelog: formatting.
- * dccss.ini:adding more files to the installer.
- * conf/dataobject.ini.default: Adjusting the schema location,other settings.
- * conf/dccss_pewssa_en.map:Adjust the data path.
- * conf/dccssconfig.php.default:adjusting the default configuration.
-
-2005-10-24 Maher Abdel karim <mah...@do...>&&
- Baha Al Faqih <bah...@do...>
-
- * logbook_report.php: Adjust the query and use find insted of get in
- order to solve the fetch() bug with scipping the first record from each
- batch.
- * logbook_report_subscriber.php: Adjust the query and use find insted of
- get in order to solve the fetch() bug with scipping the first record
- from each batch.
-
-2005-10-24 Maher Abdel karim <mah...@do...>
-
- * bin: added bin folder.
- * dccss.nsi: Start the DCCSS installer based on the DCMMS.
- * data/readme.txt: added readme file to be used for the installer.
- * postgis.ini: added database configuration file.
- * etc/DCCSS homepage:add shortcut for the DCCSS.sf.net website.
- * etc/DCCSS: added shortcut for the DCCSS website in the localhost.
- * script/remove_temporary_files.bat: batch file for removing temporary
- files.
- * script/ReplaceInFile.nsh:
- * script/StrReplace.nsh:
- * conf/php.ini:added needed files for the installer.
- * images/dccss-install.ico:
- * images/dccss.ico:
- * images/installer-header.bmp:
- * images/dccss-uninstall.ico: add installer icons.
- * ar/LC_MESSAGES/dccss.po
- * en/LC_MESSAGES/dccss.po:updated translation
-
-2005-10-23 Maher Abdel karim <mah...@do...>
-
- * doc/user/en/dccss_user_guide.xml:continue working on the DCCSS user guide.
- * doc/user/en/figure/*.png: Added figures to be used in the guide.
- * index.php:remove the zoom.php link.
- * subscriberpage.php: remove the $user variable and array.and code debug.
-
-2005-10-23 Steffen Macke <ste...@do...>
-
- * changelog: formatting
- * script/create_css_ddl.sql: Bill.MeterReading instead of Bill.MeterRead
-
-2005-10-23 Baha Al Faqih <bah...@do...>
-
- * script/create_css_ddl.sql: Add new Coloum to the table bill named
- MeterRead
- * admin/bill_loader.php: Adjust the loader to get the Meter reading value
- * logbook_report.php: Display the MeterRead value in Meter Reading space
- * logbook_report.php: Field Numbering According to the Main form
- * logbook_report_subscriber.php: Display the MeterRead value in Meter
- Reading space
- * logbook_report_subscriber.php: Field Numbering According to the Main
- form
-
-2005-10-22 Steffen Macke <Ste...@do...>
-
- * index.php: Fixed text collision at the bottom of the page; formatting
- * logbook_report.php: Fixed typo in note
- * logbook_report_subscriber.php: Fixed typo in note; formatting; trying
- to avoid that the same record get's printed twice
-
-2005-10-22 Baha Al Faqih <bah...@do...>
-
- * logbook_report_subscriber.php: Create New Report fo Subscription
- information.
-
-2005-10-17 Steffen Macke <ste...@do...>
-
- * include/dataobject/Public_deliverypoint.php: Formatting, removed
- dead code that was commented out.
-
-2005-10-16 Maher Abdel karim <mah...@do...>
-
- * dataobject/public_subscriber.php: Added the note field to be displayed
- as text area field.
- * subscriberpage.php: displaying the associated data from the bill table.
- resetting the form after submit.Add reset button.
- * include/dataobject/dccss.ini: Adjust the data type for the subscription field.
- * include/dataobject/public_subscriber.php: Adjust rules,remove the submit
- button from the form creation.Adjust the note field display.
-
-2005-10-11 M.Sammer Srouji <sam...@do...>
-
- * script/create_css_ddl.sql: fix error with some comments and one id
- field creation
-
-2005-10-13 Steffen Macke <Ste...@do...>
-
- * include/dataobject/Public_subscriber.php: Removed header, formatting
- * subscriberpage.php: First attempt of two-column layout
- * config/dccssconfig.php.default: Using the sample_*.map by default.
- * subscriberpage.php: Added important TODO, formatting.
- * include/dataobject/dccss.ini:
- * include/dataobject/dccss.links.ini: Added VolumeUnit, Diameter,
- foreign key adjustments
- * script/create_css_ddl.sql: Improved comments, fixed errors, simplified
- VolumeUnit class
-
-2005-10-11 Baha Al Faqih <bah...@do...>
-
- * logbook_report.php: Add subsequence to the report.
-
-2005-10-11 Maher Abdel karim <mah...@do...>&&Baha faqih <bah...@do...>
-
- * admin/bill_loader.php:add the subsequence field to the loader.
- * script/create_css_ddl.sql: Added the subsequence field to the bill.
-
-2005-10-11 Maher Abdel karim <mah...@do...
-
- * logbook_report: Added form to select which logbook to print.
- * script/create_css_ddl.sql: added id field to bill table and grants.
- * admin/bill_loader.php: adjust the copy function.
- * logbook_report.php: adjust the form, add a printing batch selection
- options, use the passed patch to limit the printing problem from the
- browser.
- * include/dataobject/dccss.ini: Add the bill table primary key.
- * include/dccsspage.php: Add importantParagraph to the page,adjust the
- find button caption.
- *DeliveryPointpage.php:Add validation if no record found for the passed
- sequence from the go to deliverypoint by id function.
-
-2005-10-11 Steffen Macke <Ste...@do...>
-
- * include/dataobject/dccss.ini: Added configuration for Bill class
-
-2005-10-11 Baha Al Faqih <bah...@do...>
-
- * added some |'s to show which texts and checkboxes belong together;
-
-2005-10-11 Maher Abdel karim <mah...@do...
-
- * logbook_report: Added form to select which logbook to print.
-
-2005-10-11 Steffen Macke <Ste...@do...>
-
- * logbook_report.php: Formatting, tracked down problems with tidy;
- added some |'s to show which texts and checkboxes belong together;
- added some <nobr> tags
-
-2005-10-11 Baha Al Faqih <bah...@do...>
-
- * logbook_report.php: Continue Working on logbook report
-
-2005-10-11 Maher Abdel karim <mah...@do...
-
- * logbook_report.php: Adjust the format of the code to use the 80 line
- seperator.
- * ar/LC_MESSAGES/dccss.po: Updated translation.
-
-2005-10-11 Steffen Macke <Ste...@do...>
-
- * changelog: Formatting
-
-2005-10-10 Baha Al Faqih <bah...@do...>
-
- * logbook_report.php: Continue Working on logbook report
- Arabic and English translations are in; improved layout
- *locale/ar/LC_MSSAGES/dccss.po: Add Arabic translations for the survey
- form.
- * logbook_report.php: Continue Working on logbook report
- Arabic and English translations are in.
- */ ar/LC_MSSAGES/dccss.po: Add Arabic translations for the survey form.
-
-2005-10-10 Maher Abdel karim <mah...@do...
-
- *admin/bill_loader.php: Use DccssPage instead of the header.php page.
- Adjusting the page to be used with the Dccsspage
- The loader is able now to load the resulted billing file to the database.
- Added error handling.
-
-2005-10-10 Steffen Macke <Ste...@do...>
-
- * include/dccss.css:
- * include/print.css: Showing survey form table cell borders
- * include/dccsspage.php: Using PHP_EOL instead of NL
- * admin/bill_loader.php: Rolled back changes of last revision; added new
- cleaning regex
-
-2005-10-10 Baha Al Faqih <bah...@do...>
-
- * logbook_report.php: Continue Working on logbook report
-
-2005-10-09 Maher Abdel karim <mah...@do...
-
- * admin/bill_loader.php: better file ,but still line 10271 needs to
- be removed from the second file.
-
-2005-10-09 Steffen Macke <Ste...@do...>
-
- * logbook_report.php:
- * include/print.php:
- * include/dccsspage.php: Started using separate stylesheets for
- screen and print; formatting; fixed some errors; form almost fits to
- one page
- * admin/bill_loader.php: Don't recode NULL; more regular expressions
- for cleaning
-
-2005-10-09 Baha Al Faqih <bah...@do...>
-
- * logbook_report.php: Continue Working on logbook report
-
-2005-10-09 Maher Abdel karim <mah...@do...>
-
- * admin/bill_loader.php:activated the iconv after adjustment from Steffen.
- Use the ";" instead of the "," as delimetter. Still more cases to be fixed.
-
-2005-10-09 Steffen Macke <Ste...@do...>
-
- * admin/bill_loader.php: filtering out lines < 60 characters long
-
-2005-10-08 Baha Al Faqih <bah...@do...>
-
- * logbook_report.php: Continue Working on logbook report
-
-2005-10-08 Steffen Macke <Ste...@do...>
-
- * logbook_report.php: Using get() now, added sorting.
- * script/create_css_ddl.sql: Small adjustments and first comments on the
- Bill table.
- * include/dataobject/Public_bill.php: Generated by DataObject batch file.
- * logbook_report.php:
- * include/dccss.css:
- * index.php: Started with logbook report
-
-2005-10-05 Steffen Macke <Ste...@do...>
-
- * script/create_css_ddl.sql: Adjusted Bill table definition
- * admin/bill_loader.php: Added new RE to fix NULL values, adjusted field
- size, NULL value
-
-2005-10-05 Maher Abdel karim <mah...@do...>&& Baha Al Faqih <bah...@do...>
-
- * script/create_css_ddl.sql: create bill table
-
-2005-10-05 Maher Abdel karim <mah...@do...>&& Baha Al Faqih <bah...@do...>
-
- * admin/bill_loader.php: extract 1,2,4,5,6,25 fields from the input file
- to be used for loading to database.
-2005-10-05 Steffen Macke <Ste...@do...>
-
- * admin/bill_loader.php: Added and updated some of the regular
- expressions cleaning out unwanted lines; fixed problem cleaning out
- those lines
-
-2005-10-03 Maher Abdel karim <mah...@do...>&& Baha Al Faqih <bah...@do...>
-
- * admin/bill_loader.php: Working on the REs to clean the file.
-
-2005-10-05 Steffen Macke <Ste...@do...>
-
- * admin/bill_loader.php: Started with fixed-with approach (padding is
- in place)
-
-2005-10-04 Maher Abdel karim <mah...@do...>
-
- * include/dcmmaputil.php: Add the functionality to delete a deliverypoint
- after selecting it from the map.
- * map.php: Handle the passed delete action from the dcmmaputil.php page.
- the selected deliverypoint is deleted, and the deliverypoint functin is
- reseted back.
-
-2005-10-03 Maher Abdel karim <mah...@do...>
-
- * deliverypointpage.php: add the possibility to go to the map to see the
- deliverypoint locaion.
-
-2005-10-03 Baha Al Faqih <bah...@do...>
-
- * admin/bill_loader.php : Add more REs to clean the file
-
-2005-10-03 Steffen Macke <Ste...@do...>
-
- * logon.php: Removed fuzzystrmatch check
- * index.php: Added link to bill loader
- * admin/bill_loader.php: Added iconv call
-
-2005-10-03 Maher Abdel karim <mah...@do...>&& Baha Al Faqih <bah...@do...>
-
- * admin/bill_loader.php: Start working with the billing information loader.
- added more RE to clean the file, echo the results to a new file for testing.
-
-2005-10-03 Steffen Macke <Ste...@do...>
-
- * script/create_css_ddl.sql: Changed two comments from SQL comments to
- comments using the PostgreSQL comment command. All comments on fields
- should be done this way
-
-2005-10-02 Steffen Macke <Ste...@do...>
-
- * admin/bill_loader.php: Several fixes for the regular expressions.
- Temporary display of the converted file in an iframe, basic replacements
- seem to work. Use single quotes instead of double quotes; standard
- formatting
-
-2005-10-02 Steffen Macke <Ste...@do...>
-
- * changelog: formatting changes, please use the standard formatting!
-
-2005-09-29 M.Sammer Srouji <sam...@do...>
-
- * admin/pewssa_loader/pewssa_loader.bsh: a macro that can be run using
- jedit programme that format pewssa bill file using regular expresions;
- not finished yet
- * admin/pewssa_loader.bsh: a macro that can be run using jedit programme
- that format pewssa bill
- file using regular expresions /not finished yet/
-
-2005-09-29 Baha Al Faqih <bah...@do...>
-
- * script/create_css_ddl.sql: update Subscription field in Subscriber
- table to be varchar(7).
- * script/create_css_ddl.sql: create table bill According to PEWSSA
- Data Model.
-
-2005-09-26 Maher Abdel karim <mah...@do...> & Baha Al Faqih <bah...@do...>
-
- * dataobject/dccss.links.ini: remove the metercabinet as a drop list.
- * include/i18n.php: added to have more translation.
- * dataobject/public_deliverypoint.php: add validation rule for meter
- cabinet. localize the
- radio boxes.
- * dataobject/public_subscriber.php: Adjust the form order, and naming
- according to the CSS form layout.
- * disconnectnobill_report.php: Added more CSS cases reports.
- * reports.php: Added more reports.
- * damaged_report.php: Damaged meter status report.
- * notworking_report.php: Not working meter status report.
- * reversed_report.php:: reversed meter status report.
- * turnedover_report.php: turned over meter status report.
- * script/create_css_dll.sql: adjust ttypo error.
- * ar/LC_MESSAGES/dccss.po: More translations.
-
-2005-09-26 Maher Abdel karim <mah...@do...>&& Baha Al Faqih <bah...@do...>
-
- * dataobject/public_deliverypoint.php: Adjust the field order the form should use according
- to the CSS form.
- * include/i18n.php: Added more translation.
- * dataobject/public_subscriber.php: Add form header.
- * ar/LC_MESSAGES/dccss.po:Translations.
- * map.php: Start the update deliverypoint location procedure,needs a decision regarding
- PK/FK.
-
-2005-09-22 Maher Abdel karim <mah...@do...>&& Baha Al Faqih <bah...@do...>
-
- * deliverypointpage.php: Adjust the geocode variable handling, used to display the list
- of subscribers related to this deliverypoint when avaialabe. adjust the variable passed
- to the gettable() function to use the returned geocode value from the subscriber page. to
- always display the list of subscribers related to the deliverypoint.
- * dataobject/public_deliverpoint.php: Add form header text to the pregeneration function.
- * Subscriberpage.php: Added links for continue subscriber additions. adjust layout for the
- links, and remove debuging code.Add validation rules.
-
-
-
-2005-09-20 Maher Abdel karim <mah...@do...>&& Baha Al Faqih <bah...@do...>
-
- * include/dataobject/public_diameter.php:
- * include/dataobject/public_hastank.php:
- * include/dataobject/public_irrigationtype.php:
- * include/dataobject/public_leaktype.php:
- * include/dataobject/public_meterposition.php:
- * include/dataobject/public_metertype.php:
- * include/dataobject/public_problemtype.php:
- * include/dataobject/public_propertytype.php:
- * include/dataobject/public_pumpuse.php:
- * include/dataobject/public_supplytype.php:
- * include/dataobject/public_tankfilltime.php:
- * include/dataobject/public_usetype.php:
- * include/dataobject/public_volumeunit.php:
- * include/dataobject/public_yesnounkown.php: Add fetch function to deal with the localization
- for returned data from database.
- * include/i18n.php:Add missing translations.
- * subscriberpage.php: remove debuging code, try to localize database error message.
- * script/create_css_ddl.sql: Added CSS cases views, and grants.
- * admin/shapefile_dumper.php: Adust the file from dcmms to be used in DCCSS.
-
-
-2005-09-20 Maher Abdel karim <mah...@do...>
-
- * index.php: Add a link for shapefiledumper.php
- * admin/shapefiledumper.php: Added admin folder,and shapefiledumper.php
- * reports.php:
- * nobillavailable_report.php: Added no bill available report.
-
-2005-09-19 Maher Abdel karim <mah...@do...>
-
- * dataobject/public_deliverypoint.php: Start adding form rendering options.
- * dataobject/public_subscriber.php: Start adding form rendering options.
- specify the fields to be rendered.
- * include/rtl.css:
- * include/rtl.css:
- * include/dccss.css: Add alignment property for the table, to enhance form display.
- * ar/LC_MESSAGES/dccss.po: Add arabic translations.
-
-2005-09-19 Maher Abdel karim <mah...@do...>
-
- * inlcude/dcmmaputil.php: Adjusted the add delivery point function to store
- username.
- * script/create_css_ddl.sql: Added formno to the deliverypoint.adjust the insertdate
- to have the date now() as the default value.
- * dataobject/public_deliverypoint.php: Adjusted according to data model.
- removed sequence,geocode from the editing list.
- * dataobject/dccss.ini: adjust field order for deliverypoint table.
- * conf/dataobject.ini.default: adjust the date elementtypemap from text to date.
- * include/public_subscriber.php: remove id,geocode from editing fields list.
- * subscriberpage.php:Add constants for geocode,and ID, and store them in the database.
- * map.php: Add username to deliverypoint entry using the passed user name in the session.
- * include/dataobject/dccss.ini: updated according to data model.
- * include/dataobject/*.*: Updated according to data model.
-
-
-
-
-2005-09-17 M.Sammer Srouji <sam...@do...>
-
- * doc/user/en/form.doc: update the form to the latest one.
- * doc/user/ar/form.doc: create a new ar directory for Arabic user
- documentation and add the Arabic CSS form to it.
-
-2005-09-15 Baha Faqih <bah...@do...>
-
- * script/create_css_ddl.sql: add username & insertdate to deliveryPoint
- table.
-
-2005-09-15 Steffen Macke <Ste...@do...>
-
- * script/create_css_ddl.sql: Added center table
- * include/dccmaputil.php: Removed code fragment that was commented out
- * script/create_css_ddl.sql: Reworked Subscriber table, added crosslink
- tables for it; clean-up, some comments
- * include/dataobject/Public_subscriber.php:
- * include/dataobject/Public_meterposition.php:
- * include/dataobject/Public_meterlocation.php(removed):
- * include/dataobject/Public_volumeunit.php:
- * include/dataobject/Subscriber_usetype.php:
- * include/dataobject/Subscriber_meterposition.php:
- * include/dataobject/Subscriber_usetype.php:
- * subscriberpage.php: Adjustments for subscriber page according to
- latest form draft; Not fully functional yet.
-
-2005-09-14 Maher Abdel karim <mah...@do...>
-
- * include/dcmmaputi.php: commit out the accept delivery point
- location, because it slows down the data entry.
-
-2005-09-14 Steffen Macke <Ste...@do...>
-
- * doc/user/en/dccss_user_guide.xml: Removed DCMMS references
- * include/dataobject/Public_deliverypoint.php: Added localization
- (incomplete)
-
-2005-09-14 Maher Abdel karim <mah...@do...>
-
- * map.php: Added navigation by grid.id to the map insted of the quick
- view drop list.
- * include/dcmmaputil.php: added the xy2geocode function instead of using
- it in the map.php directly.
- * conf/dccss_pewssa_en.map: adjusted the grid layer to be from postgis
- instead of using it as shapefile.
- * data/basemap/grid.sql: added the gird sql file to be loaded to the postgis
- dccss database to be used for the map.
- * subscriberpage.php: adjusted type error, the dccss page not created.
-
-2005-09-14 Steffen Macke <Ste...@do...>
-
- * AUTHORS: Added Jimmac and TigerT
- * doc/build.xml:
- * doc/dccss_docbook_html.xsl:
- * doc/dccss_docbook_htmlhelp.xsl:
- * doc/dccss_docbook_pdf.xsl:
- * doc/dcmms.xsl:
- * doc/docbook.css:
- * doc/en/dccss_user_guide.xml: Started with user guide
- * script/create_dcmms_ddl.sql: Renamed crosslink table, another grant
- * conf/dataobject.ini.default: changed type of date field
- * deliverypointpage.php: Code cleanup, formatting, proper error
- reporting
- * include/dataobject/Deliverypoint_supplytype.php:
- * include/dataobject/Public_deliverypoint.php:
- * include/dataobject/dccss.ini:
- * include/dataobject/dccss.links.ini: Proper recording of DeliveryPoint
- data
-
-2005-09-13 Steffen Macke <Ste...@do...>
-
- * include/dataobject/Deliverypoint_supplytype.php:
- * include/dataobject/Public_supplytypelink.php (removed):
- * include/dataobject/dccss.ini: Fixed cross link. Looks like the "."
- in the table name caused problems.
- * map.php: Added todo to keep GeoCode up to date
- * script/create_dccss_ddl.sql: Fixed syntax error
- * include/dataobject/Public_metercabinet.php: Fixed table reference
- * locale/en/LC_MESSAGES/dcmms.po: added English "translations"
- * conf/dccss_pewssa_en.map: Changed to standard path: c:\program
- files\dccss\
-
-2005-09-13 Maher Abdel karim <mah...@do...>
-
- * map.php: fix the check value for the ZOOM_IN.
- update the deliverypoint map display,fix a bug that the whole map
- is reset.
- * images/dccss.jpg:Added to be used as keymap.
- * conf/dccss_pewssa_en.map: Added PEWSSA map.
- * include/dcmmaputl.php: Adjust the deliverypoint forwarding to map
- page. It is working now.
-
-
-2005-09-13 Maher Abdel karim <mah...@do...>
-
- * map.php: Adjusted deliverypoint tool to forward to map.php
- instead of deliverypointpage.Added xy2geocode function to the page.
- and use it for deliverypoint insertion.
- * include/dcmmaputil.php: try to add the xy2geocode function to the page,
- but an error still appearing that call undefined function.
- * script/create_dccss_ddl.sql:fix typo.
-
-2005-09-13 Steffen Macke <Ste...@do...>
-
- * include/dataobject/Public_deliverypoint.php:
- * include/dataobject/Public_supplytypelink.php:
- * include/dataobject/Public_surveyor.php:
- * include/dataobject/Public_metercabinet.php:
- * script/create_css_ddl.sql:
- * include/dataobject/dccss.ini:
- * include/dataobject/dccss.links.ini: Adjusted DeliveryPoint data model
- according to lastest survey sheet; introduced cross-link table (not
- fully functional yet)
-
-2005-09-12 Steffen Macke <Ste...@do...>
-
- * include/dataobject/Public_deliverypoint.php: Added preliminiary radio
- button example
-
-2005-09-11 Steffen Macke <Ste...@do...>
-
- * conf/sample_en.map: Now using c:\program files\dccss\data as the base
- path for the shapefiles
- * include/dataobject/*.php: Removed files with wrong naming convention
- * include/dataobject/dccss.ini:
- * include/dataobject/Public_dccssuser.php:
- * include/dataobject/Public_deliverypoint.php: Reflecting some
- data model changes
- * include/dcmmap.php:
- * include/dcmmaputil.php:
- * conf/sample_en.map:
- * map.php:
- * script/create_css_ddl.sql: Grants, ATTENTION: default dccss password
- was updated!
- * deliverypointpage.php:
- * subscriberpage.php: Removed testing, debug and unused code
-
-2005-09-10 Maher Abdel karim <mah...@do...>
-
- * deliverypage.php: Adjust variable handling.either from map or from the
- subscriberpage.php.
- * map.php: Remove workorder related items.adjust the search function to
- user the deliverypointID.
- * search.php:Added and adjusted to use the deliverypointID, and forward
- to deliverypointpage.php.
- * Subscriberpage.php: Using the passed variable, use dcmpage class in the page instead of just using the automatic form building.
- * conf/identifyplugin.php.default: Adusted to use the deliverypoint layer.
- * include/dccsspage.php:
- * include/header.php: Adjusted to use the search page, and forward it to
- the deliverypointpage.php instead of the used one.
- * include/dcmmaputil.php: pass the deliverypoint in the layer list,removed unnecessary code.identify tool is working. the sequence
- is passed to the deliverypointpage, so a list of the related subscribers is displayed.
- * ar/lc_messages/dccss.po: .
- * include/i18n.php:Start the dccss localization.
- * dataobject/public_deliverypoint.php:Add rules to the page.
-
-2005-09-10 M.Sammer Srouji <Sam...@do...>
-
- *add installation remarks about creating the DCCSS Database and running
- fuzzystrmatch.sql and lwpostgis.sql to avoid error messages
-
-2005-09-10 Steffen Macke <Ste...@do...>
-
- * conf/dccssconfig.php.default: adjusted some values, better default
- log file location
- * images/stock_zoom-out.png:
- * images/stock-tool-move.png:
- * images/workorder.png:
- * images/config-language.png:
- * images/icon_eye.gif:
- * images/icon_landmark.png:
- * images/stock-exit-16.png:
- * images/stock_extended-help.png:
- * images/stock_help-16.png:
- * images/stock_refresh.png:
- * images/stock_search.png:
- * images/stock_zoom-ing.png: added new images
- * script/create_css_ddl.sql: Fixed typos, introduced GeoCode
- * images/dcmms_keymap.png:
- * etc/fonts.txt:
- * etc/symbol.sym:
- * plugin/imageidentifyplugin.php:
- * plugin/identifyplugin.php:
- * locale: Added some files from DCMMS
- * conf/dataobject.ini:
- * conf/dccssconfig.php: These files should never be added and have
- therefore been removed.
-
-2005-09-07 Maher Abdel Karim <Mah...@do...>
-
- * script/create_css_ddl.sql:Added history,dccssuser, and sequences. and
- apply the needed grants.
- * deliverypointpage.php:Deal with map forwarding,insert is done by the
- dataobject.
- * map.php: Added the add,edit, and move deliverypoint.adjust the layers
- in the map.
- * conf/sample_en.map: Add the deliverypoint layer.
- * include/dataobject/public_deliverypoint: Added the functionality to insert, update the deliverypoint table according to the new location provided from the map.
- * include/dcmmap.php: Added to the CSS application, The functionality to
- handle the deliveryPoints is added, and the page adjusted accordingly.
- * include/dcmmaputil.php: Added a new class DeliveryPointTool() to the page.It is dealing now with the deliveypoint GIS functionality.
- * include/dcmpostgis.php:
- * include/dcmmspear.php: Should be added to the DCCSS project
-
-2005-09-07 Maher Abdel Karim <Mah...@do...>
-
- * script/create_css_ddl.sql:Added name to the subscriber table.
- * deliverypointpage.php:Apply the new database design.
- * subsriberpage.php:Apply the new database design.
- * include/dccss.css:
- * include/rtl.css:
- * include/ltr.css: CSS files to be used in the layout.
- * include/dccsspage.php:Adjust it and apply it for the DCCSS
- application.
- * include/dccsspostgis.php:
- * include/dcmmaputil.php:
- * include/dcmmspear.php:
- * include/dcmpostgis.php:Added to be used for the DCCSS.
- * include/header.php:Adjusted for the DCCSS use.
- * etc/fonts.txt:
- * etc/symbol.txt:Added to the setup to be used for the map.
- * conf/dataobject.ini.default:Adjust the database name.
- * conf/sample_en.map: Start the preparation of the CSS map, based on
- the DCMMS map.
- * include/dataobject/public_*.php: use the file generated by the
- createtables.php.
- * include/dccss.ini:Adjust the primary keys.
- * include/dccss.links.ini: Adjust subtype lookups.
-
-
-2005-09-07 Steffen Macke <Ste...@do...>
-
- * AUTHORS:
- * INSTALL:
- * COPYING:
- * NEWS:
- * README: added standard files
- * script/create_css_ddl.sql.txt:
- * script/create_css_ddl.sql: Renamed, changed sequence name, fixed SQL
- errors, some new grants, renamed some things, formatting
- * include/dataobject/css.ini:
- * include/dataobject/css.links.ini:
- * include/dataobject/dccss.ini:
- * include/dataobject/dccss.links.ini: Renamed file
-
-2005-09-06 Maher Abdel Karim <Mah...@do...>
-
- * deliverypointpage.php: Working now for new data entry, and editting for
- * subscriberpage.php:Working now for new data entry, and editting for
- * script/create_css_ddl.sql.txt: Adjust the grants,subtypes insertions,
- * include/dataobject/css.ini:adjust primary keys for deliverypoint,
- * include/dataobject/css.links.ini:Adjust table relations.
- * include/dataobject/public_subscriber.php: Using this file name to be
- on the DCMMS translation getTable() function. More fields to be added to this
-
-2005-09-10 M.Sammer Srouji <Sam...@do...>
-
- *add installation remarks about creating the DCCSS Database and running
- fuzzystrmatch.sql and lwpostgis.sql to avoid error messages
- *conf/sample_en.map: change the connection to DCCSS database
-
-2005-09-10 Steffen Macke <Ste...@do...>
-
- * conf/dccssconfig.php.default: adjusted some values, better default
- log file location
- * images/stock_zoom-out.png:
- * images/stock-tool-move.png:
- * images/workorder.png:
- * images/config-language.png:
- * images/icon_eye.gif:
- * images/icon_landmark.png:
- * images/stock-exit-16.png:
- * images/stock_extended-help.png:
- * images/stock_help-16.png:
- * images/stock_refresh.png:
- * images/stock_search.png:
- * images/stock_zoom-ing.png: added new images
- * script/create_css_ddl.sql: Fixed typos, introduced GeoCode
- * images/dcmms_keymap.png:
- * etc/fonts.txt:
- * etc/symbol.sym:
- * plugin/imageidentifyplugin.php:
- * plugin/identifyplugin.php:
- * locale: Added some files from DCMMS
- * conf/dataobject.ini:
- * conf/dccssconfig.php: These files should never be added and have
- therefore been removed.
-
-2005-09-07 Maher Abdel Karim <Mah...@do...>
-
- * script/create_css_ddl.sql:Added history,dccssuser, and sequences. and
- apply the needed grants.
- * deliverypointpage.php:Deal with map forwarding,insert is done by the
- dataobject.
- * map.php: Added the add,edit, and move deliverypoint.adjust the layers
- in the map.
- * conf/sample_en.map: Add the deliverypoint layer.
- * include/dataobject/public_deliverypoint: Added the functionality to insert, update the deliverypoint table according to the new location provided from the map.
- * include/dcmmap.php: Added to the CSS application, The functionality to
- handle the deliveryPoints is added, and the page adjusted accordingly.
- * include/dcmmaputil.php: Added a new class DeliveryPointTool() to the page.It is dealing now with the deliveypoint GIS functionality.
- * include/dcmpostgis.php:
- * include/dcmmspear.php: Should be added to the DCCSS project
-
-2005-09-07 Maher Abdel Karim <Mah...@do...>
-
- * script/create_css_ddl.sql:Added name to the subscriber table.
- * deliverypointpage.php:Apply the new database design.
- * subsriberpage.php:Apply the new database design.
- * include/dccss.css:
- * include/rtl.css:
- * include/ltr.css: CSS files to be used in the layout.
- * include/dccsspage.php:Adjust it and apply it for the DCCSS
- application.
- * include/dccsspostgis.php:
- * include/dcmmaputil.php:
- * include/dcmmspear.php:
- * include/dcmpostgis.php:Added to be used for the DCCSS.
- * ...
[truncated message content] |
|
From: <mah...@us...> - 2007-03-19 11:54:29
|
Revision: 354
http://svn.sourceforge.net/dccss/?rev=354&view=rev
Author: maher_karim
Date: 2007-03-19 04:54:26 -0700 (Mon, 19 Mar 2007)
Log Message:
-----------
2007-03-19 Maher Abdel karim <mah...@do...>
* admin/setup.php:Add setup page.
* index.php:add entry to setup page.
* images/serviceconf-48.png:added
Modified Paths:
--------------
branches/ms4w/apps/dccss/changelog
branches/ms4w/apps/dccss/index.php
Added Paths:
-----------
branches/ms4w/apps/dccss/images/serviceconf-48.png
Modified: branches/ms4w/apps/dccss/changelog
===================================================================
--- branches/ms4w/apps/dccss/changelog 2007-03-14 10:13:00 UTC (rev 353)
+++ branches/ms4w/apps/dccss/changelog 2007-03-19 11:54:26 UTC (rev 354)
@@ -1,3 +1,9 @@
+2007-03-19 Maher Abdel karim <mah...@do...>
+
+ * admin/setup.php:Add setup page.
+ * index.php:add entry to setup page.
+ * images/serviceconf-48.png:added
+
2007-03-08 Steffen Macke <Ste...@do...>
* include/dataobject/Public_deliverypoint.php: Fixed typo
Added: branches/ms4w/apps/dccss/images/serviceconf-48.png
===================================================================
(Binary files differ)
Property changes on: branches/ms4w/apps/dccss/images/serviceconf-48.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: branches/ms4w/apps/dccss/index.php
===================================================================
--- branches/ms4w/apps/dccss/index.php 2007-03-14 10:13:00 UTC (rev 353)
+++ branches/ms4w/apps/dccss/index.php 2007-03-19 11:54:26 UTC (rev 354)
@@ -70,9 +70,9 @@
<div id="contentleft">
<ul>
<li><?php echoOnMouseOverLink("admin/shapefile_loader.php",
- _("Shapefile Loader"),
- _("Load zipped files in shapefile format to the DCCSS geodatabase."),
- "shapefile_loader.png"); ?></li>
+ _("Shapefile Loader"),
+ _("Load zipped files in shapefile format to the DCCSS geodatabase."),
+ "shapefile_loader.png"); ?></li>
<li><?php echoOnMouseOverLink("admin/shapefile_dumper.php",
_("Shapefile Dumper"),
_("Download zipped shapefiles from the DCCSS geodatabase."),
@@ -81,6 +81,10 @@
_("CSS to billing data transfer file preparation"),
_("Download CSV file from CSS database."),
"bill_loader.png"); ?></li>
+ <li><?php echoOnMouseOverLink("admin/setup.php",
+ _("Setup Page"),
+ _("Display setup information."),
+ "serviceconf-48.png"); ?></li>
<!--<li><?php echoOnMouseOverLink("admin/bill_loader.php",
_("Bill Loader"),
_("Load a PEWSSA bill file to the DCCSS geodatabase."),
@@ -88,26 +92,26 @@
* \todo Adjust image.
*/
"bill_loader.png"); ?></li>-->
-
+
</ul>
-</div>
+</div>
<div id="contentright">
<ul>
<li><?php echoOnMouseOverLink("admin/purge_subscriber.php",
- _("Purge Subscriber"),
- _("Deletes a subscriber and the realted records from the DCCSS database."),
- "remove_temporary_files.png"); ?></li>
+ _("Purge Subscriber"),
+ _("Deletes a subscriber and the realted records from the DCCSS database."),
+ "remove_temporary_files.png"); ?></li>
<li><?php echoOnMouseOverLink("admin/move_subscriber.php",
- _("Move Subscriber"),
- _("Move subscriber(s) from Delivery point to another."),
- "stock_refresh.png"); ?></li>
+ _("Move Subscriber"),
+ _("Move subscriber(s) from Delivery point to another."),
+ "stock_refresh.png"); ?></li>
<li><?php echoOnMouseOverLink("admin/processing.php",
_("GIS data processing"),
_("Process GIS data."),
"administration-32.png"); ?></li>
</ul>
</div>
-<br clear="all" /> <?php
+<br clear="all" /> <?php
} ?>
<div style="margin-top: 12em;"> </div> <?php
$dccssPage->footer("$Date: 2006-07-25 08:09:47 +0200 (Tue, 25 Jul 2006) $Empty"); ?>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <sdt...@us...> - 2007-03-14 10:13:07
|
Revision: 353
http://svn.sourceforge.net/dccss/?rev=353&view=rev
Author: sdteffen
Date: 2007-03-14 03:13:00 -0700 (Wed, 14 Mar 2007)
Log Message:
-----------
* include/dataobject/Public_deliverypoint.php: Fixed typo
* dataentry_performance_report.php: Small fixes to work with PHP 5,
PostgreSQL 8.2 and the latest PEAR packages
* conf/dccssconfig.php.default: Updated for MS4W
* images/landmark.png: (added)
* images/water_network.png: (added) error.log revealed that these files
were missing
* about.php: Added DC Water and Environment copyright
Modified Paths:
--------------
branches/ms4w/apps/dccss/about.php
branches/ms4w/apps/dccss/changelog
branches/ms4w/apps/dccss/conf/dccssconfig.php.default
branches/ms4w/apps/dccss/dataentry_performance_report.php
branches/ms4w/apps/dccss/include/dataobject/Public_deliverypoint.php
Added Paths:
-----------
branches/ms4w/apps/dccss/.settings/
branches/ms4w/apps/dccss/.settings/org.eclipse.core.resources.prefs
branches/ms4w/apps/dccss/images/landmark.png
branches/ms4w/apps/dccss/images/water_network.png
Added: branches/ms4w/apps/dccss/.settings/org.eclipse.core.resources.prefs
===================================================================
--- branches/ms4w/apps/dccss/.settings/org.eclipse.core.resources.prefs (rev 0)
+++ branches/ms4w/apps/dccss/.settings/org.eclipse.core.resources.prefs 2007-03-14 10:13:00 UTC (rev 353)
@@ -0,0 +1,3 @@
+#Thu Mar 08 18:22:02 EET 2007
+eclipse.preferences.version=1
+encoding//script/create_views.sql=UTF-8
Modified: branches/ms4w/apps/dccss/about.php
===================================================================
--- branches/ms4w/apps/dccss/about.php 2007-03-13 11:34:32 UTC (rev 352)
+++ branches/ms4w/apps/dccss/about.php 2007-03-14 10:13:00 UTC (rev 353)
@@ -33,6 +33,7 @@
<div dir="ltr">
<p dir="ltr">Copyright (c) 2005 <a href="http://www.dorsch.de">DORSCH
Consult</a></p>
+<p dir="ltr">Copyright (c) 2007 DC Water and Environment</p>
<p dir="ltr">This program is free software; you can redistribute it and/or modify<br />
it under the terms of the GNU General Public License as published by<br />
the Free Software Foundation; either version 2 of the License, or<br />
Modified: branches/ms4w/apps/dccss/changelog
===================================================================
--- branches/ms4w/apps/dccss/changelog 2007-03-13 11:34:32 UTC (rev 352)
+++ branches/ms4w/apps/dccss/changelog 2007-03-14 10:13:00 UTC (rev 353)
@@ -1,3 +1,14 @@
+2007-03-08 Steffen Macke <Ste...@do...>
+
+ * include/dataobject/Public_deliverypoint.php: Fixed typo
+ * dataentry_performance_report.php: Small fixes to work with PHP 5,
+ PostgreSQL 8.2 and the latest PEAR packages
+ * conf/dccssconfig.php.default: Updated for MS4W
+ * images/landmark.png: (added)
+ * images/water_network.png: (added) error.log revealed that these files
+ were missing
+ * about.php: Added DC Water and Environment copyright
+
2007-03-5 Maher Abdel karim <mah...@do...>
* script/drop_views.sql:fix sql errors.
Modified: branches/ms4w/apps/dccss/conf/dccssconfig.php.default
===================================================================
--- branches/ms4w/apps/dccss/conf/dccssconfig.php.default 2007-03-13 11:34:32 UTC (rev 352)
+++ branches/ms4w/apps/dccss/conf/dccssconfig.php.default 2007-03-14 10:13:00 UTC (rev 353)
@@ -4,6 +4,7 @@
* dccssconfig.php - Organization specific configuration of DCCSS
*
* Copyright (C) 2005, 2006 DORSCH Consult
+ * Copyright (C) 2007 DC Water and Environment
*
* 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
@@ -97,7 +98,7 @@
/**
* The path for temporary files.
*/
-$_SESSION["strMsTmpDirectory"] = "c:\\tmp\\ms_tmp\\";
+$_SESSION["strMsTmpDirectory"] = "c:\\ms4w\\tmp\\ms_tmp\\";
/**
* Where the HTML_QuickForm validation should take place.
Modified: branches/ms4w/apps/dccss/dataentry_performance_report.php
===================================================================
--- branches/ms4w/apps/dccss/dataentry_performance_report.php 2007-03-13 11:34:32 UTC (rev 352)
+++ branches/ms4w/apps/dccss/dataentry_performance_report.php 2007-03-14 10:13:00 UTC (rev 353)
@@ -4,6 +4,7 @@
* dataentry_report.php - Data Entry performance report.
*
* Copyright (C) 2006 DORSCH Consult
+ * Copyright (C) 2007 DC Water and Environment
*
* 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
@@ -19,6 +20,20 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
+
+/**
+ * \todo Refactor the GD extension loading in DccssPage subclass.
+ */
+$arrExtensions = array (
+ 'gd' => 'gd2'
+);
+$strExtensionPrefix = (PHP_SHLIB_SUFFIX === 'dll') ? 'php_' : '';
+foreach ($arrExtensions as $strExtension => $strLibrary) {
+ if (!extension_loaded($strExtension)&&(!dl($strExtensionPrefix.$strLibrary.'.'.PHP_SHLIB_SUFFIX ))) {
+ die(sprintf(_("FATAL ERROR: PHP extension '%s' is not loaded."), $strExtension));
+ }
+}
+
require_once("include/dccsspage.php");
require_once("include/dcmmspear.php");
/**
@@ -59,7 +74,7 @@
$strQuery = "select username,SurveyedDelivery,surveyedSubscriber from
(select deliverypoint.username ,count(deliverypoint) as SurveyedDelivery
- from deliverypoint
+ from deliverypoint,subscriber
where deliverypoint.username is not null
".$strWhere." group by deliverypoint.username) as d
join
@@ -76,7 +91,7 @@
$strQuery = "select username,SurveyedDelivery,surveyedSubscriber from
(select deliverypoint.username ,count(deliverypoint) as SurveyedDelivery
- from deliverypoint
+ from deliverypoint,subscriber
where deliverypoint.username is not null
".$strWhere." group by deliverypoint.username) as d
join
@@ -106,8 +121,7 @@
$Graph =& Image_Graph::factory('graph', array(600, 500));
// add a TrueType font
-$Arial_v =& $Graph->addNew("Image_Graph_Font_TTF",
- "c:\\windows\\fonts\\ARIAL.TTF");
+$Arial_v =& $Graph->addNew('font', 'Arial');
$Graph->setFont($Arial_v);
$Matrix =& $Graph->addNew('Image_Graph_Layout_Matrix', array(2, 2));
@@ -162,7 +176,7 @@
$dataset=& $Plotarea->dataset;
print_r($dataset);
// output the Graph
- $strTmpPath = tempnam("c:\\tmp\\ms_tmp", "graph").".png";
+ $strTmpPath = tempnam($_SESSION["strMsTmpDirectory"], "graph").".png";
$Graph->done(array('filename' => $strTmpPath));
$DccssPage->add("<img src=\"/ms_tmp/".basename($strTmpPath)."\" />");;
echo $DccssPage->toHTML();
Added: branches/ms4w/apps/dccss/images/landmark.png
===================================================================
(Binary files differ)
Property changes on: branches/ms4w/apps/dccss/images/landmark.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/ms4w/apps/dccss/images/water_network.png
===================================================================
(Binary files differ)
Property changes on: branches/ms4w/apps/dccss/images/water_network.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: branches/ms4w/apps/dccss/include/dataobject/Public_deliverypoint.php
===================================================================
--- branches/ms4w/apps/dccss/include/dataobject/Public_deliverypoint.php 2007-03-13 11:34:32 UTC (rev 352)
+++ branches/ms4w/apps/dccss/include/dataobject/Public_deliverypoint.php 2007-03-14 10:13:00 UTC (rev 353)
@@ -75,12 +75,11 @@
var $fb_enumFields = array('hassewer', 'hasmanhole', 'supplyfromneighbour');
- var $fb_enumOptions = array(
- 'hassewer' => array('1' => 'Yes', '2' => 'No', '0' => 'Unknown'),
- 'hasmanhole' => array('1' => 'Yes', '2' => 'No', '0' => 'Unknown'),
- 'supplyfromneighbour' => array('1' => 'Yes', '2' => 'No', '0' => 'Unknown'));
+ var $fb_enumOptions = NULL;
var $fb_hidePrimaryKey = FALSE;
+
+ var $fb_ruleViolationMessage = '';
function postGenerateForm(&$form) {
/**
@@ -156,7 +155,7 @@
$this->fb_ruleViolationMessage =
_('%s: The value you have entered is not valid.');
$this->fb_requiredRuleMessage = _('%s: This field is required.');
- $this->$fb_enumOptions = array(
+ $this->fb_enumOptions = array(
'hassewer' => array('1' => 'Yes', '2' => 'No', '0' => 'Unknown'),
'hasmanhole' => array('1' => 'Yes', '2' => 'No', '0' => 'Unknown'),
'supplyfromneighbour' => array('1' => 'Yes', '2' => 'No',
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <mah...@us...> - 2007-03-13 11:34:37
|
Revision: 352
http://svn.sourceforge.net/dccss/?rev=352&view=rev
Author: maher_karim
Date: 2007-03-13 04:34:32 -0700 (Tue, 13 Mar 2007)
Log Message:
-----------
2007-03-13 Maher Abdel karim <mah...@do...>
* script/create_views.sql:use different way for css_to_billing
view creation.
Modified Paths:
--------------
trunk/dccss/changelog
trunk/dccss/script/create_views.sql
Modified: trunk/dccss/changelog
===================================================================
--- trunk/dccss/changelog 2007-03-05 14:24:49 UTC (rev 351)
+++ trunk/dccss/changelog 2007-03-13 11:34:32 UTC (rev 352)
@@ -1,3 +1,8 @@
+2007-03-13 Maher Abdel karim <mah...@do...>
+
+ * script/create_views.sql:use different way for css_to_billing
+ view creation.
+
2007-03-5 Maher Abdel karim <mah...@do...>
* script/drop_views.sql:fix sql errors.
Modified: trunk/dccss/script/create_views.sql
===================================================================
--- trunk/dccss/script/create_views.sql 2007-03-05 14:24:49 UTC (rev 351)
+++ trunk/dccss/script/create_views.sql 2007-03-13 11:34:32 UTC (rev 352)
@@ -405,13 +405,15 @@
2666,2667,2670,2672,2674,2677
,2678,2680);
---Task force lost customers
---create or replace view taskforce_lostcustomer as
---select deliverypoint.sequence as dpsequence,subscriber.logbooknumber,subscriber.sequence,subscriber.subsequence,
---subscriber.name,subscriber.logbookserialnumber,deliverypoint.cabinetid, grid.id from subscriber,deliverypoint,grid where
---link=0 and subscriber.hasconnectionbefore <> 1 and subscriber.note::text !~~ '%وصلة غير%'::text and
---subscriber.geocode=deliverypoint.geocode and grid.the_geom&&deliverypoint.the_geom and
---intersects(deliverypoint.the_geom,grid.the_geom) order by grid.id;
+---Task force lost customers
+create or replace view taskforce_lostcustomer as
+select deliverypoint.sequence as dpsequence,subscriber.logbooknumber,
+subscriber.sequence,subscriber.subsequence,
+subscriber.name,subscriber.logbookserialnumber,deliverypoint.cabinetid,subscriber.meterlocationcode
+,grid.id from subscriber,deliverypoint,grid where
+link=0 and subscriber.hasconnectionbefore <> 1 and subscriber.note::text !~~ '%وصلة غير%'::text and
+subscriber.geocode=deliverypoint.geocode and grid.the_geom&&deliverypoint.the_geom and
+intersects(deliverypoint.the_geom,grid.the_geom) order by grid.id;
-- CSS to billing for data transfer
create or replace view css_to_billing as
@@ -425,11 +427,11 @@
and subscriber.geocode=deliverypoint.geocode
union
select subscriber.id,deliverypoint.sequence as customerlocation,
-to_number(subscriber.cabinetid,99999),subscriber.paracode,subscriber.logbooknumber,
+to_number(metercabinet.id,99999),subscriber.paracode,subscriber.logbooknumber,
subscriber.sequence,subscriber.subsequence,subscriber.name,
subscriber.logbookserialnumber,metercabinet.routeid, metercabinet.routesequence
FROM subscriber
- LEFT JOIN metercabinet ON (subscriber.cabinetid = metercabinet.id)
+ LEFT JOIN metercabinet ON (subscriber.cabinetid = metercabinet.pewssaid)
LEFT JOIN deliverypoint ON subscriber.geocode::text = deliverypoint.geocode::text
where subscriber.cabinetid<>'0' and subscriber.meterlocationdeliverypointseq =0
@@ -441,7 +443,7 @@
subscriber.subsequence,subscriber.name,subscriber.logbookserialnumber,
metercabinet.routeid, metercabinet.routesequence
FROM subscriber
- LEFT JOIN metercabinet ON (subscriber.cabinetid= metercabinet.id)
+ LEFT JOIN metercabinet ON (subscriber.cabinetid= metercabinet.pewssaid)
LEFT JOIN deliverypoint ON (subscriber.geocode = deliverypoint.geocode)
where subscriber.cabinetid<>'0' and
subscriber.meterlocationdeliverypointseq <>0 and subscriber.paracode is not null
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|