-
-
- -
| Budget Type | -Budget Year | - -Remarks | -Action | - - - - -
|---|
diff --git a/app/Config/Routes.php b/app/Config/Routes.php index 0beaad5e..ca7afd44 100644 --- a/app/Config/Routes.php +++ b/app/Config/Routes.php @@ -61,19 +61,12 @@ $routes->post('materialExist','Rawmaterialdetails::checkmaterial'); $routes->get('viewRawmaterial','Rawmaterialdetails::viewRawmaterial'); $routes->post('rawmaterialdetails/editRawmaterial', 'Rawmaterialdetails::editRawmaterial'); $routes->get('exportmaterial' , 'Rawmaterialdetails::exportmaterial'); +$routes->get('rawmaterialdetailsautocomplete' , 'Rawmaterialdetails::autocomplete'); // Cost Center Routes $routes->get('costListing', 'CostCenter::index'); -$routes->get('addCostCenter', 'CostCenter::addCostCenter'); -$routes->get('editCostCenter', 'CostCenter::editCostCenter'); +$routes->get('fetchCostCenterDetails', 'CostCenter::fetchCostCenterDetails');// for Ajax both add and edit.... $routes->get('deleteCostCenter', 'CostCenter::deleteCostCenter'); -$routes->post('saveCostCenter', 'CostCenter::saveCostCenter'); -$routes->post('updateCostCenter', 'CostCenter::updateCostCenter'); -$routes->post('CostCenter/AddCostDepartment','CostCenter::AddCostDepartment'); -$routes->post('CostCenter/DeleteCostDepartment','CostCenter::DeleteCostDepartment'); - -$routes->match(['GET', 'POST', 'PUT', 'DELETE'],'CostCenter/GetBudgetForYear','CostCenter::GetBudgetForYear'); -$routes->match(['GET', 'POST', 'PUT', 'DELETE'],'deletecost', 'CostCenter::deletecost'); $routes->get('exportcost', 'CostCenter::exportcost'); // Asset Detail Routes diff --git a/app/Controllers/CostCenter.php b/app/Controllers/CostCenter.php index 42e5eb68..11d25da1 100644 --- a/app/Controllers/CostCenter.php +++ b/app/Controllers/CostCenter.php @@ -52,122 +52,47 @@ class CostCenter extends BaseController } /** - * This function is used to load the add new cost Center */ - function addCostCenter() - { - - $data['Department'] = $this->costcenter_model->getDepartment(); - - $data['BudgetType'] = $this->costcenter_model->getConfigValue('C004'); - - $data['Approver'] = $this->costcenter_model->getApproverName(); - - $data['FiscalYear'] = $this->costcenter_model->getFiscalYear(); - - $this->global['pageTitle'] = 'Add Cost Center'; - - $this->loadViews("addCostCenter", $this->global, $data, NULL); - } - - function Dep_SelectedDepartment($selectValue) - { - //echo 'select_validate method called'; - // 'none' is the first option and the text says something like "-Choose one-" - if (strlen($selectValue) <= 0) { - // $this->validator->setMessage('Dep_SelectedDepartment', 'Please Select Department.'); - return false; - } else // user picked something - { - return true; - } - } - - /** - * This function is used to add new Cost to the system + * This function is used to add/edit Cost */ - function saveCostCenter() - { - // $this->validator->setRules([ - // 'CostName' => 'trim|required', - // 'CostCode' => 'trim|required', - // ]); - - // if ($this->validator->run() == FALSE) { - // $this->addCostCenter(); - // } else { + public function fetchCostCenterDetails() { + $id = $this->request->getPost('id'); + $CostCenterName = $this->request->getPost('CostCenterName'); + $CostCenterName = ($CostCenterName !== null && is_string($CostCenterName)) ? strtoupper(trim($CostCenterName)) : null; + $userId = $this->session->get('userId'); + $approverId = $this->session->get('EmpID'); + $currentdt = get_current_date_time(); + + $data = ['status' => false, 'message' => 'An error occurred while creating cost details']; + + if ($id == 0) { + $lastccid = $this->costcenter_model->lastCCID(); + $lastccid = (int)$lastccid++; + $newccc = generateCostCenterCode($lastccid); + log_message('debug', 'newccc returned: ' . $newccc); - $CostCode = $this->request->getPost('CostCode'); - $CostCode = ($CostCode !== null && is_string($CostCode)) ? strtoupper(trim($CostCode)) :null; - $CostName = $this->request->getPost('CostName'); - $CostName = ($CostName !== null && is_string($CostName)) ? strtoupper(trim($CostName)) :null; - $CreateBy = $this->session->get('userId'); - $SelectedDepartment = $this->request->getPost('txtSelectedDepartment'); - - // $ApproverName = $this->request->getPost('ApprovedBy'); - $ApproverName = $this->session->get('EmpID'); - $comma_separated = explode(':', (string)$SelectedDepartment); - // $comma_separated = $this->costcenter_model->getDepartment(); - // print_r($comma_separated);die; - - $createddt = get_current_date_time(); - $CodeExists = $this->costcenter_model->checkCostDetailsExists($CostCode); - if (count($CodeExists) == 0) { - $Cost = array('CostCenterCode' => $CostCode, 'CostCenterName' => $CostName, 'ApprovedBy' => $ApproverName, 'CreatedBy' => $CreateBy, 'createdDate' => $createddt); - $this->costcenter_model->saveCostCenter($Cost); + $Cost = ['CostCenterCode' => $newccc, + 'CostCenterName' => $CostCenterName, + 'ApprovedBy' => $approverId, + 'CreatedBy' => $userId, + 'CreatedDate' => $currentdt + ]; + if ($this->costcenter_model->saveCostCenter($Cost) > 0) { + $data = ['status' => true, 'message' => 'Successfully created cost details']; } - for ($j = 0; $j < count($comma_separated); $j++) { - $DeptCode = $comma_separated[$j]; - - $this->costcenter_model->DeleteDepartment($DeptCode, $CostCode); - - $Dept = array('CostCenterCode' => $CostCode, 'DEPCode' => $DeptCode, 'CreatedBy' => $CreateBy, 'createdDate' => $createddt); - $this->costcenter_model->addCostCenterDepartment($Dept); - } - $RowCount = $this->request->getPost('txtRowCount'); - - for ($i = 1; $i <= $RowCount; $i++) { - $BudgetType = $this->request->getPost('BudgetType' . $i); - $BudgetYear = $this->request->getPost('BudgetYear' . $i); - $BudgetAmount = $this->request->getPost('BudgetAmount' . $i); - $Remarks = $this->request->getPost('Remarks' . $i); - $this->costcenter_model->DeleteBudget($BudgetType, $BudgetYear, $CostCode); - - $Budget = array('CostCenterCode' => $CostCode, 'BudgetType' => $BudgetType, 'BudgetYear' => $BudgetYear, 'BudgetAmount' => $BudgetAmount, 'Remarks' => $Remarks, 'CreatedBy' => $CreateBy, 'createdDate' => $createddt); - $this->costcenter_model->addBudget($Budget); - } - echo 'Successfully Created Cost details'; - // } - } - /** - * This function is used load user edit information - * @param number $userId : Optional : This is user id - */ - function editCostCenter($CostCode = NULL) - { - - if ($CostCode == '') { - $CostCenterID = $_GET['CostCode']; } else { - - $CostCenterID = $CostCode; + $Cost = ['CostCenterName' => $CostCenterName,'UpdatedBy' => $userId,'UpdatedDate' => $currentdt]; + if ($this->costcenter_model->updateCostCenter($Cost, $id) > 0) { + $data = ['status' => true, 'message' => 'Successfully updated cost details']; + } } - - $data['CostMaster'] = $this->costcenter_model->GetCostCenterMaster($CostCenterID); - $data['CostDepts'] = $this->costcenter_model->GetCostCenterDepartment($CostCenterID); - $data['CostBudget'] = $this->costcenter_model->GetCostCenterBudget($CostCenterID); - $data['DeptList'] = $this->costcenter_model->GetDepartmentNotinCostCenter($CostCenterID); - $data['BudType'] = $this->costcenter_model->GetBudgetTypeNotinCostCenter($CostCenterID, 'C004'); - $data['BudYear'] = $this->costcenter_model->GetBudgetYear($CostCenterID); - $data['FiscalYear'] = $this->costcenter_model->getFiscalYear(); - //print_r(count($data['BudType'])); - - $this->global['pageTitle'] = 'Edit Cost'; - - - - $this->loadViews("editCostCenter", $this->global, $data, NULL); + + return $this->response->setJSON($data); } - + + + /** + * delete the Cost + */ function deleteCostCenter($CostCode = NULL) { @@ -183,246 +108,9 @@ class CostCenter extends BaseController } - function GetBudgetForYear() - { - - //$id = $this->request->getPost('id'); - $BudYear = $_GET['BudYear']; - $CostCenterID = $_GET['CostCode']; - $result = $this->costcenter_model->GetCostCenterBudgetByYear($CostCenterID, $BudYear); - $BudList = $this->costcenter_model->GetCostBudgetTypeByYear($CostCenterID, 'C004', $BudYear); - - $HTML = ""; - $HTML2 = ""; - $index = 0; - // $HTML2 = $BudList[0]['ConfigValue']; - //if($BudList->num_rows() > 0){ - for ($j = 0; $j < count($BudList); $j++) { - $ConfigValue = $BudList[$j]['ConfigValue']; - $HTML2 .= ""; - } - - for ($i = 0; $i < count($result); $i++) { - $index = $index + 1; - $BudgetType = $result[$i]['BudgetType']; - $BudgetYear = $result[$i]['BudgetYear']; - $BudgetAmount = $result[$i]['BudgetAmount']; - $Remarks = $result[$i]['Remarks']; - $HTML .= "
| SNo | Requisition No | @@ -5402,7 +5380,7 @@ if (!empty($INRSYMBOL)) {
|---|
| SNo | -Requisition No | -Item Code | -Item Description | -Quantity | -UOM | -Rate | -Basic Amount | -Tax Amount | -Total Order Amount | -Action | -
|---|
| SNo | -Requisition No | -Item Name | -Quantity | -UOM | -Rate | -Basic Amount | -Tax Amount | -Total Order Amount | -Action | -|
|---|---|---|---|---|---|---|---|---|---|---|
| - | ReqNo ?> | -MaterialName?> | -Quantity ?> | -UOM ?> | -Rate ?> | -Rate * $record->Quantity,2,'.',''); ?> | -ServiceTaxamount;}else if($CapitalRange=='0'){echo "0.0"; }?> | - - - - - -Rate * $record->Quantity + $record->ServiceTaxamount + $record->otherallowance+ $record->Afvalue - $record->Afterdiscountval, 2, '.', '') ?> | - - - -Rate * $record->Quantity),2,'.',''); ?> | - - $record->MaterialCode,"ReqNo"=>$record->ReqNo); - array_push($res_arr_values, $row); - ?> - - - - -" /> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -- - - - |
| SNo | +Requisition No | +Item Name | +Quantity | +UOM | +Rate | +Basic Amount | +Tax Amount | +Total Order Amount | +Action | +|
|---|---|---|---|---|---|---|---|---|---|---|
| + | ReqNo ?> | +MaterialName ?> | +Quantity ?> | +UOM ?> | +Rate ?> | +Rate * $record->Quantity, 2, '.', ''); ?> | +ServiceTaxamount; + } else if ($CapitalRange == '0') { + echo "0.0"; + } ?> | + + + + + +Rate * $record->Quantity + $record->ServiceTaxamount + $record->otherallowance + $record->Afvalue - $record->Afterdiscountval, 2, '.', '') ?> | + + + +Rate * $record->Quantity), 2, '.', ''); ?> | + + $record->MaterialCode, "ReqNo" => $record->ReqNo); + array_push($res_arr_values, $row); + ?> + + + + + " /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ++ + + + |
| SNo | -Requisition No | -Item Code | -Item Description | -Quantity | -UOM | -Rate | -Basic Amount | -Tax Amount | -Total Order Amount | - -Action | -||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| - | ReqNo ?> | -MaterialCode?> | -MaterialName?> | -Quantity ?> | -UOM ?> | -Rate ?> | -Rate * $record->Quantity, 2, '.', '') ?> | - -ServiceTaxamount;?> | -Rate * $record->Quantity + $record->ServiceTaxamount + $record->otherallowance+ $record->Afvalue - $record->Afterdiscountval, 2, '.', '') ?> | + + ++ | Rate * $record->Quantity, 2, '.', '') ?> | + - - - - + + + + + + + + + + + + + +
| SNo | +Requisition No | +Item Code | +Item Description | +Quantity | +UOM | +Rate | +Basic Amount | +Tax Amount | +Total Order Amount | + +Action | +|||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| + | ReqNo ?> | +MaterialCode ?> | +MaterialName ?> | +Quantity ?> | +UOM ?> | +Rate ?> | +Rate * $record->Quantity, 2, '.', '') ?> | + +ServiceTaxamount; ?> | +Rate * $record->Quantity + $record->ServiceTaxamount + $record->otherallowance + $record->Afvalue - $record->Afterdiscountval, 2, '.', '') ?> | + + + ++ + | Rate * $record->Quantity, 2, '.', '') ?> | + + + + + - $record->MaterialCode,"ReqNo"=>$record->ReqNo); - array_push($res_arr_values, $row); - ?> - - - - -" /> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -- | - + $row = array("materialCode" => $record->MaterialCode, "ReqNo" => $record->ReqNo); + array_push($res_arr_values, $row); + ?> + + + + + " /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + | + + | + |
| Sno | -PONO | - - -LineItemNo | -Entity | -OldValue | -NewValue | -UpdatedBy | -UpdateOn | - -||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| - | PONO ?> | - - -LineItemNos;?> | -entity?> | - entity =='PO DateChanged'){ - $oldValue = date('d-m-Y',strtotime($oldpo->oldValue)); - }else{ - $oldValue = $oldpo->oldValue; - }?> -SupplierName;?> | + + +
| Sno | +PONO | + + +LineItemNo | +Entity | +OldValue | +NewValue | +UpdatedBy | +UpdateOn | - entity =='PO DateChanged'){ - $newValue = date('d-m-Y',strtotime($oldpo->newValue)); - }else{ - $newValue = $oldpo->newValue; - }?> -- | FirstName?> | - -UpdatedOn); - echo $date->format('d-m-Y'); ?> | - -
|---|---|---|---|---|---|---|---|---|---|---|
| + | PONO ?> | + + +LineItemNos; ?> | +entity ?> | + entity == 'PO DateChanged') { + $oldValue = date('d-m-Y', strtotime($oldpo->oldValue)); + } else { + $oldValue = $oldpo->oldValue; + } ?> +SupplierName; ?> | + + entity == 'PO DateChanged') { + $newValue = date('d-m-Y', strtotime($oldpo->newValue)); + } else { + $newValue = $oldpo->newValue; + } ?> ++ | FirstName ?> | + +UpdatedOn); + echo $date->format('d-m-Y'); ?> | + + +
| Budget Type | -Budget Year | - -Remarks | -Action | - - - BudgetType; - // print_r($BudgetTypeAdd); - ?> -|
|---|---|---|---|---|
| BudgetType ?> | - - - - - -BudgetYear ?> | - -BudgetAmount ?> | - -Remarks ?> | -- - - - | -
| SNo | -Requisition No | -Item Name | -Quantity | -UOM | -Rate | -Basic Amount | - -Action | -|
|---|---|---|---|---|---|---|---|---|
| - | ReqNo ?> | -MaterialName?> | -Quantity ?> | -UOM ?> | -Rate ?> | -BasicValue ?> | - +Action | +|
| + | ReqNo ?> | +MaterialName ?> | +Quantity ?> | +UOM ?> | +Rate ?> | +BasicValue ?> | + + + - - - - - - - + - - + + + + + + + - - + + - - + + + + - - - - + + + + - - - - + + - - + + + + - - + + - + - - + + - - + + - - + + - - + + - - + + - - - - + + + + - - - - + + - + + + - - - - + + - - + + - - + + - + + - + - + - - - + + - + + + - - + - + - + - + - + - + - + - + - + - + - - + - + + - + - + - - + - - + + + + - -- - | - - | + + | + + - - | -
| SNo | -Requisition No | -Item Code | -Item Description | -Quantity | -UOM | -Rate | -Basic Amount | -Tax Amount | -Total Order Amount | - -Action | -Action | + + - - + -|||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| - | ReqNo ?> | -MaterialCode ?> | -MaterialName ?> | -Quantity ?> | -UOM ?> | -Rate ?> | + foreach ($POItem as $record) { + $index = $index + 1; + ?> +||||||||
| + | ReqNo ?> | +MaterialCode ?> | +MaterialName ?> | +Quantity ?> | +UOM ?> | +Rate ?> | -BasicValue, 2, '.', ''); ?> | +BasicValue, 2, '.', ''); ?> | -Taxamount ?> | -TotalValue ?> | - - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + ++ | - if ($PONOStatus == PO_DRAFT || $PONOStatus == PO_CREATED || $PONOStatus == REQITEM_Emergency_PO_CREATED || $PONOStatus == PO_APPROVED || $PONOStatus == SPECIAL_PO) { ?> - | - - | - - - |
| Delivery Challan No | +Delivery Challan Date | +MaterialReceived Date | +Vehicle No | +Courier No | + + +Action | +
|---|---|---|---|---|---|
| DeliveryChellanOrInvoiceNo ?> | +DeliveryChellanDate); + echo $date->format('d-m-Y'); ?> | +MaterialRcvdDate); + echo $date->format('d-m-Y'); ?> | +VehicleNo ?> | +CourierNo ?> | - 'txtTotalInsurance', 'value' => set_value('txtTotalInsurance', number_format($totInsuranceAmt, 2, '.', '')), 'id' => 'txtTotalInsurance', 'class' => 'form-control', 'readonly' => 'true', 'style' => 'text-align:right;'); - echo form_input($data); - ?> + + "> + "> + + + + + +
-
-
-
-
- 'txtTotalFreight', 'value' => set_value('txtTotalFreight', number_format($totFreightAmt, 2, '.', '')), 'id' => 'txtTotalFreight', 'class' => 'form-control', 'readonly' => 'true', 'style' => 'text-align:right;');
- echo form_input($data);
- ?>
-
-
-
-
- 'txtTotalOrderValueSummary', 'value' => set_value('txtTotalOrderValueSummary', number_format($totOrderSummaryAmt, 2, '.', '')), 'id' => 'txtTotalOrderValueSummary', 'class' => 'form-control', 'readonly' => 'true', 'style' => 'text-align:right;');
- echo form_input($data);
- ?>
-
+ |
+
+
| Bill No | + +File | +Action | +
|---|---|---|
| BillNo ?> | + +FilePath)) ? $gd->FilePath : "No File"; ?> | + + + + + + + + + + + + + ++ FilePath)) { ?> + + + | +
| Delivery Challan No | -Delivery Challan Date | -MaterialReceived Date | -Vehicle No | -Courier No | - - -Action | +Sno | +PONO | + +LineItemNo | +Entity | +OldValue | +NewValue | +UpdatedBy | +UpdateOn | +
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| DeliveryChellanOrInvoiceNo ?> | -DeliveryChellanDate); + | + | PONO ?> | + + +LineItemNos; ?> | +entity ?> | + entity == 'PO DateChanged') { + $oldValue = date('d-m-Y', strtotime($oldpo->oldValue)); + } else { + $oldValue = $oldpo->oldValue; + } ?> +SupplierName; ?> | + entity == 'PO DateChanged') { + $newValue = date('d-m-Y', strtotime($oldpo->newValue)); + } else { + $newValue = $oldpo->newValue; + } ?> ++ | FirstName ?> | + +UpdatedOn); echo $date->format('d-m-Y'); ?> | -MaterialRcvdDate); - echo $date->format('d-m-Y'); ?> | -VehicleNo ?> | -CourierNo ?> | - - "> - "> - - - - - -- - |
| Sno | -PONO | -LineItemNo | -Entity | -OldValue | -NewValue | -UpdatedBy | -UpdateOn | + + -
|---|---|---|---|---|---|---|---|
| - | PONO ?> | - - -LineItemNos; ?> | -entity ?> | - entity == 'PO DateChanged') { - $oldValue = date('d-m-Y', strtotime($oldpo->oldValue)); - } else { - $oldValue = $oldpo->oldValue; - } ?> -SupplierName; ?> | - entity == 'PO DateChanged') { - $newValue = date('d-m-Y', strtotime($oldpo->newValue)); - } else { - $newValue = $oldpo->newValue; - } ?> -- | FirstName ?> | - -UpdatedOn); - echo $date->format('d-m-Y'); ?> | - - -
| SNo | -Requisition No | -Material Code | -Description | -Quantity | -UOM | -Rate | -Basic Amount | - - -Action | -|
|---|---|---|---|---|---|---|---|---|---|
| - | ReqNo ?> | -MaterialCode ?> | -MaterialName?> | -Quantity ?> | -UOM ?> | -Rate ?> | -BasicValue ?> | - - - - +Action | +- - | - - AfterLandingCharge + $TotalLanding; - $TotalLanding = $TotalLanding + ($record->AfterLandingCharge); - $tothighseas = $tothighseas + $record->AfterHighSeasSalesCharge; - $totcustom = $totcustom + $record->AfterCustomDuty; - $totexciseduty = $totexciseduty + $record->AfterExciseDuty; - $totexcisedutyED = $totexcisedutyED + $record->AfterExciseDutyEdCess; - $totexciseSH = $totexciseSH + $record->AfterExciseDutySHCess; - $totcustomED = $totcustomED +$record->AfterCustomEdCess; - - $totcustomSH = $totcustomSH + $record->AfterCustomSHCess; - $totaddtnlexcise= $totaddtnlexcise + $record->AfterAddlExciseDuty; - $totgrossduty = $totgrossduty + $record->Grossdutypayable; - // $totavlmodvat = $totavlmodvat +$record->AvailableModvat; - //$totgrossduty=$totgrossduty+$record->Grossdutypayable; - $totavlmodvat=$totavlmodvat+$record->AvailableModvat; - $totgrossexpense=$totgrossexpense+$record->Grossexpensesduetocustomduty; - $ExchangeRate=$record->ExchangeRate; - //echo $totorder; - $totorder=$totorder+$record->TotalOrderValue; - - //echo $totorder; - - $totfreight=$totfreight+$record->AfterFreightValue; - - $totassesable=$totassesable+$record->AssessableValue; - $totSubtotal=$totSubtotal+$record->SubTotal; - $totigst=$totigst+$record->AfterIGST; - - //echo $totcustomED; - // $totorder=$record->TotalOrderValue; - // //$ServiceDescription=$record->ServiceDescription; - // echo $totorder; - //alert($totorder); - - - } - ?> - - + |
| + | ReqNo ?> | +MaterialCode ?> | +MaterialName ?> | +Quantity ?> | +UOM ?> | +Rate ?> | +BasicValue ?> | + + + + - - - " id="" value="ReqNo; ?>" /> + + + + " /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ++ + | + + |
| Sno | -PONO | - - -LineItemNo | -Entity | -OldValue | -NewValue | -UpdatedBy | -UpdateOn | - -||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| - | PONO ?> | - - -LineItemNos;?> | -entity?> | - entity =='PO DateChanged'){ - $oldValue = date('d-m-Y',strtotime($oldpo->oldValue)); - }else{ - $oldValue = $oldpo->oldValue; - }?> -SupplierName;?> | + +
| Sno | +PONO | + + +LineItemNo | +Entity | +OldValue | +NewValue | +UpdatedBy | +UpdateOn | - entity =='PO DateChanged'){ - $newValue = date('d-m-Y',strtotime($oldpo->newValue)); - }else{ - $newValue = $oldpo->newValue; - }?> -- | FirstName?> | - -UpdatedOn); - echo $date->format('d-m-Y'); ?> | - - -
|---|
| SNo | -Requisition No | -Material Code | -Description | -Quantity | -UOM | -Rate | -Basic Amount | -Received Qty | -Rejected Qty | -Pending Qty | - -Action | -
|---|
| SNo | +Requisition No | +Material Code | +Description | +Quantity | +UOM | +Rate | +Basic Amount | +Received Qty | +Rejected Qty | +Pending Qty | + +Action | +
|---|