AssetCode; $AssetName = $Asset->AssetName; $Description = $Asset->Description; $Department = $Asset->DEPCode; $DepartmentName = $Asset->DepartmentName; $Location = $Asset->Location; $User = $Asset->UserName; $SupplierName = $Asset->SupplierName; $SupplierCode = $Asset->SupplierCode; $DateOfPurchase = $Asset->DateOfPurchase;//print_r($Asset->DateOfPurchase); if($DateOfPurchase != '' && $DateOfPurchase != '0000-00-00 00:00:00' ) { $PODate = new DateTime($DateOfPurchase); $DateOfPurchase = $PODate->format('d-m-Y'); } else { $DateOfPurchase = ''; } $DateOfCommison = $Asset->DateOfCommison; if($DateOfCommison != '' && $DateOfCommison != '0000-00-00 00:00:00' ) { $DateOfCommission= new DateTime($Asset->DateOfCommison, new DateTimeZone('Asia/Kolkata')); $DateOfCommison = $DateOfCommission->format('d-m-Y'); } else { $DateOfCommison = ''; } $AssetValue = $Asset->AssetValue; $AssetStatus = $Asset->AssetStatus; $MaterialCode = $Asset->MaterialCode; $PONO = $Asset->PONO; $POLineItem = $Asset->POLineItem; $Quantity = $Asset->Quantity; $MaterialName = $Asset->MaterialName; $UOM = $Asset->UOM; $DDt = $Asset->DeliveryDate; if($DDt != '' && $DDt != '0000-00-00 00:00:00'){ $DDate = new DateTime($DDt, new DateTimeZone('Asia/Kolkata')); $DeliveryDate = $DDate->format('d-m-Y'); } else { $DeliveryDate = ''; } $Remarks = $Asset->Remarks; $chk = $Asset->IsActive; if($chk == 1) { $IsActive = 'checked'; } else { $IsActive = ''; } // if($DateOfPurchase != '') // { // $dtpurchase = new DateTime($DateOfPurchase); // $DOPurchase = $dtpurchase ->format('d/m/Y'); // } // if($DateOfCommission != '') // { // $dtCommission = new DateTime($DateOfCommission); // $DOCommission = $dtCommission ->format('Y-m-d'); // } } } ?>

Siddharth Industries - Edit Asset Details-

Back

Asset Name*
Asset Description*
Asset User*
Asset Location*
Purchase Order Number*
select Material Code
Material Code
UOM
Quantity
Description
Asset Department
Purchase Date
Supplier Name
Delivery Date
Date Of Commission
Asset Value
Asset Status
Remarks
> IsActive
load->helper('form'); $error = $this->session->flashdata('error'); if($error) { ?>
session->flashdata('error'); ?>
session->flashdata('success'); if($success) { ?>
session->flashdata('success'); ?>
', '
'); ?>