{
alt_table_row_color($k);
label_cell($systypes_array[$alloc_item->type]);
- label_cell(get_trans_view_str($alloc_item->type, $alloc_item->type_no));
+ label_cell(get_trans_view_str($alloc_item->type, $alloc_item->type_no), "nowrap align='right'");
label_cell($alloc_item->ref);
label_cell($alloc_item->date_, "align=right");
label_cell($alloc_item->due_date, "align=right");
label_cell($type_name);
- label_cell(get_trans_view_str($myrow["type"], $myrow["trans_no"]));
+ label_cell(get_trans_view_str($myrow["type"], $myrow["trans_no"]), "nowrap align='right'");
label_cell(get_trans_view_str($myrow["type"], $myrow["trans_no"], $myrow["reference"]));
$cols = array(
_("Transaction Type") => array('fun'=>'systype_name'),
- _("#") => array('fun'=>'trans_view'),
+ _("#") => array('fun'=>'trans_view', 'align'=>'right'),
_("Reference"),
_("Date") => array('name'=>'tran_date', 'type'=>'date', 'ord'=>'asc'),
_("Supplier") => array('ord'=>''),
alt_table_row_color($k);
$n = $myrow["id"];
- label_cell(get_trans_view_str(ST_SUPPRECEIVE, $myrow["grn_batch_id"]));
+ label_cell(get_trans_view_str(ST_SUPPRECEIVE, $myrow["grn_batch_id"]), "nowrap align='right'");
hidden('qty_recd'.$n, $myrow["qty_recd"]);
hidden('item_code'.$n, $myrow["item_code"]);
hidden('item_description'.$n, $myrow["description"]);
hidden('order_price'.$n, $myrow['unit_price']);
hidden('std_cost_unit'.$n, $myrow['std_cost_unit']);
hidden('po_detail_item'.$n, $myrow['po_detail_item']);
- label_cell(get_trans_view_str(ST_PURCHORDER, $myrow["purch_order_no"]));
+ label_cell(get_trans_view_str(ST_PURCHORDER, $myrow["purch_order_no"]), "nowrap align='right'");
label_cell($myrow["item_code"]);
label_cell($myrow["description"]);
label_cell(sql2date($myrow["delivery_date"]));
get_post('SelectStockFromList'), get_post('also_closed'));
$cols = array(
- _("#") => array('fun'=>'trans_view', 'ord'=>''),
+ _("#") => array('fun'=>'trans_view', 'ord'=>'', 'align'=>'right'),
_("Reference"),
_("Supplier") => array('ord'=>''),
_("Location"),
$cols = array(
_("Type") => array('fun'=>'systype_name'),
- _("#") => array('fun'=>'view_link', 'ord'=>''),
+ _("#") => array('fun'=>'view_link', 'ord'=>'', 'align'=>'right'),
_("Reference"),
_("Supplier") => array('ord'=>''),
_("Supp Reference"),
$cols = array(
_("Type") => array('fun'=>'systype_name', 'ord'=>''),
- _("#") => array('fun'=>'trans_view', 'ord'=>''),
+ _("#") => array('fun'=>'trans_view', 'ord'=>'', 'align'=>'right'),
_("Reference"),
_("Supplier"),
_("Supplier's Reference"),
$cols = array(
_("Transaction Type") => array('fun'=>'systype_name'),
- _("#") => array('fun'=>'trans_view'),
+ _("#") => array('fun'=>'trans_view', 'align'=>'right'),
_("Reference"),
_("Date") => array('name'=>'tran_date', 'type'=>'date', 'ord'=>'asc'),
_("Customer") => array('ord'=>''),
alt_table_row_color($k);
label_cell($myrow["description"]);
- label_cell(get_customer_trans_view_str(ST_SALESORDER, $myrow["order_no"]));
+ label_cell(get_customer_trans_view_str(ST_SALESORDER, $myrow["order_no"]), "nowrap align='right'");
if ($myrow["debtor_no"] == 0)
{
label_cell("");
//------------------------------------------------------------------------------------------------
$cols = array(
_("Type") => array('fun'=>'systype_name'),
- _("#") => array('fun'=>'view_link'),
+ _("#") => array('fun'=>'view_link', 'align'=>'right'),
_("Reference"),
- _("Order") => array('fun'=>'order_link', 'ord'=>''),
+ _("Order") => array('fun'=>'order_link', 'ord'=>'', 'align'=>'right'),
_("Date") => array('name'=>'tran_date', 'type'=>'date', 'ord'=>'asc'),
_("Due Date") => array('type'=>'date', 'fun'=>'due_date'),
_("Customer") => array('name' =>'name', 'ord'=>'asc'),
get_post('SelectStockFromList'), get_post('StockLocation'), get_post('DeliveryNumber'), get_post('OutstandingOnly'));
$cols = array(
- _("Delivery #") => array('fun'=>'trans_view'),
+ _("Delivery #") => array('fun'=>'trans_view', 'align'=>'right'),
_("Customer"),
'branch_code' => 'skip',
_("Branch") => array('ord'=>''),
if ($trans_type == ST_SALESORDER)
$cols = array(
- _("Order #") => array('fun'=>'view_link'),
+ _("Order #") => array('fun'=>'view_link', 'align'=>'right'),
_("Ref") => array('type' => 'sorder.reference', 'ord' => '') ,
_("Customer") => array('type' => 'debtor.name' , 'ord' => '') ,
_("Branch"),
);
else
$cols = array(
- _("Quote #") => array('fun'=>'view_link'),
+ _("Quote #") => array('fun'=>'view_link', 'align'=>'right'),
_("Ref"),
_("Customer"),
_("Branch"),
alt_table_row_color($k);
label_cell($myrow["description"]);
- label_cell(get_customer_trans_view_str(ST_SALESORDER, $myrow["order_no"]));
+ label_cell(get_customer_trans_view_str(ST_SALESORDER, $myrow["order_no"]), "nowrap align='right'");
if ($myrow["debtor_no"] == 0)
{
label_cell("");
alt_table_row_color($k);
- label_cell($myrow["id"]);
+ label_cell($myrow["id"], "nowrap align='right'");
label_cell($myrow["description"]);
inactive_control_cell($myrow["id"], $myrow["inactive"], 'groups', 'id');
edit_button_cell("Edit".$myrow["id"], _("Edit"));