[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [12492]
From: |
Nelson Guerra |
Subject: |
[Fmsystem-commits] [12492] |
Date: |
Mon, 22 Dec 2014 22:32:24 +0000 |
Revision: 12492
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=12492
Author: nelson224
Date: 2014-12-22 22:32:23 +0000 (Mon, 22 Dec 2014)
Log Message:
-----------
Modified Paths:
--------------
branches/dev-syncromind/property/inc/class.uientity.inc.php
Modified: branches/dev-syncromind/property/inc/class.uientity.inc.php
===================================================================
--- branches/dev-syncromind/property/inc/class.uientity.inc.php 2014-12-22
22:32:05 UTC (rev 12491)
+++ branches/dev-syncromind/property/inc/class.uientity.inc.php 2014-12-22
22:32:23 UTC (rev 12492)
@@ -2016,12 +2016,12 @@
$inventory_def = array
(
array('key' =>
'where','label'=>lang('where'),'sortable'=>false,'resizeable'=>true),
- array('key' =>
'edit','label'=>lang('edit'),'sortable'=>false,'resizeable'=>true, 'formatter'
=> 'FormatterEdit'),
+ array('key' =>
'edit','label'=>lang('edit'),'sortable'=>false,'resizeable'=>true),
array('key' =>
'unit','label'=>lang('unit'),'sortable'=>false,'resizeable'=>true),
- array('key' =>
'inventory','label'=>lang('count'),'sortable'=>false,'resizeable'=>true,
'formatter' => 'FormatterAmount0'),
- array('key' =>
'allocated','label'=>lang('allocated'),'sortable'=>false,'resizeable'=>true,
'formatter' => 'FormatterAmount0'),
- array('key' =>
'bookable','label'=>lang('bookable'),'sortable'=>false,'resizeable'=>true,
'formatter' => 'FormatterCenter'),
- array('key' =>
'calendar','label'=>lang('calendar'),'sortable'=>false,'resizeable'=>true,
'formatter' => 'FormatterCalendar'),
+ array('key' =>
'inventory','label'=>lang('count'),'sortable'=>false,'resizeable'=>true,
'className' => 'dt-right'),
+ array('key' =>
'allocated','label'=>lang('allocated'),'sortable'=>false,'resizeable'=>true,
'className' => 'dt-right'),
+ array('key' =>
'bookable','label'=>lang('bookable'),'sortable'=>false,'resizeable'=>true,
'className' => 'dt-right'),
+ array('key' =>
'calendar','label'=>lang('calendar'),'sortable'=>false,'resizeable'=>true),
array('key' =>
'remark','label'=>lang('remark'),'sortable'=>false,'resizeable'=>true),
array('key' =>
'location_id','hidden'=>true),
array('key' =>
'id','hidden'=>true),
@@ -2751,6 +2751,14 @@
$values = $this->bo->get_inventory(array('id' => $id,
'location_id' => $location_id));
+ foreach ($values as &$value)
+ {
+ $value['edit'] = '<a
href="javascript:showlightbox_edit_inventory('.$value['location_id'].','.$value['id'].','.$value['inventory_id'].')">Edit</a>';
+ $value['calendar'] = '<a
href="javascript:showlightbox_show_calendar('.$value['location_id'].','.$value['id'].','.$value['inventory_id'].')">Calendar</a>';
+ $value['inventory'] =
number_format($value['inventory'], 0, ',', ' ');
+ $value['allocated'] =
number_format($value['allocated'], 0, ',', ' ');
+ }
+
$start = phpgw::get_var('start', 'int', 'REQUEST', 0);
$total_records = count($values);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [12492],
Nelson Guerra <=