diff --git a/application/.htaccess b/application/.htaccess old mode 100644 new mode 100755 diff --git a/application/cache/.htaccess b/application/cache/.htaccess old mode 100644 new mode 100755 diff --git a/application/cache/index.html b/application/cache/index.html old mode 100644 new mode 100755 diff --git a/application/config/autoload.php b/application/config/autoload.php old mode 100644 new mode 100755 diff --git a/application/config/config.php b/application/config/config.php old mode 100644 new mode 100755 diff --git a/application/config/constants.php b/application/config/constants.php old mode 100644 new mode 100755 diff --git a/application/config/database.php b/application/config/database.php old mode 100644 new mode 100755 diff --git a/application/config/doctypes.php b/application/config/doctypes.php old mode 100644 new mode 100755 diff --git a/application/config/foreign_chars.php b/application/config/foreign_chars.php old mode 100644 new mode 100755 diff --git a/application/config/grocery_crud.php b/application/config/grocery_crud.php old mode 100644 new mode 100755 diff --git a/application/config/hooks.php b/application/config/hooks.php old mode 100644 new mode 100755 diff --git a/application/config/index.html b/application/config/index.html old mode 100644 new mode 100755 diff --git a/application/config/migration.php b/application/config/migration.php old mode 100644 new mode 100755 diff --git a/application/config/mimes.php b/application/config/mimes.php old mode 100644 new mode 100755 diff --git a/application/config/profiler.php b/application/config/profiler.php old mode 100644 new mode 100755 diff --git a/application/config/routes.php b/application/config/routes.php old mode 100644 new mode 100755 diff --git a/application/config/smileys.php b/application/config/smileys.php old mode 100644 new mode 100755 diff --git a/application/config/user_agents.php b/application/config/user_agents.php old mode 100644 new mode 100755 diff --git a/application/controllers/Controller.php b/application/controllers/Controller.php old mode 100644 new mode 100755 diff --git a/application/controllers/CostCenter.php b/application/controllers/CostCenter.php old mode 100644 new mode 100755 diff --git a/application/controllers/amendmentpurchaseorder.php b/application/controllers/amendmentpurchaseorder.php old mode 100644 new mode 100755 diff --git a/application/controllers/assetdetails.php b/application/controllers/assetdetails.php old mode 100644 new mode 100755 diff --git a/application/controllers/c_test.php b/application/controllers/c_test.php old mode 100644 new mode 100755 diff --git a/application/controllers/emergencypurchaseorder.php b/application/controllers/emergencypurchaseorder.php old mode 100644 new mode 100755 index 565be555..b229edd2 --- a/application/controllers/emergencypurchaseorder.php +++ b/application/controllers/emergencypurchaseorder.php @@ -49,10 +49,17 @@ class emergencypurchaseorder extends BaseController function CreateEmergencyPO() { + $RequestedBy = $this->session->userdata ('EmpID'); $this->global['pageTitle'] = 'Siddharth : Create Emergency Purchase Order'; $data['RequestType'] = $this->requistion_model->getConfigValue('C004'); $data['Suplist'] = $this->purchaseorder_model->getSupplierName(); - $data['DeptList'] = $this->purchaseorder_model->getDepartmentAllList(); + /*$data['DeptList'] = $this->purchaseorder_model->getDepartmentAllList();*/ + $empDetails = $this->requistion_model->GetEmployeeDetails($RequestedBy); + + $DeptCode = $empDetails[0]['DEPCode']; + $data['DeptList'] = $empDetails; + $data['CostList'] = $this->requistion_model->GetCostCenterByDept( $DeptCode); + $data['CompanyDetails'] = $this->purchaseorder_model->getCompanyInformation(); $data['MaxPODate'] = $this->purchaseorder_model->getLastCreatedPODate(); $data['TaxType'] = $this->purchaseorder_model->getConfigValue('C006'); diff --git a/application/controllers/emergencypurchaseorder.php~ b/application/controllers/emergencypurchaseorder.php~ new file mode 100755 index 00000000..b229edd2 --- /dev/null +++ b/application/controllers/emergencypurchaseorder.php~ @@ -0,0 +1,1093 @@ +load->model('purchaseorder_model'); + + $this->load->library('session'); + $this->load->library('form_validation'); + $this->load->model('requistion_model'); + $this->isLoggedIn(); + } + + /** + * This function used to load the first screen of the user + */ + public function index() + { + $this->global['pageTitle'] = 'Siddharth : AddPO'; + + $this->loadViews("addPO", $this->global, NULL , NULL); + } + + function requisition() + { + $data['DeptList'] = $this->purchaseorder_model->getDepartmentListForAllReq(); + + $data['stList'] = $this->purchaseorder_model->getStatusListforAllReq(); + + $data['ReqList'] = $this->purchaseorder_model->getRequistionListbySearch(); + $this->global['pageTitle'] = 'Siddharth : Create PO from Requisition List'; + + $this->loadViews("createPOfromRequistion", $this->global, $data,Null); + } + + function CreateEmergencyPO() + { + $RequestedBy = $this->session->userdata ('EmpID'); + $this->global['pageTitle'] = 'Siddharth : Create Emergency Purchase Order'; + $data['RequestType'] = $this->requistion_model->getConfigValue('C004'); + $data['Suplist'] = $this->purchaseorder_model->getSupplierName(); + /*$data['DeptList'] = $this->purchaseorder_model->getDepartmentAllList();*/ + $empDetails = $this->requistion_model->GetEmployeeDetails($RequestedBy); + + $DeptCode = $empDetails[0]['DEPCode']; + $data['DeptList'] = $empDetails; + $data['CostList'] = $this->requistion_model->GetCostCenterByDept( $DeptCode); + + $data['CompanyDetails'] = $this->purchaseorder_model->getCompanyInformation(); + $data['MaxPODate'] = $this->purchaseorder_model->getLastCreatedPODate(); + $data['TaxType'] = $this->purchaseorder_model->getConfigValue('C006'); + $data['FreightType'] = $this->purchaseorder_model->getConfigValue('C018'); + + $this->loadViews("alterpurchaseorder", $this->global, $data, Null); + + } + /** + * this function used for get all material code using request type + */ + function getMaterialCode(){ + $reqType = $this->input->post('input'); + $materialList = $this->requistion_model->GetMaterialCode($reqType); + echo json_encode($materialList); + + } + + /*This function is used for get cost center list using department code*/ + function getCostCenterName(){ + $CostList=''; + $DeptCode = $this->input->post('id'); + $CostList = $this->requistion_model->GetCostCenterByDept($DeptCode); + // print_r($CostList); + echo json_encode($CostList); + + } + + //This used to Create Service Purchase Order + function addNewServicePurchaseOrder() + { + + + $POdt =$this->input->post('PODate'); + $PODate = $this->getDateformat($POdt); + $SupplierID = $this->input->post('drpSupplier'); + $DeliveryAddr = $this->input->post('DeliveryAddr'); + $dt = $this->input->post('Deliverydt'); + $CostCenterName = $this->input->post('CostCenterName'); + $DeliveryOption = $this->input->post('DateRange'); + if($DeliveryOption==1){ + $Deliverydt = ''; + $DeliverySchedule = $this->input->post('Scheduleby'); + } + else{ + $Deliverydt = $this->getDateformat($dt); + $DeliverySchedule = ''; + } + + + $POType = $this->input->post('POType'); + + $SpcialInstruction = $this->input->post('TextSpcialInstruction'); + $TotalOrderValueSummary = $this->input->post('TextTotalOrderValueSummaryService'); + + $POStatus = $this->input->post('TextStatus'); + $CreateBy = $this->session->userdata ('userId'); + $RequestedBy = $this->session->userdata ('EmpID'); + + $ReqStatus = REQITEM_Emergency_PO_CREATED; + + $RowCount = $this->input->post('TextRowCount'); + + $DeletedRow = $this->input->post('TextDeletedRowCount'); + + $comma_separated = explode(':', $DeletedRow); + + $dt = new DateTime('now', new DateTimeZone('Asia/Kolkata')); + + $createddt = $dt->format('Y-m-d H:i:s'); + //create T_Requestion_Master + $Request = array('ReqType'=>$POType, 'Requestedby'=>$RequestedBy,'CostCenterCode'=>$CostCenterName,'Status'=>$ReqStatus,'Comments'=>$SpcialInstruction,'ReqDate'=>$createddt,'CreatedDate'=>$createddt,'CreatedBy'=>$CreateBy); + + $Req = $this->requistion_model->addRequistion($Request); + + $RegNo=''; + if(count($Req)>0) + { + $RegNo = $Req[0]['ReqNo']; + } + + + // PO Master + $POList = array('SupplierID'=>$SupplierID, 'TotalOrderValue'=>$TotalOrderValueSummary,'PODate'=>$PODate,'Status'=>$POStatus,'DeliverySchedule'=>$DeliverySchedule,'DeliveryOption'=>$DeliveryOption,'ServiceDescription'=>$SpcialInstruction,'CreatedBy'=>$CreateBy,'DeliveryAddress'=>$DeliveryAddr,'DeliveryDate'=>$Deliverydt,'CreatedDate'=>$createddt ); + + $POMaster = $this->purchaseorder_model->addPOMaster($POList); + $PONO = ''; + if(count($POMaster)>0) + { + $PONO = $POMaster[0]['PONO']; + } + + $RegDetailsStatus=REQITEM_POCREATED; + + // PO Line Items + $LineItemStatus = REQITEM_NEW; + + for ($i = 1; $i <= $RowCount; $i++) + { + + $MaterialCode = $this->input->post('materialCode'.$i); + $Quantity = $this->input->post('quantity'.$i); + $Reqnumber = $this->input->post('Reqnumber'.$i); + $itemRate = $this->input->post('itemRate'.$i); + $ServiceTax = $this->input->post('ServiceTax'.$i); + $EduCess = $this->input->post('EduCess'.$i); + $SecHighTax = $this->input->post('SecHighTax'.$i); + $KrishiTax = $this->input->post('KrishiTax'.$i); + $SwachhTax = $this->input->post('SwachhTax'.$i); + $CostCenter = $this->input->post('costCode'.$i); + + $TotalOrderValue = $this->input->post('TotalOrderValue'.$i); + $SkipInsert = "False"; + if( count($comma_separated) > 0) + { + for($j = 1; $j < count($comma_separated); $j++) + { + $deletedRow = $comma_separated[$j]; + + if($deletedRow == $i ) + { + $SkipInsert = "True"; + break; + } + + } + } + if($SkipInsert == "False") + { + + //add requistion details + $ReqDetails = array('ReqNo'=>$RegNo, 'MaterialCode'=>$MaterialCode,'Quantity'=>$Quantity,'Status'=>$RegDetailsStatus,'UpdatedBy'=>$CreateBy,'UpdatedOn'=>$createddt); + + + $ReqDetQuery = $this->requistion_model->addRequistionDetails($ReqDetails); + + + + $POLineItemList = array('PONO'=>$PONO, 'ReqNo'=>$RegNo,'MaterialCode'=>$MaterialCode,'Quantity'=>$Quantity,'Rate'=>$itemRate,'Status'=>$LineItemStatus,'CreatedBy'=>$CreateBy,'CreatedDate'=>$createddt,'CostCenterCode'=>$CostCenter); + $POLineItem = $this->purchaseorder_model->addPOLineItem($POLineItemList); + $LineItemNo = ''; + if(count($POLineItem)>0) + { + $LineItemNo = $POLineItem[0]['LineItemNo']; + } + + + if(trim($POType) == SERVICE ) + { + // echo 'Success'; + + $ServiceTaxList = array('LineItemNo'=>$LineItemNo, 'ServiceTax'=>$ServiceTax,'EducessTax'=>$EduCess,'SecHigherEducessTax'=>$SecHighTax,'KrishiKalyantax'=>$KrishiTax,'SwachhBharattax'=>$SwachhTax,'TotalValue'=>$TotalOrderValue, 'CreatedBy'=>$CreateBy,'CreatedDate'=>$createddt); + + $ServiceTax = $this->purchaseorder_model->addServiceTax($ServiceTaxList); + + } + } + else { + + } + + } + + if($POStatus == REQ_DRAFT) + { + echo 'Emergency Service Purchase Order Saved Successfully!The PO NO Is: '.$PONO; + + } + else + { + echo 'Emergency Service Purchase Order Created Successfully!The PO NO Is: '.$PONO; + + } + + + } + + + + //This used to Create Revenue Emergency Purchase Order + function addNewRevenuePurchaseOrder() + { + + $POdt =$this->input->post('PODate'); + $PODate = $this->getDateformat($POdt); + $SupplierID = $this->input->post('drpSupplier'); + $DeliveryAddr = $this->input->post('DeliveryAddr'); + $dt = $this->input->post('Deliverydt'); + $DeliveryOption = $this->input->post('DateRange'); + if($DeliveryOption==1){ + $Deliverydt = ''; + $DeliverySchedule = $this->input->post('Scheduleby'); + } + else{ + $Deliverydt = $this->getDateformat($dt); + $DeliverySchedule = ''; + } + $CostCenterName = $this->input->post('CostCenterName'); + $POType = $this->input->post('POType'); + $PoRange = $this->input->post('txtPoRange'); + + $SpcialInstruction = $this->input->post('TextSpcialInstruction'); + $TotalOrderValueSummary = $this->input->post('txtTotalOrderValueSummary'); + $POStatus = $this->input->post('TextStatus'); + + $CreateBy = $this->session->userdata ( 'userId' ); + $RowCount = $this->input->post('TextRowCount'); + $DeletedRow = $this->input->post('TextDeletedRowCount'); + $RequestedBy = $this->session->userdata ('EmpID'); + $ReqStatus = REQITEM_Emergency_PO_CREATED; + + + $comma_separated = explode(':', $DeletedRow); + + $dt = new DateTime('now', new DateTimeZone('Asia/Kolkata')); + $createddt = $dt->format('Y-m-d H:i:s'); + + //add requistion + $Request = array('ReqType'=>$POType, 'Requestedby'=>$RequestedBy,'CostCenterCode'=>$CostCenterName,'Status'=>$ReqStatus,'Comments'=>$SpcialInstruction,'ReqDate'=>$createddt,'CreatedDate'=>$createddt,'CreatedBy'=>$CreateBy); + + $Req = $this->requistion_model->addRequistion($Request); + + $RegNo=''; + if(count($Req)>0) + { + $RegNo = $Req[0]['ReqNo']; + } + // PO Master + $POList = array('SupplierID'=>$SupplierID, 'TotalOrderValue'=>$TotalOrderValueSummary,'PODate'=>$PODate,'Status'=>$POStatus,'DeliverySchedule'=>$DeliverySchedule,'DeliveryOption'=>$DeliveryOption,'PORange'=>$PoRange,'ServiceDescription'=>$SpcialInstruction,'CreatedBy'=>$CreateBy,'DeliveryAddress'=>$DeliveryAddr,'DeliveryDate'=>$Deliverydt,'CreatedDate'=>$createddt ); + + $POMaster = $this->purchaseorder_model->addPOMaster($POList); + + $PONO = ''; + if(count($POMaster)>0) + { + $PONO = $POMaster[0]['PONO']; + } + + // PO Line Items + $RegDetailsStatus=REQITEM_POCREATED; + $LineItemStatus = REQITEM_NEW; + + for ($i = 1; $i <= $RowCount; $i++) + { + + $MaterialCode = $this->input->post('materialCode'.$i); + $Quantity = $this->input->post('quantity'.$i); + $Reqnumber = $this->input->post('Reqnumber'.$i); + $itemRate = $this->input->post('itemRate'.$i); + + $DiscountType = $this->input->post('DisType'.$i); + $DiscountValue = $this->input->post('DisVal'.$i); + $AfterDiscount = $this->input->post('AfterDisVal'.$i); + $PackagingOption = $this->input->post('PackOption'.$i); + $PackagingType = $this->input->post('PackType'.$i); + $PackagingValue = $this->input->post('PackVal'.$i); + $AfterPackagingValue = $this->input->post('AfterPackVal'.$i); + $ExciseOption = $this->input->post('ExciseOption'.$i); + $ExciseValue = $this->input->post('ExciseVal'.$i); + $AfterExciseValue = $this->input->post('AfterExciseVal'.$i); + $VatOption = $this->input->post('VatOption'.$i); + $VatValue = $this->input->post('VatVal'.$i); + $AfterVatValue = $this->input->post('AfterVatVal'.$i); + $CSTOption = $this->input->post('CSTOption'.$i); + $CSTValue = $this->input->post('CSTVal'.$i); + $AfterCSTValue = $this->input->post('AfterCSTVal'.$i); + $GSTValue = $this->input->post('GSTVal'.$i); + $AfterGSTValue = $this->input->post('AfterGSTVal'.$i); + $OtherTaxValue = $this->input->post('OtherTaxVal'.$i); + $AfterOtherTaxValue = $this->input->post('AfterOtherTaxVal'.$i); + $FreightType = $this->input->post('FreightType'.$i); + $FreightValue = $this->input->post('FreightVal'.$i); + $AfterFreightValue = $this->input->post('AfterFreightVal'.$i); + $InsuranceValue = $this->input->post('Insval'.$i); + $TotalOrderValue = $this->input->post('TotalOrderValue'.$i); + $CostCenter = $this->input->post('costCode'.$i); + + $SkipInsert = "False"; + if( count($comma_separated) > 0) + { + for($j = 1; $j < count($comma_separated); $j++) + { + $deletedRow = $comma_separated[$j] ; + + if($deletedRow == $i ) + { + $SkipInsert = "True"; + break; + } + + } + } + if($SkipInsert == "False") + { + //add requistion details + $ReqDetails = array('ReqNo'=>$RegNo, 'MaterialCode'=>$MaterialCode,'Quantity'=>$Quantity,'Status'=>$RegDetailsStatus,'UpdatedBy'=>$CreateBy,'UpdatedOn'=>$createddt); + + + $ReqDetQuery = $this->requistion_model->addRequistionDetails($ReqDetails); + + $POLineItemList = array('PONO'=>$PONO, 'ReqNo'=>$RegNo,'MaterialCode'=>$MaterialCode,'Quantity'=>$Quantity,'Rate'=>$itemRate,'Status'=>$LineItemStatus,'CreatedBy'=>$CreateBy,'CreatedDate'=>$createddt,'CostCenterCode'=>$CostCenter); + + $POLineItem = $this->purchaseorder_model->addPOLineItem($POLineItemList); + + $LineItemNo = ''; + if(count($POLineItem)>0) + { + $LineItemNo = $POLineItem[0]['LineItemNo']; + } + //echo $LineItemNo; + + if(trim($POType) == REVENUE ) + { + // echo 'Success'; + $RevenueTaxList = array('LineItemNo'=>$LineItemNo, 'DiscountType'=>$DiscountType,'DiscountValue'=>$DiscountValue,'AfterDiscount'=>$AfterDiscount,'PackagingType'=>$PackagingType,'PackagingValue'=>$PackagingValue,'PackagingCalulatedOn'=>$PackagingOption,'AfterPackagingValue'=>$AfterPackagingValue,'FreightType'=>$FreightType, 'FreightValue'=>$FreightValue,'AfterFreightValue'=>$AfterFreightValue,'ExciseDuty'=>$ExciseValue,'ExciseDutyCalulatedOn'=>$ExciseOption,'AfterExciseDuty'=>$AfterExciseValue,'Vat'=>$VatValue,'AfterVAT'=>$AfterVatValue,'VatCalulatedOn'=>$VatOption, 'CST'=>$CSTValue,'AfterCST'=>$AfterCSTValue,'CSTCalulatedOn'=>$CSTOption,'GST'=>$GSTValue,'AfterGST'=>$AfterGSTValue,'OtherTaxes'=>$OtherTaxValue,'AfterOtherTaxes'=>$AfterOtherTaxValue,'Insurance'=>$InsuranceValue,'TotalValue'=>$TotalOrderValue, 'CreatedBy'=>$CreateBy,'CreatedDate'=>$createddt); + + $RevenueList = $this->purchaseorder_model->addRevenueTax($RevenueTaxList); + //echo 'Revenue tax Success'; + } + } + + } + echo 'Purchase Order Created Successfully! PO Number Is: '.$PONO ; + + } + + + /** + * This function is used to load the purchaseorder list + */ + function PurchaseOrderList() + { + + $this->load->library('pagination'); + + $count = $this->purchaseorder_model->purchaseorderListingCount(''); + + $returns = $this->paginationCompress ( "purchaseorderListing/", $count, 5 ); + + //$this->purchaseorder_model->UpdateRequistItemStatus(); + $this->purchaseorder_model->UpdateRequistionStatus(); + $data['POData'] = $this->purchaseorder_model->purchaseorderListing(); + + $this->global['pageTitle'] = 'Siddharth : Purchase Orders'; + + $this->loadViews("POlist", $this->global, $data, NULL); + + } + function Req_validate($selectValue) + { + //echo 'select_validate method called'; + // 'none' is the first option and the text says something like "-Choose one-" + if(strlen($selectValue) == 0) + { + $this->form_validation->set_message('Req_validate', 'Please Select Requisition Number to Create PO.'); + return false; + } + else // user picked something + { + return true; + } + } + + /** + * This function used to show the Purchase Order Screen + */ + + function CreatePurchaseOrder() + { + + + $this->load->library('form_validation'); + + $this->form_validation->set_rules('txtReqNo', 'txtReqNo', 'callback_Req_validate'); + + if($this->form_validation->run() == FALSE) + { + $this->requisition(); + //echo 'Validate method called'; + } + else + { + + $this->global['pageTitle'] = 'Siddharth : Purchase order form'; + $data['TaxType'] = $this->purchaseorder_model->getConfigValue('C006'); + $data['FreightType'] = $this->purchaseorder_model->getConfigValue('C018'); + $data['Suplist'] = $this->purchaseorder_model->getSupplierName(); + $SelectedReq = json_decode($this->input->post('txtReqNo')); + $Req = $SelectedReq->Req; + $data['ReqList'] = $Req ; + $ReqArray = array(); + $ReqType = ''; + $result = array(); + + foreach ($Req as $SID): + $ReqArray[] = $SID->ReqNo ; + $result[] = $this->purchaseorder_model->getRawPOMaterialList($SID->ReqNo); + $ReqType = $SID->ReqType; + //echo $SID->ReqNo; + + endforeach; + //print_r ($result); + $dt = new DateTime('now', new DateTimeZone('Asia/Kolkata')); + $Year = $dt->format('Y'); + $data['CostList'] = $this->purchaseorder_model->getCostCenterbyRequist('',$Year,$ReqType); + $data['MaterialList'] = $result; //$this->purchaseorder_model->getRawMaterialList($ReqType,$ReqArray); + //print_r ($data['MaterialList']); + $data['RequistionDetails'] = $this->purchaseorder_model->getRequistDetails($ReqArray); + $data['CompanyDetails'] = $this->purchaseorder_model->getCompanyInformation(); + $data['MaxPODate'] = $this->purchaseorder_model->getLastCreatedPODate(); + + $ViewName = ''; + if($ReqType == REVENUE) + { + $ViewName = 'Purchaseorder'; + } + else if($ReqType == SERVICE) + { + $ViewName = 'servicePurchaseorder'; + } + $this->loadViews($ViewName, $this->global,$data, NULL); + } + } + + function CreatePOPrint() + { + $PONO = $_GET['PONO']; + $ReqType = $_GET['ReqType']; + + if($ReqType == SERVICE) + { + $this ->servicepoprint($PONO); + + } + else if($ReqType == REVENUE) + { + $this ->revenuepoprint($PONO); + + } + } + //To View/Update Purchase Order + function EditPurchaseOrder() + { + $PONO = $_GET['PONO']; + $ReqType = $_GET['ReqType']; + $dt = new DateTime('now', new DateTimeZone('Asia/Kolkata')); + $Year = $dt->format('Y'); + $data['CostList'] = $this->purchaseorder_model->getCostCenterbyRequist('',$Year,$ReqType); + $Req = $this->purchaseorder_model->getRequistionNoFromPO($PONO); + $data['ReqList'] = $Req ; + $result = array(); + $ReqArray = array(); + foreach ($Req as $SID): + $ReqArray[] = $SID->ReqNo ; + $result[] = $this->purchaseorder_model->getRawPOMaterialList($SID->ReqNo); + endforeach; + $data['MaterialList'] = $result;//$this->purchaseorder_model->getRawMaterialList($ReqType,$ReqArray); + $data['Suplist'] = $this->purchaseorder_model->getSupplierName(); + $data['RequistionDetails'] = $this->purchaseorder_model->getRequistDetails($ReqArray); + $data['POMaster'] = $this->purchaseorder_model->GetServicePurchaseOrder($PONO); + $data['MaxPODate'] = $this->purchaseorder_model->getLastCreatedPODate(); + $data['TaxType'] = $this->purchaseorder_model->getConfigValue('C006'); + $data['FreightType'] = $this->purchaseorder_model->getConfigValue('C018'); + if($ReqType == SERVICE) + { + + $data['POItem'] = $this->purchaseorder_model->GetServicePurchaseOrderDetails($PONO); + $this->global['pageTitle'] = 'Siddharth : Edit Service Purchase order form'; + $this->loadViews("EditservicePurchaseorder", $this->global, $data, NULL); + } + else if($ReqType == REVENUE) + { + + $data['POItem'] = $this->purchaseorder_model->GetRevenuePurchaseOrderDetails($PONO); + $this->global['pageTitle'] = 'Siddharth : Edit Revenue Purchase order form'; + $this->loadViews("editRevenuepurchaseorder", $this->global, $data, NULL); + } + + } + + // To get the Material value based on the MaterialCode + function getDetailsforReq() + { + + + $SearchFilter= $this->input->post('id'); + // $reqDate= $this->input->post('ReqDate'); + $DeptCode = $SearchFilter[0]; + $MatType = $SearchFilter[1]; + $ReqNo = $SearchFilter[2]; + // $ReqDetai = $this->purchaseorder_model->getRequistDetails( $EmpID ); + + $CostList = $this->requistion_model->GetCostCenterByDept( $DeptCode); + + $HTML = ""; + $BudAmount = ""; + if(count($CostList) > 0) + { + for ($j = 0; $j < count($CostList); $j++) + { + $Code = $CostList[$j]['CostCenterCode']; + $Name = $CostList[$j]['CostCenterName']; + $HTML .=""; + } + } + $MaterialDetails = $this->purchaseorder_model->getRawMaterialListForPO($MatType,$ReqNo); + + $HTML1 = ""; + + if(count($MaterialDetails) > 0) + { + for ($j = 0; $j < count($MaterialDetails); $j++) + { + $Code = $MaterialDetails[$j]['MaterialCode']; + $Name = $MaterialDetails[$j]['MaterialName']; + $HTML1 .=""; + + } + + } + // print_r($HTML1); + + die(json_encode(array('MatDetail' =>$HTML1,'Cost'=> $HTML))); + } + /* This method to get the status based on the Department selection in th + */ + function getStatusByDepartment() + { + $DepId = $this->input->post('id'); + + $data = $this->purchaseorder_model->getStatusByDepartment($DepId); + + $HTML = ""; + if(count($data) > 0) + { + for ($j = 0; $j < count($data); $j++) + { + $Code = $data[$j]['StatusCode']; + $Name = $data[$j]['StatusName']; + $HTML .=""; + } + } + //echo $HTML; + die(json_encode(array('depStaus' => $HTML))); + } + + // To get the available Budget Amount + function AvilBudgetAmount() + { + $SearchFilter= $this->input->post('id'); + // $reqDate= $this->input->post('ReqDate'); + $CostCode = $SearchFilter[0]; + $ReqType = $SearchFilter[1]; + print_r($SearchFilter); + $CostCode= $this->input->post('id'); + $dt = new DateTime('now', new DateTimeZone('Asia/Kolkata')); + + $Year = $dt->format('Y'); + $this->load->model('purchaseorder_model'); + $result = $this->purchaseorder_model->GetAvailableBudgetAmount($CostCode,$Year,$ReqType); + //print_r($result); + $AvilBudAmt = ''; + if(count($result)>0) + { + $AvilBudAmt = $result[0]['BudgetAmount'] - $result[0]['Totalvalue']; + } + + // echo 'Test'; + print_r($AvilBudAmt); + //die(json_encode(array('Cost' => $AvilBudAmt))); + } + + + function getDateformat($Val) + { + $date = new DateTime($Val,new DateTimeZone('Asia/Kolkata')); + // print_r($date); + $retDate = $date->format('Y-m-d H:i:s'); + return $retDate; + } + /* Method to get the Requistion list based on the search filter*/ + + function SearchListofRequistion() + { + $SearchFilter= $this->input->post('id'); + // $reqDate= $this->input->post('ReqDate'); + $DEPCode = $SearchFilter[0]; + $Status = $SearchFilter[1]; + $rng = $SearchFilter[2]; + // $ToDate = $SearchFilter[3]; + $FromDate =''; + $ToDate = ''; + // echo $rng; + $Dt = explode("-",$rng); + // print_r( $Dt); + if(count( $Dt)>1) + { + $FDate = $Dt[0]; + $TDate = $Dt[1]; + $FromDate = $this->getDateformat($FDate); + $ToDate = $this->getDateformat($TDate); + } + //echo $FromDate; + // print_r($Dt); + $result = $this->purchaseorder_model->getRequistionListbySearch($DEPCode,$Status,$FromDate,$ToDate); + + + $HTML=""; + for ($i = 0; $i < count($result); $i++) + { + $SNo = $i + 1; + $ReqNo = $result[$i]['ReqNo']; + $ReqType = $result[$i]['ReqType']; + $Reqedby = $result[$i]['FirstName']; + $ReqDate = $result[$i]['ReqDate']; + $Status = $result[$i]['StatusName']; + $Department = $result[$i]['DepartmentName']; + $Designation = $result[$i]['Designation']; + + $HTML.=" + + ". $ReqNo." + + ".$ReqType." + + ".$Reqedby." + ".$ReqDate." + ".$Status." + ".$Department." + ".$Designation." + "; + } + //print_r( $HTML); + die(json_encode(array('ReqList' =>$HTML))); + } + + + /* To View the request details*/ + function ListPORequistion() + { + $ReqNo= $this->input->post('id'); + $result = $this->requistion_model->getRequistItemList($ReqNo); + $ReqList = $this->requistion_model->getRequistDetails($ReqNo); + $DepNo = $ReqList[0]['DEPCode']; + $CostList = $this->requistion_model->GetCostCenterByDept($DepNo); + $HTML=""; + for ($i = 0; $i < count($result); $i++) + { + $SNo = $i + 1; + $MaterialCode = $result[$i]['MaterialCode']; + $MaterialName = $result[$i]['MaterialName']; + $UOM = $result[$i]['UOM']; + $Quantity = $result[$i]['Quantity']; + $HTML.=" + ".$SNo." + ". $MaterialCode." + + ".$MaterialName." + + ".$UOM." + ".$Quantity." + "; + + //$index = $index + 1; + + } + + $CostCenter = ""; + if(count($CostList) > 0) + { + for ($j = 0; $j < count($CostList); $j++) + { + $Code = $CostList[$j]['CostCenterCode']; + $Name = $CostList[$j]['CostCenterName']; + $CostCenter .=""; + } + } + //echo $HTML; + //echo $CostCenter; + die(json_encode(array('Items' =>$HTML,'Requist'=>$ReqList,'Cost'=>$CostCenter))); + } + + //This used to Create Revenue Purchase Order + function addNewPurchaseOrder() + { + $POdt =$this->input->post('PODate'); + $PODate = $this->getDateformat($POdt); + $SupplierID = $this->input->post('drpSupplier'); + $DeliveryAddr = $this->input->post('DeliveryAddr'); + $dt = $this->input->post('Deliverydt'); + $Deliverydt = $this->getDateformat($dt); + $POType = $this->input->post('POType'); + $PoRange = $this->input->post('txtPoRange'); + + $SpcialInstruction = $this->input->post('txtSpcialInstruction'); + $TotalOrderValueSummary = $this->input->post('txtTotalOrderValueSummary'); + $POStatus = $this->input->post('txtStatus'); + + $CreateBy = $this->session->userdata ( 'userId' ); + $RowCount = $this->input->post('txtRowCount'); + $DeletedRow = $this->input->post('txtDeletedRow'); + + $comma_separated = explode(':', $DeletedRow); + + $dt = new DateTime('now', new DateTimeZone('Asia/Kolkata')); + $createddt = $dt->format('Y-m-d H:i:s'); + // PO Master + $POList = array('SupplierID'=>$SupplierID, 'TotalOrderValue'=>$TotalOrderValueSummary,'PODate'=>$PODate,'Status'=>$POStatus,'PORange'=>$PoRange,'ServiceDescription'=>$SpcialInstruction,'CreatedBy'=>$CreateBy,'DeliveryAddress'=>$DeliveryAddr,'DeliveryDate'=>$Deliverydt,'CreatedDate'=>$createddt ); + + $POMaster = $this->purchaseorder_model->addPOMaster($POList); + + $PONO = ''; + if(count($POMaster)>0) + { + $PONO = $POMaster[0]['PONO']; + } + //echo $PONO; + //echo $POType; + // PO Line Items + $LineItemStatus = REQITEM_NEW; + //echo ' test:'.REVENUE; + //echo $RowCount; + for ($i = 1; $i <= $RowCount; $i++) + { + + $MaterialCode = $this->input->post('materialCode'.$i); + $Quantity = $this->input->post('quantity'.$i); + $Reqnumber = $this->input->post('Reqnumber'.$i); + $itemRate = $this->input->post('itemRate'.$i); + + $DiscountType = $this->input->post('DisType'.$i); + $DiscountValue = $this->input->post('DisVal'.$i); + $AfterDiscount = $this->input->post('AfterDisVal'.$i); + $PackagingOption = $this->input->post('PackOption'.$i); + $PackagingType = $this->input->post('PackType'.$i); + $PackagingValue = $this->input->post('PackVal'.$i); + $AfterPackagingValue = $this->input->post('AfterPackVal'.$i); + $ExciseOption = $this->input->post('ExciseOption'.$i); + $ExciseValue = $this->input->post('ExciseVal'.$i); + $AfterExciseValue = $this->input->post('AfterExciseVal'.$i); + $VatOption = $this->input->post('VatOption'.$i); + $VatValue = $this->input->post('VatVal'.$i); + $AfterVatValue = $this->input->post('AfterVatVal'.$i); + $CSTOption = $this->input->post('CSTOption'.$i); + $CSTValue = $this->input->post('CSTVal'.$i); + $AfterCSTValue = $this->input->post('AfterCSTVal'.$i); + $GSTValue = $this->input->post('GSTVal'.$i); + $AfterGSTValue = $this->input->post('AfterGSTVal'.$i); + $OtherTaxValue = $this->input->post('OtherTaxVal'.$i); + $AfterOtherTaxValue = $this->input->post('AfterOtherTaxVal'.$i); + $FreightType = $this->input->post('FreightType'.$i); + $FreightValue = $this->input->post('FreightVal'.$i); + $AfterFreightValue = $this->input->post('AfterFreightVal'.$i); + $InsuranceValue = $this->input->post('Insval'.$i); + $TotalOrderValue = $this->input->post('TotalOrderValue'.$i); + $CostCenter = $this->input->post('costCode'.$i); + + $SkipInsert = "False"; + if( count($comma_separated) > 0) + { + for($j = 1; $j < count($comma_separated); $j++) + { + $deletedRow = $comma_separated[$j] ; + + if($deletedRow == $i ) + { + $SkipInsert = "True"; + break; + } + + } + } + if($SkipInsert == "False") + { + $POLineItemList = array('PONO'=>$PONO, 'ReqNo'=>$Reqnumber,'MaterialCode'=>$MaterialCode,'Quantity'=>$Quantity,'Rate'=>$itemRate,'Status'=>$LineItemStatus,'CreatedBy'=>$CreateBy,'CreatedDate'=>$createddt,'CostCenterCode'=>$CostCenter); + + $POLineItem = $this->purchaseorder_model->addPOLineItem($POLineItemList); + + $LineItemNo = ''; + if(count($POLineItem)>0) + { + $LineItemNo = $POLineItem[0]['LineItemNo']; + } + //echo $LineItemNo; + + if(trim($POType) == REVENUE ) + { + // echo 'Success'; + $RevenueTaxList = array('LineItemNo'=>$LineItemNo, 'DiscountType'=>$DiscountType,'DiscountValue'=>$DiscountValue,'AfterDiscount'=>$AfterDiscount,'PackagingType'=>$PackagingType,'PackagingValue'=>$PackagingValue,'PackagingCalulatedOn'=>$PackagingOption,'AfterPackagingValue'=>$AfterPackagingValue,'FreightType'=>$FreightType, 'FreightValue'=>$FreightValue,'AfterFreightValue'=>$AfterFreightValue,'ExciseDuty'=>$ExciseValue,'ExciseDutyCalulatedOn'=>$ExciseOption,'AfterExciseDuty'=>$AfterExciseValue,'Vat'=>$VatValue,'AfterVAT'=>$AfterVatValue,'VatCalulatedOn'=>$VatOption, 'CST'=>$CSTValue,'AfterCST'=>$AfterCSTValue,'CSTCalulatedOn'=>$CSTOption,'GST'=>$GSTValue,'AfterGST'=>$AfterGSTValue,'OtherTaxes'=>$OtherTaxValue,'AfterOtherTaxes'=>$AfterOtherTaxValue,'Insurance'=>$InsuranceValue,'TotalValue'=>$TotalOrderValue, 'CreatedBy'=>$CreateBy,'CreatedDate'=>$createddt); + + $RevenueList = $this->purchaseorder_model->addRevenueTax($RevenueTaxList); + //echo 'Revenue tax Success'; + } + } + + } + echo 'Purchase Order Created Successfully! PO Number Is: '.$PONO ; + + } + //This used to Edit the Revenue Purchase Order + function EditRevenuePurchaseOrder() + { + $PONO =$this->input->post('txtPONO'); + $POdt =$this->input->post('PODate'); + $PODate = $this->getDateformat($POdt); + $SupplierID = $this->input->post('drpSupplier'); + $DeliveryAddr = $this->input->post('txtDeliveryAddress'); + $dt = $this->input->post('Deliverydt'); + $Deliverydt = $this->getDateformat($dt); + $POType = $this->input->post('POType'); + $PoRange = $this->input->post('txtPoRange'); + + $SpcialInstruction = $this->input->post('SpcialInstruction'); + $TotalOrderValueSummary = $this->input->post('txtTotalOrderValueSummary'); + $POStatus = $this->input->post('txtStatus'); + + $updatedBy = $this->session->userdata ( 'userId' ); + $RowCount = $this->input->post('txtRowCount'); + $DeletedRow = $this->input->post('txtDeletedRow'); + + $comma_separated = explode(':', $DeletedRow); + $dt = new DateTime('now', new DateTimeZone('Asia/Kolkata')); + $updateddt = $dt->format('Y-m-d H:i:s'); + // PO Master + // PO Master + $POList = array('SupplierID'=>$SupplierID, 'TotalOrderValue'=>$TotalOrderValueSummary,'PODate'=>$PODate,'Status'=>$POStatus,'ServiceDescription'=>$SpcialInstruction,'UpdateBY'=>$updatedBy,'DeliveryAddress'=>$DeliveryAddr,'DeliveryDate'=>$Deliverydt,'UpdatedOn'=>$updateddt ); + + $POMaster = $this->purchaseorder_model->updatePOMaster($PONO,$POList); + + $LineItemStatus = REQITEM_NEW; + + + + //echo $RowCount; + for ($i = 1; $i <= $RowCount; $i++) + { + + $MaterialCode = $this->input->post('materialCode'.$i); + $Quantity = $this->input->post('quantity'.$i); + $Reqnumber = $this->input->post('Reqnumber'.$i); + $itemRate = $this->input->post('itemRate'.$i); + + $DiscountType = $this->input->post('DisType'.$i); + $DiscountValue = $this->input->post('DisVal'.$i); + $AfterDiscount = $this->input->post('AfterDisVal'.$i); + $PackagingOption = $this->input->post('PackOption'.$i); + $PackagingType = $this->input->post('PackType'.$i); + $PackagingValue = $this->input->post('PackVal'.$i); + $AfterPackagingValue = $this->input->post('AfterPackVal'.$i); + $ExciseOption = $this->input->post('ExciseOption'.$i); + $ExciseValue = $this->input->post('ExciseVal'.$i); + $AfterExciseValue = $this->input->post('AfterExciseVal'.$i); + $VatOption = $this->input->post('VatOption'.$i); + $VatValue = $this->input->post('VatVal'.$i); + $AfterVatValue = $this->input->post('AfterVatVal'.$i); + $CSTOption = $this->input->post('CSTOption'.$i); + $CSTValue = $this->input->post('CSTVal'.$i); + $AfterCSTValue = $this->input->post('AfterCSTVal'.$i); + $GSTValue = $this->input->post('GSTVal'.$i); + $AfterGSTValue = $this->input->post('AfterGSTVal'.$i); + $OtherTaxValue = $this->input->post('OtherTaxVal'.$i); + $AfterOtherTaxValue = $this->input->post('AfterOtherTaxVal'.$i); + $FreightType = $this->input->post('FreightType'.$i); + $FreightValue = $this->input->post('FreightVal'.$i); + $AfterFreightValue = $this->input->post('AfterFreightVal'.$i); + $InsuranceValue = $this->input->post('Insval'.$i); + $TotalOrderValue = $this->input->post('TotalOrderValue'.$i); + $POLineItemNo = $this->input->post('LineItemNo'.$i); + $CostCenter = $this->input->post('costCode'.$i); + $LineItemNo = ''; + + + $SkipInsert = "False"; + if( count($comma_separated) > 0) + { + for($j = 1; $j < count($comma_separated); $j++) + { + $deletedRow = $comma_separated[$j] ; + + if($deletedRow == $i ) + { + $SkipInsert = "True"; + break; + } + + } + } + if($SkipInsert == "False") + { + if(strlen($POLineItemNo) == 0) + { + $POLineItemList = array('PONO'=>$PONO, 'ReqNo'=>$Reqnumber,'MaterialCode'=>$MaterialCode,'Quantity'=>$Quantity,'Rate'=>$itemRate,'Status'=>$LineItemStatus,'CreatedBy'=>$updatedBy,'CreatedDate'=>$updateddt,'CostCenterCode'=>$CostCenter); + $POLineItem = $this->purchaseorder_model->addPOLineItem($POLineItemList); + if(count($POLineItem)>0) + { + $LineItemNo = $POLineItem[0]['LineItemNo']; + } + + } + else + { + $LineItemNo = $POLineItemNo; + + $POLineItemList = array('PONO'=>$PONO, 'ReqNo'=>$Reqnumber,'MaterialCode'=>$MaterialCode,'Quantity'=>$Quantity,'Rate'=>$itemRate,'Status'=>$LineItemStatus,'UpdateBY'=>$updatedBy,'UpdatedOn'=>$updateddt,'CostCenterCode'=>$CostCenter); + $POLineItem = $this->purchaseorder_model->updatePOLineItem($PONO,$POLineItemNo,$POLineItemList); + + } + $isExists = $this->purchaseorder_model->LineItemExistsinRevenueTax($LineItemNo); + if(count($isExists) == 0) + { + $RevenueTaxList = array('LineItemNo'=>$LineItemNo, 'DiscountType'=>$DiscountType,'DiscountValue'=>$DiscountValue,'AfterDiscount'=>$AfterDiscount,'PackagingType'=>$PackagingType,'PackagingValue'=>$PackagingValue,'PackagingCalulatedOn'=>$PackagingOption,'AfterPackagingValue'=>$AfterPackagingValue,'FreightType'=>$FreightType, 'FreightValue'=>$FreightValue,'AfterFreightValue'=>$AfterFreightValue,'ExciseDuty'=>$ExciseValue,'ExciseDutyCalulatedOn'=>$ExciseOption,'AfterExciseDuty'=>$AfterExciseValue,'Vat'=>$VatValue,'AfterVAT'=>$AfterVatValue,'VatCalulatedOn'=>$VatOption, 'CST'=>$CSTValue,'AfterCST'=>$AfterCSTValue,'CSTCalulatedOn'=>$CSTOption,'GST'=>$GSTValue,'AfterGST'=>$AfterGSTValue,'OtherTaxes'=>$OtherTaxValue,'AfterOtherTaxes'=>$AfterOtherTaxValue,'Insurance'=>$InsuranceValue,'TotalValue'=>$TotalOrderValue, 'CreatedBy'=>$updatedBy,'CreatedDate'=>$updateddt); + + $RevenueList = $this->purchaseorder_model->addRevenueTax($RevenueTaxList); + + } + else + { + $RevenueTaxList = array('DiscountType'=>$DiscountType,'DiscountValue'=>$DiscountValue,'AfterDiscount'=>$AfterDiscount,'PackagingType'=>$PackagingType,'PackagingValue'=>$PackagingValue,'PackagingCalulatedOn'=>$PackagingOption,'AfterPackagingValue'=>$AfterPackagingValue,'FreightType'=>$FreightType, 'FreightValue'=>$FreightValue,'AfterFreightValue'=>$AfterFreightValue,'ExciseDuty'=>$ExciseValue,'ExciseDutyCalulatedOn'=>$ExciseOption,'AfterExciseDuty'=>$AfterExciseValue,'Vat'=>$VatValue,'AfterVAT'=>$AfterVatValue,'VatCalulatedOn'=>$VatOption, 'CST'=>$CSTValue,'AfterCST'=>$AfterCSTValue,'CSTCalulatedOn'=>$CSTOption,'GST'=>$GSTValue,'AfterGST'=>$AfterGSTValue,'OtherTaxes'=>$OtherTaxValue,'AfterOtherTaxes'=>$AfterOtherTaxValue,'Insurance'=>$InsuranceValue,'TotalValue'=>$TotalOrderValue, 'UpdateBY'=>$updatedBy,'UpdatedOn'=>$updateddt); + + $this->purchaseorder_model->updateRevenueTax($LineItemNo,$RevenueTaxList); + + } + } + + } + + echo 'Purchase Order Updated Successfully! PO Number Is: '.$PONO ; + } + function pageNotFound() + { + $this->global['pageTitle'] = 'CodeInsect : 404 - Page Not Found'; + + $this->loadViews("404", $this->global, NULL, NULL); + } + + public function revenuepoprint($PONO) + { + // Load all views as normal + + + //$PONO = $_GET['PO']; + + $data['CompanyDetails'] = $this->purchaseorder_model->getCompanyInformation(); + $data['POItem'] = $this->purchaseorder_model->GetRevenuePurchaseOrderDetailsForPDF($PONO); + + + // Add header to pdf + //$this->load->view('includes/pdfheader'); + + // Load the pdf page with multiviews + $this->load->View("revenuepopdf", $data); + + // Add header to pdf + //$this->load->view('includes/pdffooter'); + + // Get output html + $php = $this->output->get_output(); + + // Load library + $this->load->library('dompdf_gen'); + + // Convert to PDF + $this->dompdf->load_html($php); + $this->dompdf->render(); + $data['Attachment'] = FALSE; + $this->dompdf->stream("RevenuePOReport.pdf",$data,$php); + + } + public function servicepoprint($PONO) + { + + // $this->load->view('includes/pdfheader'); + + // Load the pdf page with multiviews + $data['CompanyDetails'] = $this->purchaseorder_model->getCompanyInformation(); + $data['POItem'] = $this->purchaseorder_model->GetServicePurchaseOrderDetailsForPrint($PONO); + + $this->load->View("servicepopdf", $data); + + // Add header to pdf + //$this->load->view('includes/pdffooter'); + + // Get output html + $php = $this->output->get_output(); + + // Load library + $this->load->library('dompdf_gen'); + + // Convert to PDF + $this->dompdf->load_html($php); + $this->dompdf->render(); + $data['Attachment'] = FALSE; + $this->dompdf->stream("ServicePOReport.pdf",$data,$php); + + } + /** + * This function used to load the Delete the Requistion Items + */ + function DeletePODetails() + { + + $ReqList= $this->input->post('id'); + $LineItemNo = ''; + $ReqNo =''; + $MaterialCode = ''; + $POType = ''; + if(count($ReqList) > 0) + { + $LineItemNo = $ReqList[0]; + $ReqNo = $ReqList[1]; + $MaterialCode = $ReqList[2]; + $POType = $ReqList[3]; + } + // print_r($ReqList); + + + If($POType == REVENUE) + { + $this->purchaseorder_model->DeletePORevenueTax($LineItemNo); + } + else If($POType == SERVICE) + { + $this->purchaseorder_model->DeletePOServiceTax($LineItemNo); + } + $this->purchaseorder_model->DeletePOLineItem($LineItemNo , $ReqNo,$MaterialCode); + echo "Successfully Deleted the Line item".$LineItemNo; + + } +} + +?> diff --git a/application/controllers/employeedetails.php b/application/controllers/employeedetails.php old mode 100644 new mode 100755 diff --git a/application/controllers/emppaydate.php b/application/controllers/emppaydate.php old mode 100644 new mode 100755 diff --git a/application/controllers/error.php b/application/controllers/error.php old mode 100644 new mode 100755 diff --git a/application/controllers/index.html b/application/controllers/index.html old mode 100644 new mode 100755 diff --git a/application/controllers/inwardgateregister.php b/application/controllers/inwardgateregister.php old mode 100644 new mode 100755 diff --git a/application/controllers/login.php b/application/controllers/login.php old mode 100644 new mode 100755 diff --git a/application/controllers/monthlypay.php b/application/controllers/monthlypay.php old mode 100644 new mode 100755 diff --git a/application/controllers/pages.php b/application/controllers/pages.php old mode 100644 new mode 100755 diff --git a/application/controllers/payslip.php b/application/controllers/payslip.php old mode 100644 new mode 100755 diff --git a/application/controllers/purchaseorder.php b/application/controllers/purchaseorder.php old mode 100644 new mode 100755 index d8f113ff..52606d70 --- a/application/controllers/purchaseorder.php +++ b/application/controllers/purchaseorder.php @@ -227,6 +227,11 @@ class purchaseorder extends BaseController $this ->importpoprint($PONO); } + else if($ReqType == CAPITAL) + { + $this ->CapitalPoPrint($PONO); + + } } function CreaterevenuePOPrint() @@ -374,6 +379,54 @@ class purchaseorder extends BaseController $this->global['pageTitle'] = 'Siddharth : Edit Import Purchase order form'; $this->loadViews("editimportpo", $this->global, $data, NULL); } + else if($ReqType == CAPITAL) + { + + + $AvlBudget = $this->purchaseorder_model->GetAvailableBudgetAmount($CostCode,$Year,$ReqType); + + + if(count($AvlBudget)>0) + { + $data['AvlBudAmt'] = $AvlBudget[0]['BudgetAmount'] - $AvlBudget[0]['Totalvalue']; + } + + $data['POItem'] = $this->purchaseorder_model->getCapitalPurchaseOrderDetails($PONO); + $data['requestedBy'] = $this->purchaseorder_model->GetRequesedByDetails($PONO); + + //print_r($data['POItem']); + + + + foreach($data['POItem'] as $Rate) + { + + + $exRate=$Rate->ExchangeRate; + + + } + + foreach($data['POItem'] as $CUR) + { + + + $Currency=$CUR->CurrencyType; + + + + } + + + $data['CurrencyDetail']=$this->purchaseorder_model->GetCurrencyDetail($Currency); + + $data['ExchangeRate']=$exRate; + + $data['Currency']=$this->purchaseorder_model->GetCurrencytype(); + + $this->global['pageTitle'] = 'Siddharth : Edit Capital Purchase order form'; + $this->loadViews("editCapitalPo", $this->global, $data, NULL); + } } @@ -1004,6 +1057,11 @@ public function importpoprint($PONO) { $this->purchaseorder_model->DeletePOImportTax($LineItemNo); } + else If($POType == CAPITAL) + { + $this->purchaseorder_model->DeletePOImportTax($LineItemNo); + $this->purchaseorder_model->DeletePOServiceTax($LineItemNo); + } $this->purchaseorder_model->DeletePOLineItem($LineItemNo , $ReqNo,$MaterialCode); echo "Successfully Deleted the Line item".$LineItemNo; @@ -1454,6 +1512,809 @@ $createddt=''; } } +/* Add capital Po*/ + function addNewCapitalPurchaseOrder() + { + + + $POdt =$this->input->post('PODate'); + $PODate = $this->getDateformat($POdt); + $SupplierID = $this->input->post('drpSupplier'); + $DeliveryAddr = $this->input->post('DeliveryAddr'); + $dt = $this->input->post('Deliverydt'); + + $POType = $this->input->post('POType'); + $PoRange = $this->input->post('txtPoRange'); + + $DeliveryOption = $this->input->post('DateRange'); + if($DeliveryOption==1){ + $Deliverydt = ''; + $DeliverySchedule = $this->input->post('Scheduleby'); + } + else{ + $Deliverydt = $this->getDateformat($dt); + $DeliverySchedule = ''; + } + + $ExchangeRateOn = $this->input->post('ExchangeRateOn'); + $PaymentMethod = $this->input->post('PaymentMethod'); + $PayableAT = $this->input->post('PayableAT'); + + + $PaymentDate=$this->input->post('PaymentDate'); + $SpcialInstruction = $this->input->post('txtSpcialInstruction'); + $TotalOrder = $this->input->post('CapitalToatlOrder'); + $POStatus = $this->input->post('txtStatus'); + + + $CreateBy = $this->session->userdata ( 'userId' ); + $RowCount = $this->input->post('txtRowCount'); + + $DeletedRow = $this->input->post('txtDeletedRow'); + + $comma_separated = explode(':', $DeletedRow); + + $dt = new DateTime('now', new DateTimeZone('Asia/Kolkata')); + $createddt = $dt->format('Y-m-d H:i:s'); + + + $POList = array('SupplierID'=>$SupplierID, 'TotalOrderValue'=>$TotalOrder,'PODate'=>$PODate,'Status'=>$POStatus,'PORange'=>$PoRange,'ExchangeRate'=>$ExchangeRateOn,'PaymentTerms'=>$PaymentMethod,'PaymentDays'=>$PaymentDate,'PayableAt'=>$PayableAT,'ServiceDescription'=>$SpcialInstruction,'CreatedBy'=>$CreateBy,'DeliveryAddress'=>$DeliveryAddr,'DeliveryDate'=>$Deliverydt,'CreatedDate'=>$createddt,'DeliverySchedule'=>$DeliverySchedule,'DeliveryOption'=>$DeliveryOption); + + + $POMaster = $this->purchaseorder_model->addPOMaster($POList); + + $PONO = ''; + if(count($POMaster)>0) + { + $PONO = $POMaster[0]['PONO']; + } + + $LineItemStatus = REQITEM_NEW; + + for ($i = 1; $i <= $RowCount; $i++) + { + + $MaterialCode = $this->input->post('materialCode'.$i); + $Quantity = $this->input->post('quantity'.$i); + $Reqnumber = $this->input->post('Reqnumber'.$i); + $itemRate = $this->input->post('itemRate'.$i); + + $Exchangerate = $this->input->post('echangeRate'.$i); + $BasicPriceinmton = $this->input->post('rateInUs'.$i); + $Productprice = $this->input->post('basicval'.$i); + $LandingCharge = $this->input->post('beforeLanding'.$i); + $AfterLandingCharge = $this->input->post('landingCharge'.$i); + $HighSeas = $this->input->post('beforeHighSeasSalesCharge'.$i); + $AfterHighSeas = $this->input->post('HighSeasSalesCharge'.$i); + + $CustomDuty = $this->input->post('beforeCustomDuty'.$i); + $AfterCustomDuty = $this->input->post('CustomDuty'.$i); + + $ExciseDuty = $this->input->post('beforeExciseDuty'.$i); + $AfterExciseDuty = $this->input->post('ExciseDuty'.$i); + $ExciseDutyEd = $this->input->post('beforeExciseDutyEDCess'.$i); + $AfterExciseDutyEd = $this->input->post('ExciseDutyEDCess'.$i); + + $ExciseDutySH = $this->input->post('beforeExciseDutySHCess'.$i); + $AfterExciseDutySH = $this->input->post('ExciseDutySHCess'.$i); + + $CustomEd= $this->input->post('beforeCustomEDCess'.$i); + $AfterCustomEd= $this->input->post('CustomEDCess'.$i); + + $CustomSH = $this->input->post('beforeCustomSHCess'.$i); + $AfterCustomSH = $this->input->post('CustomSHCess'.$i); + + $AddAdtional = $this->input->post('beforeAdditionalExciseDuty'.$i); + $AfterAddAdtional = $this->input->post('AdditionalExciseDuty'.$i); + + $Grossdutypayable = $this->input->post('GrossDutyPayable'.$i); + $AvailableModvat = $this->input->post('AvailableModvat'.$i); + $Grossexpensesduetocustomduty = $this->input->post('GrossExpensesDuetoCustom'.$i); + $purchaseratePerKG = $this->input->post('purchaseRate'.$i); + $CustomDutyExpensesPerKG = $this->input->post('CustomDutyExpenses'.$i); + $RMCIncludingCustomersPerKG = $this->input->post('RMCIncludingCustomers'.$i); + $QuantityKG = $this->input->post('PurQuantity'.$i); + + $currencytypeID = $this->input->post('currencytype'); + $Totalvalueitem=$this->input->post('PerKgExpense'.$i); + + //echo $BasicPriceinmton; + $CostCenter = $this->input->post('CPCostCode'.$i); + $ServiceTax = $this->input->post('AfterServiceTax'.$i); + $EduCess = $this->input->post('AfterEduCess'.$i); + $SecHighTax = $this->input->post('AfterSecHighTax'.$i); + $KrishiTax = $this->input->post('AfterKrishiTax'.$i); + $SwachhTax = $this->input->post('AfterSwachhTax'.$i); + + + $TotalOrderValue = $this->input->post('TotalOrderValue'.$i); + + $SkipInsert = "False"; + if( count($comma_separated) > 0) + { + for($j = 1; $j < count($comma_separated); $j++) + { + $deletedRow = $comma_separated[$j] ; + + if($deletedRow == $i ) + { + $SkipInsert = "True"; + break; + } + + } + } + if($SkipInsert == "False") + { + $POLineItemList = array('PONO'=>$PONO, 'ReqNo'=>$Reqnumber,'MaterialCode'=>$MaterialCode,'Quantity'=>$Quantity,'Rate'=>$itemRate,'Status'=>$LineItemStatus,'CreatedBy'=>$CreateBy,'CreatedDate'=>$createddt,'CostCenterCode'=>$CostCenter); + + $POLineItem = $this->purchaseorder_model->addPOLineItem($POLineItemList); + + $LineItemNo = ''; + if(count($POLineItem)>0) + { + $LineItemNo = $POLineItem[0]['LineItemNo']; + } + //echo $LineItemNo; + + if(trim($POType) == CAPITAL ) + { + $ServiceTaxList = array('LineItemNo'=>$LineItemNo, 'ServiceTax'=>$ServiceTax,'EducessTax'=>$EduCess,'SecHigherEducessTax'=>$SecHighTax,'KrishiKalyantax'=>$KrishiTax,'SwachhBharattax'=>$SwachhTax,'TotalValue'=>$TotalOrderValue, 'CreatedBy'=>$CreateBy,'CreatedDate'=>$createddt); + + $ServiceTax = $this->purchaseorder_model->addServiceTax($ServiceTaxList); + $ImportTaxList = array('LineItemNo'=>$LineItemNo, 'ExchangeRate'=>$Exchangerate,'BasicPriceInMTon'=>$BasicPriceinmton,'ProductPrice'=>$Productprice,'LandingCharge'=>$LandingCharge,'AfterLandingCharge'=>$AfterLandingCharge,'AfterHighSeasSalesCharge'=>$AfterHighSeas,'HighSeasSalesCharge'=>$HighSeas,'CustomDuty'=>$CustomDuty,'AfterCustomDuty'=>$AfterCustomDuty,'ExciseDuty'=>$ExciseDuty,'AfterExciseDuty'=>$AfterExciseDuty,'ExciseDutyEdCess'=>$ExciseDutyEd,'AfterExciseDutyEdCess'=>$AfterExciseDutyEd,'ExciseDutySHCess'=>$ExciseDutySH,'CustomEdCess'=>$CustomEd,'CustomSHCess'=>$CustomSH,'AddlExciseDuty'=>$AddAdtional,'CreatedBy'=>$CreateBy,'CreatedDate'=>$createddt,'AfterExciseDutySHCess'=>$AfterExciseDutySH,'AfterAddlExciseDuty'=>$AfterAddAdtional,'Grossdutypayable'=>$Grossdutypayable,'AvailableModvat'=>$AvailableModvat,'Grossexpensesduetocustomduty'=>$Grossexpensesduetocustomduty,'purchaseratePerKG'=>$purchaseratePerKG,'CustomDutyExpensesPerKG'=>$CustomDutyExpensesPerKG,'RMCIncludingCustomersPerKG'=>$RMCIncludingCustomersPerKG,'QuantityKG'=>$QuantityKG,'AfterCustomSHCess'=>$AfterCustomSH,'AfterCustomEdCess'=>$AfterCustomEd,'CurrencyType'=>$currencytypeID,'TotalValue'=>$Totalvalueitem); + //print_r($ImportTaxList); + //die(); + + + $ImportList = $this->purchaseorder_model->addImportTax($ImportTaxList); + + } + } + + } + echo 'Purchase Order Created Successfully! PO Number Is: '.$PONO ; + } + + +/*Edit Capital po*/ + function EditCapitalPurchaseOrder() + { + + + $PONO =$this->input->post('txtPONO'); + $POdt =$this->input->post('PODate'); + $PODate = $this->getDateformat($POdt); + $SupplierID = $this->input->post('drpSupplier'); + $DeliveryAddr = $this->input->post('DeliveryAddr'); + $dt = $this->input->post('Deliverydt'); + + $POType = $this->input->post('POType'); + $PoRange = $this->input->post('txtPoRange'); + + $DeliveryOption = $this->input->post('DateRange'); + if($DeliveryOption==1){ + $Deliverydt = ''; + $DeliverySchedule = $this->input->post('Scheduleby'); + } + else{ + $Deliverydt = $this->getDateformat($dt); + $DeliverySchedule = ''; + } + + $ExchangeRateOn = $this->input->post('ExchangeRateOn'); + $PaymentMethod = $this->input->post('PaymentMethod'); + $PayableAT = $this->input->post('PayableAT'); + + + $PaymentDate=$this->input->post('PaymentDate'); + $SpcialInstruction = $this->input->post('txtSpcialInstruction'); + $TotalOrder = $this->input->post('CapitalToatlOrder'); + $POStatus = $this->input->post('txtStatus'); + + + $CreateBy = $this->session->userdata ( 'userId' ); + $RowCount = $this->input->post('txtRowCount'); + + $DeletedRow = $this->input->post('txtDeletedRow'); + + $comma_separated = explode(':', $DeletedRow); + + $dt = new DateTime('now', new DateTimeZone('Asia/Kolkata')); + $createddt = $dt->format('Y-m-d H:i:s'); + $updateddt = $dt->format('Y-m-d H:i:s'); + + $POList = array('SupplierID'=>$SupplierID, 'TotalOrderValue'=>$TotalOrder,'PODate'=>$PODate,'Status'=>$POStatus,'PORange'=>$PoRange,'ExchangeRate'=>$ExchangeRateOn,'PaymentTerms'=>$PaymentMethod,'PaymentDays'=>$PaymentDate,'PayableAt'=>$PayableAT,'ServiceDescription'=>$SpcialInstruction,'CreatedBy'=>$CreateBy,'DeliveryAddress'=>$DeliveryAddr,'DeliveryDate'=>$Deliverydt,'CreatedDate'=>$createddt,'DeliverySchedule'=>$DeliverySchedule,'DeliveryOption'=>$DeliveryOption); + + + $POMaster = $this->purchaseorder_model->updatePOMaster($PONO,$POList); + + $LineItemStatus = REQITEM_NEW; + + + + + for ($i = 1; $i <= $RowCount; $i++) + { + + $MaterialCode = $this->input->post('materialCode'.$i); + $Quantity = $this->input->post('quantity'.$i); + $Reqnumber = $this->input->post('Reqnumber'.$i); + $itemRate = $this->input->post('itemRate'.$i); + + $Exchangerate = $this->input->post('echangeRate'.$i); + $BasicPriceinmton = $this->input->post('rateInUs'.$i); + $Productprice = $this->input->post('basicval'.$i); + $LandingCharge = $this->input->post('beforeLanding'.$i); + $AfterLandingCharge = $this->input->post('landingCharge'.$i); + $HighSeas = $this->input->post('beforeHighSeasSalesCharge'.$i); + $AfterHighSeas = $this->input->post('HighSeasSalesCharge'.$i); + + $CustomDuty = $this->input->post('beforeCustomDuty'.$i); + $AfterCustomDuty = $this->input->post('CustomDuty'.$i); + + $ExciseDuty = $this->input->post('beforeExciseDuty'.$i); + $AfterExciseDuty = $this->input->post('ExciseDuty'.$i); + $ExciseDutyEd = $this->input->post('beforeExciseDutyEDCess'.$i); + $AfterExciseDutyEd = $this->input->post('ExciseDutyEDCess'.$i); + + $ExciseDutySH = $this->input->post('beforeExciseDutySHCess'.$i); + $AfterExciseDutySH = $this->input->post('ExciseDutySHCess'.$i); + + $CustomEd= $this->input->post('beforeCustomEDCess'.$i); + $AfterCustomEd= $this->input->post('CustomEDCess'.$i); + + $CustomSH = $this->input->post('beforeCustomSHCess'.$i); + $AfterCustomSH = $this->input->post('CustomSHCess'.$i); + + $AddAdtional = $this->input->post('beforeAdditionalExciseDuty'.$i); + $AfterAddAdtional = $this->input->post('AdditionalExciseDuty'.$i); + + $Grossdutypayable = $this->input->post('GrossDutyPayable'.$i); + $AvailableModvat = $this->input->post('AvailableModvat'.$i); + $Grossexpensesduetocustomduty = $this->input->post('GrossExpensesDuetoCustom'.$i); + $purchaseratePerKG = $this->input->post('purchaseRate'.$i); + $CustomDutyExpensesPerKG = $this->input->post('CustomDutyExpenses'.$i); + $RMCIncludingCustomersPerKG = $this->input->post('RMCIncludingCustomers'.$i); + $QuantityKG = $this->input->post('PurQuantity'.$i); + + $currencytypeID = $this->input->post('currencytype'); + $Totalvalueitem=$this->input->post('PerKgExpense'.$i); + + //echo $BasicPriceinmton; + $CostCenter = $this->input->post('CPCostCode'.$i); + $ServiceTax = $this->input->post('AfterServiceTax'.$i); + $EduCess = $this->input->post('AfterEduCess'.$i); + $SecHighTax = $this->input->post('AfterSecHighTax'.$i); + $KrishiTax = $this->input->post('AfterKrishiTax'.$i); + $SwachhTax = $this->input->post('AfterSwachhTax'.$i); + + + $TotalOrderValue = $this->input->post('TotalOrderValue'.$i); + $POLineItemNo = $this->input->post('LineItemNo'.$i); + + $SkipInsert = "False"; + if( count($comma_separated) > 0) + { + for($j = 1; $j < count($comma_separated); $j++) + { + $deletedRow = $comma_separated[$j] ; + + if($deletedRow == $i) + { + $SkipInsert = "True"; + break; + } + + } + } + if($SkipInsert == "False") + { + if(strlen($POLineItemNo) == 0) + { + $POLineItemList = array('PONO'=>$PONO, 'ReqNo'=>$Reqnumber,'MaterialCode'=>$MaterialCode,'Quantity'=>$Quantity,'Rate'=>$itemRate,'Status'=>$LineItemStatus,'CreatedBy'=>$CreateBy,'CreatedDate'=>$createddt,'CostCenterCode'=>$CostCenter); + + $POLineItem = $this->purchaseorder_model->addPOLineItem($POLineItemList); + + $LineItemNo = ''; + if(count($POLineItem)>0) + { + $LineItemNo = $POLineItem[0]['LineItemNo']; + } + //echo $LineItemNo; + + if(trim($POType) == CAPITAL ) + { + $ServiceTaxList = array('LineItemNo'=>$LineItemNo, 'ServiceTax'=>$ServiceTax,'EducessTax'=>$EduCess,'SecHigherEducessTax'=>$SecHighTax,'KrishiKalyantax'=>$KrishiTax,'SwachhBharattax'=>$SwachhTax,'TotalValue'=>$TotalOrderValue, 'CreatedBy'=>$CreateBy,'CreatedDate'=>$createddt); + + $ServiceTax = $this->purchaseorder_model->addServiceTax($ServiceTaxList); + $ImportTaxList = array('LineItemNo'=>$LineItemNo, 'ExchangeRate'=>$Exchangerate,'BasicPriceInMTon'=>$BasicPriceinmton,'ProductPrice'=>$Productprice,'LandingCharge'=>$LandingCharge,'AfterLandingCharge'=>$AfterLandingCharge,'AfterHighSeasSalesCharge'=>$AfterHighSeas,'HighSeasSalesCharge'=>$HighSeas,'CustomDuty'=>$CustomDuty,'AfterCustomDuty'=>$AfterCustomDuty,'ExciseDuty'=>$ExciseDuty,'AfterExciseDuty'=>$AfterExciseDuty,'ExciseDutyEdCess'=>$ExciseDutyEd,'AfterExciseDutyEdCess'=>$AfterExciseDutyEd,'ExciseDutySHCess'=>$ExciseDutySH,'CustomEdCess'=>$CustomEd,'CustomSHCess'=>$CustomSH,'AddlExciseDuty'=>$AddAdtional,'CreatedBy'=>$CreateBy,'CreatedDate'=>$createddt,'AfterExciseDutySHCess'=>$AfterExciseDutySH,'AfterAddlExciseDuty'=>$AfterAddAdtional,'Grossdutypayable'=>$Grossdutypayable,'AvailableModvat'=>$AvailableModvat,'Grossexpensesduetocustomduty'=>$Grossexpensesduetocustomduty,'purchaseratePerKG'=>$purchaseratePerKG,'CustomDutyExpensesPerKG'=>$CustomDutyExpensesPerKG,'RMCIncludingCustomersPerKG'=>$RMCIncludingCustomersPerKG,'QuantityKG'=>$QuantityKG,'AfterCustomSHCess'=>$AfterCustomSH,'AfterCustomEdCess'=>$AfterCustomEd,'CurrencyType'=>$currencytypeID,'TotalValue'=>$Totalvalueitem); + //print_r($ImportTaxList); + //die(); + + + $ImportList = $this->purchaseorder_model->addImportTax($ImportTaxList); + + } + + } + else + { + $LineItemNo = $POLineItemNo; + + + + $POLineItemList = array('PONO'=>$PONO, 'ReqNo'=>$Reqnumber,'MaterialCode'=>$MaterialCode,'Quantity'=>$Quantity,'Rate'=>$itemRate,'Status'=>$LineItemStatus,'CreatedBy'=>$CreateBy,'CreatedDate'=>$createddt,'CostCenterCode'=>$CostCenter); + $POLineItem = $this->purchaseorder_model->updatePOLineItem($PONO,$LineItemNo,$POLineItemList); + + $ServiceTaxList = array('ServiceTax'=>$ServiceTax,'EducessTax'=>$EduCess,'SecHigherEducessTax'=>$SecHighTax,'KrishiKalyantax'=>$KrishiTax,'SwachhBharattax'=>$SwachhTax,'TotalValue'=>$TotalOrderValue, 'UpdateBY'=>$updatedBy,'UpdatedOn'=>$updateddt); + + $ServiceTax = $this->purchaseorder_model->updateServiceTax($LineItemNo,$ServiceTaxList); + $ImportTaxList = array('LineItemNo'=>$LineItemNo, 'ExchangeRate'=>$Exchangerate,'BasicPriceInMTon'=>$BasicPriceinmton,'ProductPrice'=>$Productprice,'LandingCharge'=>$LandingCharge,'AfterLandingCharge'=>$AfterLandingCharge,'AfterHighSeasSalesCharge'=>$AfterHighSeas,'HighSeasSalesCharge'=>$HighSeas,'CustomDuty'=>$CustomDuty,'AfterCustomDuty'=>$AfterCustomDuty,'ExciseDuty'=>$ExciseDuty,'AfterExciseDuty'=>$AfterExciseDuty,'ExciseDutyEdCess'=>$ExciseDutyEd,'AfterExciseDutyEdCess'=>$AfterExciseDutyEd,'ExciseDutySHCess'=>$ExciseDutySH,'CustomEdCess'=>$CustomEd,'CustomSHCess'=>$CustomSH,'AddlExciseDuty'=>$AddAdtional,'CreatedBy'=>$CreateBy,'CreatedDate'=>$createddt,'AfterExciseDutySHCess'=>$AfterExciseDutySH,'AfterAddlExciseDuty'=>$AfterAddAdtional,'Grossdutypayable'=>$Grossdutypayable,'AvailableModvat'=>$AvailableModvat,'Grossexpensesduetocustomduty'=>$Grossexpensesduetocustomduty,'purchaseratePerKG'=>$purchaseratePerKG,'CustomDutyExpensesPerKG'=>$CustomDutyExpensesPerKG,'RMCIncludingCustomersPerKG'=>$RMCIncludingCustomersPerKG,'QuantityKG'=>$QuantityKG,'AfterCustomSHCess'=>$AfterCustomSH,'AfterCustomEdCess'=>$AfterCustomEd,'CurrencyType'=>$currencytypeID,'TotalValue'=>$Totalvalueitem); + $ImportList= $this->purchaseorder_model->updateImportTax($LineItemNo,$ImportTaxList); + + } + + } + + } + + echo 'Purchase Order Updated Successfully! PO Number Is: '.$PONO ; + } + + /* capital po print/pdf*/ + + public function CapitalPoPrint($PONO) + { + + + // Load the pdf page with multiviews + $data['CompanyDetails'] = $this->purchaseorder_model->getCompanyInformation(); + $data['CompanyDetails'] = $this->purchaseorder_model->getCompanyInformation(); + $data['POItem'] = $this->purchaseorder_model->GetCapitalPurchaseOrderDetailsForPDF($PONO); + + $totalAmt = $data['POItem'][0]->TotalOrderValue." "."Only"; + $data['requestedBy'] = $this->purchaseorder_model->GetRequesedByDetails($PONO); + + $data['TotalAmountInWords']=$this->convertNumber($totalAmt); + + + $this->load->View("capitalpopdf", $data); + + // Add header to pdf + //$this->load->view('includes/pdffooter'); + + // Get output html + $php = $this->output->get_output(); + + // Load library + $this->load->library('dompdf_gen'); + + // Convert to PDF + $this->dompdf->load_html($php); + $this->dompdf->render(); + $data['Attachment'] = FALSE; + $this->dompdf->stream("CapitalPOReport.pdf",$data,$php); + +} + + /*This function is used to convert amount(digit) into words*/ + + public function convertNumber($number) + +{ + + list($integer, $fraction) = explode(".", (string) $number); + + $output = "Rupee"." "; + + if ($integer{0} == "-") + + { + + $output = "negative "; + + $integer = ltrim($integer, "-"); + + } + + else if ($integer{0} == "+") + + { + + $output = "positive "; + + $integer = ltrim($integer, "+"); + + } + + if ($integer{0} == "0") + + { + + $output .= "zero"; + + } + + else + + { + + $integer = str_pad($integer, 36, "0", STR_PAD_LEFT); + + $group = rtrim(chunk_split($integer, 3, " "), " "); + + $groups = explode(" ", $group); + + $groups2 = array(); + + foreach ($groups as $g) + + { + + $groups2[] = $this->convertThreeDigit($g{0}, $g{1}, $g{2}); + + } + + for ($z = 0; $z < count($groups2); $z++) + + { + + if ($groups2[$z] != "") + + { + + $output .= $groups2[$z] . $this->convertGroup(11 - $z) . ( + + $z < 11 + + && !array_search('', array_slice($groups2, $z + 1, -1)) + + && $groups2[11] != '' + + && $groups[11]{0} == '0' + + ? " " + + : ", " + + ); + + } + + } + + $output = rtrim($output, ", "); + + } + + if ($fraction > 0) + + { + + $output .= " paise"; + + for ($i = 0; $i < strlen($fraction); $i++) + + { + + $output .= " " . $this->convertDigit($fraction{$i}); + + } + + } + + return $output; + +} + +public function convertGroup($index) + +{ + + switch ($index) + + { + + case 11: + + return " decillion"; + + case 10: + + return " nonillion"; + + case 9: + + return " octillion"; + + case 8: + + return " septillion"; + + case 7: + + return " sextillion"; + + case 6: + + return " quintrillion"; + + case 5: + + return " quadrillion"; + + case 4: + + return " trillion"; + + case 3: + + return " billion"; + + case 2: + + return " million"; + + case 1: + + return " thousand"; + + case 0: + + return ""; + + } + +} + +public function convertThreeDigit($digit1, $digit2, $digit3) + +{ + + $buffer = ""; + + if ($digit1 == "0" && $digit2 == "0" && $digit3 == "0") + + { + + return ""; + + } + + if ($digit1 != "0") + + { + + $buffer .= $this->convertDigit($digit1) . " hundred"; + + if ($digit2 != "0" || $digit3 != "0") + + { + + $buffer .= " and "; + + } + + } + + if ($digit2 != "0") + + { + + $buffer .= $this->convertTwoDigit($digit2, $digit3); + + } + + else if ($digit3 != "0") + + { + + $buffer .= $this->convertDigit($digit3); + + } + + return $buffer; + +} + +public function convertTwoDigit($digit1, $digit2) + +{ + + if ($digit2 == "0") + + { + + switch ($digit1) + + { + + case "1": + + return "ten"; + + case "2": + + return "twenty"; + + case "3": + + return "thirty"; + + case "4": + + return "forty"; + + case "5": + + return "fifty"; + + case "6": + + return "sixty"; + + case "7": + + return "seventy"; + + case "8": + + return "eighty"; + + case "9": + + return "ninety"; + + } + + } else if ($digit1 == "1") + + { + + switch ($digit2) + + { + + case "1": + + return "eleven"; + + case "2": + + return "twelve"; + + case "3": + + return "thirteen"; + + case "4": + + return "fourteen"; + + case "5": + + return "fifteen"; + + case "6": + + return "sixteen"; + + case "7": + + return "seventeen"; + + case "8": + + return "eighteen"; + + case "9": + + return "nineteen"; + + } + + } else + + { + + $temp = $this->convertDigit($digit2); + + switch ($digit1) + + { + + case "2": + + return "twenty-$temp"; + + case "3": + + return "thirty-$temp"; + + case "4": + + return "forty-$temp"; + + case "5": + + return "fifty-$temp"; + + case "6": + + return "sixty-$temp"; + + case "7": + + return "seventy-$temp"; + + case "8": + + return "eighty-$temp"; + + case "9": + + return "ninety-$temp"; + + } + + } + +} + +public function convertDigit($digit) + +{ + + switch ($digit) + + { + + case "0": + + return "zero"; + + case "1": + + return "one"; + + case "2": + + return "two"; + + case "3": + + return "three"; + + case "4": + + return "four"; + + case "5": + + return "five"; + + case "6": + + return "six"; + + case "7": + + return "seven"; + + case "8": + + return "eight"; + + case "9": + + return "nine"; + + } + +} + + } diff --git a/application/controllers/purchaseorder.php~ b/application/controllers/purchaseorder.php~ new file mode 100755 index 00000000..52606d70 --- /dev/null +++ b/application/controllers/purchaseorder.php~ @@ -0,0 +1,2321 @@ +load->model('purchaseorder_model'); + + $this->load->library('session'); + $this->load->library('form_validation'); + $this->load->model('requistion_model'); + $this->isLoggedIn(); + } + + /** + * This function used to load the first screen of the user + */ + public function index() + { + $this->global['pageTitle'] = 'Siddharth : AddPO'; + + $this->loadViews("addPO", $this->global, NULL , NULL); + } + function viewfullpurchaseorder() + { + $this->global['pageTitle'] = 'Siddharth : View Purchase Order'; + + $this->loadViews("viewfullpurchaseorder", $this->global,Null); + + } + + function requisition() + { + $data['DeptList'] = $this->purchaseorder_model->getDepartmentListForAllReq(); + + $data['stList'] = $this->purchaseorder_model->getStatusListforAllReq(); + /* Cost code from Requisition - Client Review Fix + Start here */ + // $data['ReqList'] = $this->purchaseorder_model->getRequistionListbySearch(); + + $data['ReqList'] = $this->purchaseorder_model->getAllRequistionListToCreatePO(); + /* End Here */ + $this->global['pageTitle'] = 'Siddharth : Create PO from Requisition List'; + + $this->loadViews("createPOfromRequistion", $this->global, $data,Null); + } + + + /** + * This function is used to load the purchaseorder list + */ + function PurchaseOrderList() + { + + $this->load->library('pagination'); + + // $count = $this->purchaseorder_model->purchaseorderListingCount(''); + + //$returns = $this->paginationCompress ( "purchaseorderListing/", $count, 10 ); + + $this->purchaseorder_model->UpdateRequistionStatus(); + + $data['POData'] = $this->purchaseorder_model->purchaseorderListing(); + + $this->global['pageTitle'] = 'Siddharth : Purchase Orders'; + + $this->loadViews("POlist", $this->global, $data, NULL); + + } + function Req_validate($selectValue) +{ + //echo 'select_validate method called'; + // 'none' is the first option and the text says something like "-Choose one-" + if(strlen($selectValue) == 0) + { + $this->form_validation->set_message('Req_validate', 'Please Select Requisition Number to Create PO.'); + return false; + } + else // user picked something + { + return true; + } +} + + /** + * This function used to show the Purchase Order Screen + */ + function CreatePurchaseOrder() + { + + $this->form_validation->set_rules('txtReqNo', 'txtReqNo', 'callback_Req_validate'); + + if($this->form_validation->run() == FALSE) + { + $this->requisition(); + + } + else + { + + $this->global['pageTitle'] = 'Siddharth : Purchase order' ; + $data['TaxType'] = $this->purchaseorder_model->getConfigValue('C006'); + $data['FreightType'] = $this->purchaseorder_model->getConfigValue('C018'); + $data['Suplist'] = $this->purchaseorder_model->getSupplierName(); + $data['Payment']=$this->purchaseorder_model->getSupplierPayment(); + $data['WorkStatus']=$this->purchaseorder_model->GetWorkStatus('C019'); + + + foreach ($data['WorkStatus'] as $WST) + { + + $WStatus=$WST->ConfigValue; + //print_r($WStatus); + + } + + + //print_r($data['WorkStatus']); + // foreach ($data['Suplist'] as $SUP) + // { + // $Detail=$SUP->PaymentTerms; + // } + + //print_r($data['Payment']); + //print_r($data['Suplist']); + $SelectedReq = json_decode($this->input->post('txtReqNo')); + + $Req = $SelectedReq->Req; + $data['ReqList'] = $Req ; + $ReqArray = array(); + $ReqType = ''; + $result = array(); + + foreach ($Req as $SID): + $ReqArray[] = $SID->ReqNo ; + $result[] = $this->purchaseorder_model->getRawPOMaterialList($SID->ReqNo); + $ReqType = $SID->ReqType; + + endforeach; + + + $data['MaterialList'] = $result; + //print_r($data['MaterialList']); + /* Cost code from Requisition - Client Review Fix + Start here */ + $ReqDetails = $this->purchaseorder_model->getRequistDetails($ReqArray); + $data['RequistionDetails'] = $ReqDetails; + $CostCode = ''; + $dt = new DateTime('now', new DateTimeZone('Asia/Kolkata')); + + $Year = $dt->format('Y'); + + foreach ($ReqDetails as $Rs): + $CostCode = $Rs->CostCenterCode; + endforeach; + + $AvlBudget = $this->purchaseorder_model->GetAvailableBudgetAmount($CostCode,$Year,$ReqType); + + + if(count($AvlBudget)>0) + { + $data['AvlBudAmt'] = $AvlBudget[0]['BudgetAmount'] - $AvlBudget[0]['Totalvalue']; + } + /* End Here */ + + $data['CompanyDetails'] = $this->purchaseorder_model->getCompanyInformation(); + // $data['MaxPODate'] = $this->purchaseorder_model->getLastCreatedPODate(); + $data['MaxPODate'] = $this->purchaseorder_model->getLastReleasedPODate(); + $data['Currency']=$this->purchaseorder_model->GetCurrencytype(); + //print_r($data['Currency']); + + + // $data[$Rate->ExchangeRate]=$Rate->ExchangeRate; + //$data['CurrencyDetail']=$this->purchaseorder_model->GetCurrencyDetail($Currency); + + $ViewName = ''; + if($ReqType == REVENUE) + { + $ViewName = 'purchaseorder'; + } + else if($ReqType == SERVICE) + { + $ViewName = 'servicePurchaseorder'; + } + else if($ReqType == IMPORT) + { + $ViewName = 'importpo'; + } + else if($ReqType == CAPITAL) + { + $ViewName = 'capitalpurchaseorder'; + } + $this->loadViews($ViewName, $this->global,$data, NULL); + } + } + function CreatePOPrint() + { + $PONO = $_GET['PONO']; + $ReqType = $_GET['ReqType']; + + if($ReqType == SERVICE) + { + $this ->servicepoprint($PONO); + + } + else if($ReqType == REVENUE) + { + $this ->revenuepoprint($PONO); + + } + + else if($ReqType == IMPORT) + { + $this ->importpoprint($PONO); + + } + else if($ReqType == CAPITAL) + { + $this ->CapitalPoPrint($PONO); + + } + } + + function CreaterevenuePOPrint() + { + $this->load->View("revenuepopdf", NULL); + } + function CreateservicePOPrint() + { + $this->load->View("servicepopdf", NULL); + } + function CreateimportPOPrint() + { + $this->load->View("importpopdf", NULL); + } + function CreatecapitalPOPrint() + { + $this->load->View("capitalpopdf", NULL); + } + //To View/Update Purchase Order + function EditPurchaseOrder() + { + $PONO = $_GET['PONO']; + $ReqType = $_GET['ReqType']; + + $Req = $this->purchaseorder_model->getRequistionNoFromPO($PONO); + $data['ReqList'] = $Req ; + $result = array(); + $ReqArray = array(); + foreach ($Req as $SID): + $ReqArray[] = $SID->ReqNo ; + $result[] = $this->purchaseorder_model->getRawPOMaterialList($SID->ReqNo); + endforeach; + $data['MaterialList'] = $result;//$this->purchaseorder_model->getRawMaterialList($ReqType,$ReqArray); + $data['Suplist'] = $this->purchaseorder_model->getSupplierName(); + $data['Payment']=$this->purchaseorder_model->getSupplierPayment(); + /* Cost code from Requisition - Client Review Fix + Start here */ + $ReqDetails = $this->purchaseorder_model->getRequistDetails($ReqArray); + $data['RequistionDetails'] = $ReqDetails; + foreach ($data['RequistionDetails'] as $ReqDet) + { + + $Status=$ReqDet->Status; + } + + //print_r($Status); + $data['POSTATUS']=$this->purchaseorder_model->GetPOStatus($Status); + //print_r($data['POSTATUS']); + + foreach ($data['POSTATUS'] as $POST) + { + $Status=$POST->StatusName; + } + + //print_r($Status); + $CostCode = ''; + $dt = new DateTime('now', new DateTimeZone('Asia/Kolkata')); + + $Year = $dt->format('Y'); + + foreach ($ReqDetails as $Rs): + $CostCode = $Rs->CostCenterCode; + endforeach; + + $AvlBudget = $this->purchaseorder_model->GetAvailableBudgetAmount($CostCode,$Year,$ReqType); + + + if(count($AvlBudget)>0) + { + $data['AvlBudAmt'] = $AvlBudget[0]['BudgetAmount'] - $AvlBudget[0]['Totalvalue']; + } + /* End Here */ + + $data['POMaster'] = $this->purchaseorder_model->GetServicePurchaseOrder($PONO); + + //$data['POSTATUS']=$this->purchaseorder_model->GetServicePurchaseOrder($PONO); + //print_r($data['POMaster']); + foreach ($data['POMaster'] as $Exc) + { + $exRate=$Exc->ExchangeRate; + } + + foreach ($data['POMaster'] as $TER) + { + $PAYTERM=$TER->PaymentTerms; + } + //print_r($PAYTERM); + //print_r($exRate); + //$data['MaxPODate'] = $this->purchaseorder_model->getLastCreatedPODate(); + $data['MaxPODate'] = $this->purchaseorder_model->getLastReleasedPODate(); + $data['TaxType'] = $this->purchaseorder_model->getConfigValue('C006'); + $data['FreightType'] = $this->purchaseorder_model->getConfigValue('C018'); + if($ReqType == SERVICE) + { + + $data['POItem'] = $this->purchaseorder_model->GetServicePurchaseOrderDetails($PONO); + $data['PaymentTerms']=$this->purchaseorder_model->GetPaymentTerms($PONO); + $data['WorkStatus']=$this->purchaseorder_model->GetWorkStatus('C019'); + $this->global['pageTitle'] = 'Siddharth : Edit Service Purchase order form'; + $this->loadViews("EditservicePurchaseorder", $this->global, $data, NULL); + } + else if($ReqType == REVENUE) + { + + $data['POItem'] = $this->purchaseorder_model->GetRevenuePurchaseOrderDetails($PONO); + $data['PaymentTerms']=$this->purchaseorder_model->GetPaymentTerms($PONO); + //$data['WorkStatus']=$this->purchaseorder_model->GetWorkStatus('C019'); + $this->global['pageTitle'] = 'Siddharth : Edit Revenue Purchase order form'; + $this->loadViews("editRevenuepurchaseorder", $this->global, $data, NULL); + } + + else if($ReqType == IMPORT) + { + + + $AvlBudget = $this->purchaseorder_model->GetAvailableBudgetAmount($CostCode,$Year,$ReqType); + + + if(count($AvlBudget)>0) + { + $data['AvlBudAmt'] = $AvlBudget[0]['BudgetAmount'] - $AvlBudget[0]['Totalvalue']; + } + // print_r($data); + $data['POItem'] = $this->purchaseorder_model->GetImportPurchaseOrderDetails($PONO); + $data['Currency']=$this->purchaseorder_model->GetCurrencytype(); + + + foreach($data['POMaster'] as $CUR) + { + + //print_r($CUR->CurrencyType); + $Currency=$CUR->CurrencyType; + + } + // $data[$Rate->ExchangeRate]=$Rate->ExchangeRate; + $data['CurrencyDetail']=$this->purchaseorder_model->GetCurrencyDetail($Currency); + $data['PaymentTerms']=$this->purchaseorder_model->GetPaymentTerms($PONO); + //print_r($data['PaymentTerms']); + foreach ($data['CurrencyDetail'] as $Detail) + { + $unicode=$Detail->FontCode2000; + } + //print_r($unicode); + $data['unicode']=$unicode; + $this->global['pageTitle'] = 'Siddharth : Edit Import Purchase order form'; + $this->loadViews("editimportpo", $this->global, $data, NULL); + } + else if($ReqType == CAPITAL) + { + + + $AvlBudget = $this->purchaseorder_model->GetAvailableBudgetAmount($CostCode,$Year,$ReqType); + + + if(count($AvlBudget)>0) + { + $data['AvlBudAmt'] = $AvlBudget[0]['BudgetAmount'] - $AvlBudget[0]['Totalvalue']; + } + + $data['POItem'] = $this->purchaseorder_model->getCapitalPurchaseOrderDetails($PONO); + $data['requestedBy'] = $this->purchaseorder_model->GetRequesedByDetails($PONO); + + //print_r($data['POItem']); + + + + foreach($data['POItem'] as $Rate) + { + + + $exRate=$Rate->ExchangeRate; + + + } + + foreach($data['POItem'] as $CUR) + { + + + $Currency=$CUR->CurrencyType; + + + + } + + + $data['CurrencyDetail']=$this->purchaseorder_model->GetCurrencyDetail($Currency); + + $data['ExchangeRate']=$exRate; + + $data['Currency']=$this->purchaseorder_model->GetCurrencytype(); + + $this->global['pageTitle'] = 'Siddharth : Edit Capital Purchase order form'; + $this->loadViews("editCapitalPo", $this->global, $data, NULL); + } + + } + + // To get the Material value based on the MaterialCode + function getDetailsforReq() + { + + + $SearchFilter= $this->input->post('id'); + // $reqDate= $this->input->post('ReqDate'); + $DeptCode = $SearchFilter[0]; + $MatType = $SearchFilter[1]; + $ReqNo = $SearchFilter[2]; + // $ReqDetai = $this->purchaseorder_model->getRequistDetails( $EmpID ); + + $CostList = $this->requistion_model->GetCostCenterByDept( $DeptCode); + + $HTML = ""; + $BudAmount = ""; + if(count($CostList) > 0) + { + for ($j = 0; $j < count($CostList); $j++) + { + $Code = $CostList[$j]['CostCenterCode']; + $Name = $CostList[$j]['CostCenterName']; + $HTML .=""; + } + } + $MaterialDetails = $this->purchaseorder_model->getRawMaterialListForPO($MatType,$ReqNo); + + $HTML1 = ""; + + if(count($MaterialDetails) > 0) + { + for ($j = 0; $j < count($MaterialDetails); $j++) + { + $Code = $MaterialDetails[$j]['MaterialCode']; + $Name = $MaterialDetails[$j]['MaterialName']; + $HTML1 .=""; + + } + + } + // print_r($HTML1); + + die(json_encode(array('MatDetail' =>$HTML1,'Cost'=> $HTML))); + } + /* This method to get the status based on the Department selection in th + */ + function getStatusByDepartment() + { + $DepId = $this->input->post('id'); + + $data = $this->purchaseorder_model->getStatusByDepartment($DepId); + + $HTML = ""; + if(count($data) > 0) + { + for ($j = 0; $j < count($data); $j++) + { + $Code = $data[$j]['StatusCode']; + $Name = $data[$j]['StatusName']; + $HTML .=""; + } + } + //echo $HTML; + die(json_encode(array('depStaus' => $HTML))); + } + + // To get the available Budget Amount + function AvilBudgetAmount() + { + $SearchFilter= $this->input->post('id'); + // $reqDate= $this->input->post('ReqDate'); + $CostCode = $SearchFilter[0]; + $ReqType = $SearchFilter[1]; + print_r($SearchFilter); + $CostCode= $this->input->post('id'); + $dt = new DateTime('now', new DateTimeZone('Asia/Kolkata')); + + $Year = $dt->format('Y'); + $this->load->model('purchaseorder_model'); + $result = $this->purchaseorder_model->GetAvailableBudgetAmount($CostCode,$Year,$ReqType); + //print_r($result); + $AvilBudAmt = ''; + if(count($result)>0) + { + $AvilBudAmt = $result[0]['BudgetAmount'] - $result[0]['Totalvalue']; + } + + print_r($AvilBudAmt); + + } + + + function getDateformat($Val) + { + $date = new DateTime($Val,new DateTimeZone('Asia/Kolkata')); + $retDate = $date->format('Y-m-d H:i:s'); + return $retDate; + } + /* Method to get the Requistion list based on the search filter*/ + + function SearchListofRequistion() + { + $SearchFilter= $this->input->post('id'); + + $DEPCode = $SearchFilter[0]; + $Status = $SearchFilter[1]; + $rng = $SearchFilter[2];; + + $FromDate =''; + $ToDate = ''; + + $Dt = explode("-",$rng); + + if(count( $Dt)>1) + { + $FDate = $Dt[0]; + $TDate = $Dt[1]; + $FromDate = $this->getDateformat($FDate); + $ToDate = $this->getDateformat($TDate); + } + + $result = $this->purchaseorder_model->getRequistionListbySearch($DEPCode,$Status,$FromDate,$ToDate); + + + $HTML=""; + for ($i = 0; $i < count($result); $i++) + { + $SNo = $i + 1; + $ReqNo = $result[$i]['ReqNo']; + $ReqType = $result[$i]['ReqType']; + $Reqedby = $result[$i]['FirstName']; + $ReqDate = $result[$i]['ReqDate']; + $Status = $result[$i]['StatusName']; + $Department = $result[$i]['DepartmentName']; + $Designation = $result[$i]['Designation']; + + $HTML.=" + + ". $ReqNo." + + ".$ReqType." + + ".$Reqedby." + ".$ReqDate." + ".$Status." + ".$Department." + ".$Designation." + "; + } + die(json_encode(array('ReqList' =>$HTML))); + } + + + /* To View the request details*/ + function ListPORequistion() + { + $ReqNo= $this->input->post('id'); + $result = $this->requistion_model->getRequistItemList($ReqNo); + $ReqList = $this->requistion_model->getRequistDetails($ReqNo); + $DepNo = $ReqList[0]['DEPCode']; + $CostList = $this->requistion_model->GetCostCenterByDept($DepNo); + $HTML=""; + for ($i = 0; $i < count($result); $i++) + { + $SNo = $i + 1; + $MaterialCode = $result[$i]['MaterialCode']; + $MaterialName = $result[$i]['MaterialName']; + $UOM = $result[$i]['UOM']; + $Quantity = $result[$i]['Quantity']; + $HTML.=" + ".$SNo." + ". $MaterialCode." + + ".$MaterialName." + + ".$UOM." + ".$Quantity." + "; + + //$index = $index + 1; + + } + + $CostCenter = ""; + if(count($CostList) > 0) + { + for ($j = 0; $j < count($CostList); $j++) + { + $Code = $CostList[$j]['CostCenterCode']; + $Name = $CostList[$j]['CostCenterName']; + $CostCenter .=""; + } + } + + die(json_encode(array('Items' =>$HTML,'Requist'=>$ReqList,'Cost'=>$CostCenter))); + } + + //This used to Create Revenue Purchase Order + function addNewPurchaseOrder() + { + $POdt =$this->input->post('PODate'); + $PODate = $this->getDateformat($POdt); + $SupplierID = $this->input->post('drpSupplier'); + $DeliveryAddr = $this->input->post('DeliveryAddr'); + $dt = $this->input->post('Deliverydt'); + //$Deliverydt = $this->getDateformat($dt); +$DeliveryOption = $this->input->post('DateRange'); + if($DeliveryOption==1){ + $Deliverydt = ''; + $DeliverySchedule = $this->input->post('Scheduleby'); + } + else{ + $Deliverydt = $this->getDateformat($dt); + $DeliverySchedule = ''; + } + + + + $PaymentDate=$this->input->post('Payment'); + if($PaymentDate==1) + { + $PaymentDays='After'; + } + else + { + $PaymentDays='Before'; + } + + $POType = $this->input->post('POType'); + $PoRange = $this->input->post('txtPoRange'); + + $SpcialInstruction = $this->input->post('txtSpcialInstruction'); + $TotalOrderValueSummary = $this->input->post('txtTotalOrderValueSummary'); + $POStatus = $this->input->post('txtStatus'); + + $CreateBy = $this->session->userdata ( 'userId' ); + $RowCount = $this->input->post('txtRowCount'); + $DeletedRow = $this->input->post('txtDeletedRow'); + + $comma_separated = explode(':', $DeletedRow); + + $dt = new DateTime('now', new DateTimeZone('Asia/Kolkata')); + $createddt = $dt->format('Y-m-d H:i:s'); + + $PaymentTerms=$this->input->post('PaymentTerms'); + $Payableat=$this->input->post('PayableAT'); + // PO Master + $POList = array('SupplierID'=>$SupplierID, 'TotalOrderValue'=>$TotalOrderValueSummary,'PODate'=>$PODate,'DeliverySchedule'=>$DeliverySchedule,'DeliveryOption'=>$DeliveryOption,'Status'=>$POStatus,'PORange'=>$PoRange,'ServiceDescription'=>$SpcialInstruction,'CreatedBy'=>$CreateBy,'DeliveryAddress'=>$DeliveryAddr,'DeliveryDate'=>$Deliverydt,'CreatedDate'=>$createddt,'PaymentTerms'=>$PaymentTerms,'PayableAT'=>$Payableat,'PaymentDays'=>$PaymentDays); + + + $POMaster = $this->purchaseorder_model->addPOMaster($POList); + + $PONO = ''; + if(count($POMaster)>0) + { + $PONO = $POMaster[0]['PONO']; + } + + // PO Line Items + $LineItemStatus = REQITEM_NEW; + + for ($i = 1; $i <= $RowCount; $i++) + { + + $MaterialCode = $this->input->post('materialCode'.$i); + $Quantity = $this->input->post('quantity'.$i); + $Reqnumber = $this->input->post('Reqnumber'.$i); + $itemRate = $this->input->post('itemRate'.$i); + + $DiscountType = $this->input->post('DisType'.$i); + $DiscountValue = $this->input->post('DisVal'.$i); + $AfterDiscount = $this->input->post('AfterDisVal'.$i); + $PackagingOption = $this->input->post('PackOption'.$i); + $PackagingType = $this->input->post('PackType'.$i); + $PackagingValue = $this->input->post('PackVal'.$i); + $AfterPackagingValue = $this->input->post('AfterPackVal'.$i); + $ExciseOption = $this->input->post('ExciseOption'.$i); + $ExciseValue = $this->input->post('ExciseVal'.$i); + $AfterExciseValue = $this->input->post('AfterExciseVal'.$i); + $VatOption = $this->input->post('VatOption'.$i); + $VatValue = $this->input->post('VatVal'.$i); + $AfterVatValue = $this->input->post('AfterVatVal'.$i); + $CSTOption = $this->input->post('CSTOption'.$i); + $CSTValue = $this->input->post('CSTVal'.$i); + $AfterCSTValue = $this->input->post('AfterCSTVal'.$i); + $GSTValue = $this->input->post('GSTVal'.$i); + $AfterGSTValue = $this->input->post('AfterGSTVal'.$i); + $OtherTaxValue = $this->input->post('OtherTaxVal'.$i); + $AfterOtherTaxValue = $this->input->post('AfterOtherTaxVal'.$i); + $FreightType = $this->input->post('FreightType'.$i); + $FreightValue = $this->input->post('FreightVal'.$i); + $AfterFreightValue = $this->input->post('AfterFreightVal'.$i); + $InsuranceValue = $this->input->post('Insval'.$i); + $TotalOrderValue = $this->input->post('TotalOrderValue'.$i); + $CostCenter = $this->input->post('costCode'.$i); + + $SkipInsert = "False"; + if( count($comma_separated) > 0) + { + for($j = 1; $j < count($comma_separated); $j++) + { + $deletedRow = $comma_separated[$j] ; + + if($deletedRow == $i ) + { + $SkipInsert = "True"; + break; + } + + } + } + if($SkipInsert == "False") + { + $POLineItemList = array('PONO'=>$PONO, 'ReqNo'=>$Reqnumber,'MaterialCode'=>$MaterialCode,'Quantity'=>$Quantity,'Rate'=>$itemRate,'Status'=>$LineItemStatus,'CreatedBy'=>$CreateBy,'CreatedDate'=>$createddt,'CostCenterCode'=>$CostCenter); + + $POLineItem = $this->purchaseorder_model->addPOLineItem($POLineItemList); + + $LineItemNo = ''; + if(count($POLineItem)>0) + { + $LineItemNo = $POLineItem[0]['LineItemNo']; + } + //echo $LineItemNo; + + if(trim($POType) == REVENUE ) + { + // echo 'Success'; + $RevenueTaxList = array('LineItemNo'=>$LineItemNo, 'DiscountType'=>$DiscountType,'DiscountValue'=>$DiscountValue,'AfterDiscount'=>$AfterDiscount,'PackagingType'=>$PackagingType,'PackagingValue'=>$PackagingValue,'PackagingCalulatedOn'=>$PackagingOption,'AfterPackagingValue'=>$AfterPackagingValue,'FreightType'=>$FreightType, 'FreightValue'=>$FreightValue,'AfterFreightValue'=>$AfterFreightValue,'ExciseDuty'=>$ExciseValue,'ExciseDutyCalulatedOn'=>$ExciseOption,'AfterExciseDuty'=>$AfterExciseValue,'Vat'=>$VatValue,'AfterVAT'=>$AfterVatValue,'VatCalulatedOn'=>$VatOption, 'CST'=>$CSTValue,'AfterCST'=>$AfterCSTValue,'CSTCalulatedOn'=>$CSTOption,'GST'=>$GSTValue,'AfterGST'=>$AfterGSTValue,'OtherTaxes'=>$OtherTaxValue,'AfterOtherTaxes'=>$AfterOtherTaxValue,'Insurance'=>$InsuranceValue,'TotalValue'=>$TotalOrderValue, 'CreatedBy'=>$CreateBy,'CreatedDate'=>$createddt); + + $RevenueList = $this->purchaseorder_model->addRevenueTax($RevenueTaxList); + //echo 'Revenue tax Success'; + } + } + + } + echo 'Purchase Order Created Successfully! PO Number Is: '.$PONO ; + + } + //This used to Edit the Revenue Purchase Order + function EditRevenuePurchaseOrder() + { + $PONO =$this->input->post('txtPONO'); + $POdt =$this->input->post('PODate'); + $PODate = $this->getDateformat($POdt); + $SupplierID = $this->input->post('drpSupplier'); + $DeliveryAddr = $this->input->post('txtDeliveryAddress'); + $dt = $this->input->post('Deliverydt'); + //$Deliverydt = $this->getDateformat($dt); + $DeliveryOption = $this->input->post('DateRange'); + if($DeliveryOption==1){ + $Deliverydt = ''; + $DeliverySchedule = $this->input->post('Scheduleby'); + } + else{ + $Deliverydt = $this->getDateformat($dt); + $DeliverySchedule = ''; + } + + + + + $PaymentDate=$this->input->post('Payment'); + if($PaymentDate==1) + { + $PaymentDays='After'; + } + else + { + $PaymentDays='Before'; + } + + $POType = $this->input->post('POType'); + $PoRange = $this->input->post('txtPoRange'); + + $SpcialInstruction = $this->input->post('SpcialInstruction'); + $TotalOrderValueSummary = $this->input->post('txtTotalOrderValueSummary'); + $POStatus = $this->input->post('txtStatus'); + + $updatedBy = $this->session->userdata ( 'userId' ); + $RowCount = $this->input->post('txtRowCount'); + $DeletedRow = $this->input->post('txtDeletedRow'); + + $comma_separated = explode(':', $DeletedRow); + $dt = new DateTime('now', new DateTimeZone('Asia/Kolkata')); + $updateddt = $dt->format('Y-m-d H:i:s'); + + $PaymentTerms=$this->input->post('PaymentTerms'); + $Payableat=$this->input->post('PayableAT'); + // PO Master + // PO Master + $POList = array('SupplierID'=>$SupplierID, 'TotalOrderValue'=>$TotalOrderValueSummary,'PODate'=>$PODate,'Status'=>$POStatus,'DeliverySchedule'=>$DeliverySchedule,'DeliveryOption'=>$DeliveryOption,'ServiceDescription'=>$SpcialInstruction,'UpdateBY'=>$updatedBy,'DeliveryAddress'=>$DeliveryAddr,'DeliveryDate'=>$Deliverydt,'UpdatedOn'=>$updateddt,'PaymentTerms'=>$PaymentTerms,'PayableAT'=>$Payableat,'PaymentDays'=>$PaymentDays); + + $POMaster = $this->purchaseorder_model->updatePOMaster($PONO,$POList); + + $LineItemStatus = REQITEM_NEW; + + + + //echo $RowCount; + for ($i = 1; $i <= $RowCount; $i++) + { + + $MaterialCode = $this->input->post('materialCode'.$i); + $Quantity = $this->input->post('quantity'.$i); + $Reqnumber = $this->input->post('Reqnumber'.$i); + $itemRate = $this->input->post('itemRate'.$i); + + $DiscountType = $this->input->post('DisType'.$i); + $DiscountValue = $this->input->post('DisVal'.$i); + $AfterDiscount = $this->input->post('AfterDisVal'.$i); + $PackagingOption = $this->input->post('PackOption'.$i); + $PackagingType = $this->input->post('PackType'.$i); + $PackagingValue = $this->input->post('PackVal'.$i); + $AfterPackagingValue = $this->input->post('AfterPackVal'.$i); + $ExciseOption = $this->input->post('ExciseOption'.$i); + $ExciseValue = $this->input->post('ExciseVal'.$i); + $AfterExciseValue = $this->input->post('AfterExciseVal'.$i); + $VatOption = $this->input->post('VatOption'.$i); + $VatValue = $this->input->post('VatVal'.$i); + $AfterVatValue = $this->input->post('AfterVatVal'.$i); + $CSTOption = $this->input->post('CSTOption'.$i); + $CSTValue = $this->input->post('CSTVal'.$i); + $AfterCSTValue = $this->input->post('AfterCSTVal'.$i); + $GSTValue = $this->input->post('GSTVal'.$i); + $AfterGSTValue = $this->input->post('AfterGSTVal'.$i); + $OtherTaxValue = $this->input->post('OtherTaxVal'.$i); + $AfterOtherTaxValue = $this->input->post('AfterOtherTaxVal'.$i); + $FreightType = $this->input->post('FreightType'.$i); + $FreightValue = $this->input->post('FreightVal'.$i); + $AfterFreightValue = $this->input->post('AfterFreightVal'.$i); + $InsuranceValue = $this->input->post('Insval'.$i); + $TotalOrderValue = $this->input->post('TotalOrderValue'.$i); + $POLineItemNo = $this->input->post('LineItemNo'.$i); + $CostCenter = $this->input->post('costCode'.$i); + $LineItemNo = ''; + + + $SkipInsert = "False"; + if( count($comma_separated) > 0) + { + for($j = 1; $j < count($comma_separated); $j++) + { + $deletedRow = $comma_separated[$j] ; + + if($deletedRow == $i ) + { + $SkipInsert = "True"; + break; + } + + } + } + if($SkipInsert == "False") + { + if(strlen($POLineItemNo) == 0) + { + $POLineItemList = array('PONO'=>$PONO, 'ReqNo'=>$Reqnumber,'MaterialCode'=>$MaterialCode,'Quantity'=>$Quantity,'Rate'=>$itemRate,'Status'=>$LineItemStatus,'CreatedBy'=>$updatedBy,'CreatedDate'=>$updateddt,'CostCenterCode'=>$CostCenter); + $POLineItem = $this->purchaseorder_model->addPOLineItem($POLineItemList); + if(count($POLineItem)>0) + { + $LineItemNo = $POLineItem[0]['LineItemNo']; + } + + } + else + { + $LineItemNo = $POLineItemNo; + + $POLineItemList = array('PONO'=>$PONO, 'ReqNo'=>$Reqnumber,'MaterialCode'=>$MaterialCode,'Quantity'=>$Quantity,'Rate'=>$itemRate,'Status'=>$LineItemStatus,'UpdateBY'=>$updatedBy,'UpdatedOn'=>$updateddt,'CostCenterCode'=>$CostCenter); + $POLineItem = $this->purchaseorder_model->updatePOLineItem($PONO,$POLineItemNo,$POLineItemList); + + } + $isExists = $this->purchaseorder_model->LineItemExistsinRevenueTax($LineItemNo); + if(count($isExists) == 0) + { + $RevenueTaxList = array('LineItemNo'=>$LineItemNo, 'DiscountType'=>$DiscountType,'DiscountValue'=>$DiscountValue,'AfterDiscount'=>$AfterDiscount,'PackagingType'=>$PackagingType,'PackagingValue'=>$PackagingValue,'PackagingCalulatedOn'=>$PackagingOption,'AfterPackagingValue'=>$AfterPackagingValue,'FreightType'=>$FreightType, 'FreightValue'=>$FreightValue,'AfterFreightValue'=>$AfterFreightValue,'ExciseDuty'=>$ExciseValue,'ExciseDutyCalulatedOn'=>$ExciseOption,'AfterExciseDuty'=>$AfterExciseValue,'Vat'=>$VatValue,'AfterVAT'=>$AfterVatValue,'VatCalulatedOn'=>$VatOption, 'CST'=>$CSTValue,'AfterCST'=>$AfterCSTValue,'CSTCalulatedOn'=>$CSTOption,'GST'=>$GSTValue,'AfterGST'=>$AfterGSTValue,'OtherTaxes'=>$OtherTaxValue,'AfterOtherTaxes'=>$AfterOtherTaxValue,'Insurance'=>$InsuranceValue,'TotalValue'=>$TotalOrderValue, 'CreatedBy'=>$updatedBy,'CreatedDate'=>$updateddt); + + $RevenueList = $this->purchaseorder_model->addRevenueTax($RevenueTaxList); + + } + else + { + $RevenueTaxList = array('DiscountType'=>$DiscountType,'DiscountValue'=>$DiscountValue,'AfterDiscount'=>$AfterDiscount,'PackagingType'=>$PackagingType,'PackagingValue'=>$PackagingValue,'PackagingCalulatedOn'=>$PackagingOption,'AfterPackagingValue'=>$AfterPackagingValue,'FreightType'=>$FreightType, 'FreightValue'=>$FreightValue,'AfterFreightValue'=>$AfterFreightValue,'ExciseDuty'=>$ExciseValue,'ExciseDutyCalulatedOn'=>$ExciseOption,'AfterExciseDuty'=>$AfterExciseValue,'Vat'=>$VatValue,'AfterVAT'=>$AfterVatValue,'VatCalulatedOn'=>$VatOption, 'CST'=>$CSTValue,'AfterCST'=>$AfterCSTValue,'CSTCalulatedOn'=>$CSTOption,'GST'=>$GSTValue,'AfterGST'=>$AfterGSTValue,'OtherTaxes'=>$OtherTaxValue,'AfterOtherTaxes'=>$AfterOtherTaxValue,'Insurance'=>$InsuranceValue,'TotalValue'=>$TotalOrderValue, 'UpdateBY'=>$updatedBy,'UpdatedOn'=>$updateddt); + + $this->purchaseorder_model->updateRevenueTax($LineItemNo,$RevenueTaxList); + + } + } + + } + + echo 'Purchase Order Updated Successfully! PO Number Is: '.$PONO ; + } + function pageNotFound() + { + $this->global['pageTitle'] = 'CodeInsect : 404 - Page Not Found'; + + $this->loadViews("404", $this->global, NULL, NULL); + } + + public function revenuepoprint($PONO) + { + // Load all views as normal + + + //$PONO = $_GET['PO']; + + $data['CompanyDetails'] = $this->purchaseorder_model->getCompanyInformation(); + $data['POItem'] = $this->purchaseorder_model->GetRevenuePurchaseOrderDetailsForPDF($PONO); + + + // Add header to pdf + //$this->load->view('includes/pdfheader'); + + // Load the pdf page with multiviews + $this->load->View("revenuepopdf", $data); + + // Add header to pdf + //$this->load->view('includes/pdffooter'); + + // Get output html + $php = $this->output->get_output(); + + // Load library + $this->load->library('dompdf_gen'); + + // Convert to PDF + $this->dompdf->load_html($php); + $this->dompdf->render(); + $data['Attachment'] = FALSE; + $this->dompdf->stream("RevenuePOReport.pdf",$data,$php); + +} + public function servicepoprint($PONO) + { + + // $this->load->view('includes/pdfheader'); + + // Load the pdf page with multiviews + $data['CompanyDetails'] = $this->purchaseorder_model->getCompanyInformation(); + $data['POItem'] = $this->purchaseorder_model->GetServicePurchaseOrderDetailsForPrint($PONO); + $data['releasedetails'] = $this->purchaseorder_model->GetReleasedDetails($PONO); + $this->load->View("servicepopdf", $data); + + // Add header to pdf + //$this->load->view('includes/pdffooter'); + + // Get output html + $php = $this->output->get_output(); + + // Load library + $this->load->library('dompdf_gen'); + + // Convert to PDF + $this->dompdf->load_html($php); + $this->dompdf->render(); + $data['Attachment'] = FALSE; + $this->dompdf->stream("ServicePOReport.pdf",$data,$php); + +} + + + + +public function importpoprint($PONO) + { + + // $this->load->view('includes/pdfheader'); + + // Load the pdf page with multiviews + $data['CompanyDetails'] = $this->purchaseorder_model->getCompanyInformation(); + $data['POItem'] = $this->purchaseorder_model->GetImportPurchaseOrderDetailsForPDF($PONO); + + $this->load->View("importpopdf", $data); + + // Add header to pdf + //$this->load->view('includes/pdffooter'); + + // Get output html + $php = $this->output->get_output(); + + // Load library + $this->load->library('dompdf_gen'); + + // Convert to PDF + $this->dompdf->set_paper(array(0, 0, 841.89, 1190.55), 'landscape'); + $this->dompdf->load_html($php); + $this->dompdf->render(); + $data['Attachment'] = FALSE; + $this->dompdf->stream("ImportPOReport.pdf",$data,$php); + +} + + +/** + * This function used to load the Delete the Requistion Items + */ + function DeletePODetails() + { + + $ReqList= $this->input->post('id'); + $LineItemNo = ''; + $ReqNo =''; + $MaterialCode = ''; + $POType = ''; + if(count($ReqList) > 0) + { + $LineItemNo = $ReqList[0]; + $ReqNo = $ReqList[1]; + $MaterialCode = $ReqList[2]; + $POType = $ReqList[3]; + } + // print_r($ReqList); + + + If($POType == REVENUE) + { + $this->purchaseorder_model->DeletePORevenueTax($LineItemNo); + } + else If($POType == SERVICE) + { + $this->purchaseorder_model->DeletePOServiceTax($LineItemNo); + } + else If($POType == IMPORT) + { + $this->purchaseorder_model->DeletePOImportTax($LineItemNo); + } + else If($POType == CAPITAL) + { + $this->purchaseorder_model->DeletePOImportTax($LineItemNo); + $this->purchaseorder_model->DeletePOServiceTax($LineItemNo); + } + $this->purchaseorder_model->DeletePOLineItem($LineItemNo , $ReqNo,$MaterialCode); + echo "Successfully Deleted the Line item".$LineItemNo; + + } + + + +function addNewImportPurchaseOrder() + {//echo ("ggh"); + + $POdt =$this->input->post('PODate'); + $PODate = $this->getDateformat($POdt); + $SupplierID = $this->input->post('drpSupplier'); + $DeliveryAddr = $this->input->post('DeliveryAddr'); + $dt = $this->input->post('Deliverydt'); + $Deliverydt = $this->getDateformat($dt); + $POType = $this->input->post('POType'); + $PoRange = $this->input->post('txtPoRange'); + + $DeliveryOption = $this->input->post('DateRange'); + if($DeliveryOption==1){ + $Deliverydt = ''; + $DeliverySchedule = $this->input->post('Scheduleby'); + } + else{ + $Deliverydt = $this->getDateformat($dt); + $DeliverySchedule = ''; + } + + $PaymentDate=$this->input->post('Payment'); + if($PaymentDate==1) + { + $PaymentDays='After'; + } + else + { + $PaymentDays='Before'; + } + + //echo $PaymentDays; + //die(); + + $SpcialInstruction = $this->input->post('txtSpcialInstruction'); + $TotalOrder = $this->input->post('txtToatlOrder'); + $POStatus = $this->input->post('textStatus'); + //echo "$POStatus"; + //die(); + + $CreateBy = $this->session->userdata ( 'userId' ); + $RowCount = $this->input->post('txtRowCount'); + + $DeletedRow = $this->input->post('txtDeletedRow'); + + $comma_separated = explode(':', $DeletedRow); + + $dt = new DateTime('now', new DateTimeZone('Asia/Kolkata')); + $createddt = $dt->format('Y-m-d H:i:s'); + $Exchangerate=$this->input->post('ExchangeRate'); + $ExchangeRateCalculatedon=$this->input->post('Exchangerateon'); + $CurrencyType=$this->input->post('currencytype'); + $PaymentTerms=$this->input->post('PaymentTerms'); + $Payableat=$this->input->post('PayableAT'); + + + + $POList = array('SupplierID'=>$SupplierID, 'TotalOrderValue'=>$TotalOrder,'PODate'=>$PODate,'Status'=>$POStatus,'PORange'=>$PoRange,'ServiceDescription'=>$SpcialInstruction,'CreatedBy'=>$CreateBy,'DeliveryAddress'=>$DeliveryAddr,'DeliveryDate'=>$Deliverydt,'CreatedDate'=>$createddt,'DeliverySchedule'=>$DeliverySchedule,'DeliveryOption'=>$DeliveryOption,'ExchangeRate'=>$Exchangerate,'ExchangeRateCalculatedon'=>$ExchangeRateCalculatedon,'CurrencyType'=>$CurrencyType,'PaymentTerms'=>$PaymentTerms,'PayableAT'=>$Payableat,'PaymentDays'=>$PaymentDays); + + //print_r($POList);PaymentDays + //die(); + $POMaster = $this->purchaseorder_model->addPOMaster($POList); + + $PONO = ''; + if(count($POMaster)>0) + { + $PONO = $POMaster[0]['PONO']; + } + //echo $PONO; + //echo $POType; + // PO Line Items + $LineItemStatus = REQITEM_NEW; + //echo ' test:'.REVENUE; + //echo $RowCount; + for ($i = 1; $i <= $RowCount; $i++) + { + //echo "AS"; + $MaterialCode = $this->input->post('materialCode'.$i); + $Quantity = $this->input->post('quantity'.$i); + $Reqnumber = $this->input->post('Reqnumber'.$i); + $itemRate = $this->input->post('itemRate'.$i); + + //$Exchangerate = $this->input->post('Exchangerate'.$i); + $BasicPriceinmton = $this->input->post('BasicPriceinUS'.$i); + $Productprice = $this->input->post('BasicAmt'.$i); + $LandingCharge = $this->input->post('LandingChargee'.$i); + $AfterLandingCharge = $this->input->post('AfterLandingChargee'.$i); + $HighSeas = $this->input->post('Highseass'.$i); + $AfterHighSeas = $this->input->post('AfterHighseass'.$i); + + $CustomDuty = $this->input->post('Customduty'.$i); + $AfterCustomDuty = $this->input->post('AfterCustomduty'.$i); + + $ExciseDuty = $this->input->post('ExcisedutyTax'.$i); + $AfterExciseDuty = $this->input->post('AfterExcisedutyTax'.$i); + $ExciseDutyEd = $this->input->post('ExcisedutyED'.$i); + $AfterExciseDutyEd = $this->input->post('AfterExcisedutyED'.$i); + + $ExciseDutySH = $this->input->post('ExcisedutySH'.$i); + $AfterExciseDutySH = $this->input->post('AfterExcisedutySH'.$i); + + $CustomEd= $this->input->post('CustomEDcess'.$i); + $AfterCustomEd= $this->input->post('AfterCustomEDcess'.$i); + + $CustomSH = $this->input->post('CustomSHcess'.$i); + $AfterCustomSH = $this->input->post('AfterCustomSHcess'.$i); + + $AddAdtional = $this->input->post('AdditionalExciseduty'.$i); + $AfterAddAdtional = $this->input->post('AfterAdditionalExciseduty'.$i); + + $Grossdutypayable = $this->input->post('Grossdutypayable'.$i); + $AvailableModvat = $this->input->post('AvilableModvat'.$i); + $Grossexpensesduetocustomduty = $this->input->post('Grossexpenses'.$i); + $purchaseratePerKG = $this->input->post('purchaserate'.$i); + $CustomDutyExpensesPerKG = $this->input->post('CustomDutyExpenses'.$i); + $RMCIncludingCustomersPerKG = $this->input->post('RMCIncludingCustomers'.$i); + $QuantityKG = $this->input->post('PurQuantity'.$i); + + //$currencytypeID = $this->input->post('currencytype'); + $Totalvalueitem=$this->input->post('TotalExp'.$i); + + //echo $BasicPriceinmton; + $CostCenter = $this->input->post('costCode'.$i); + + $SkipInsert = "False"; + if( count($comma_separated) > 0) + { + for($j = 1; $j < count($comma_separated); $j++) + { + $deletedRow = $comma_separated[$j] ; + + if($deletedRow == $i ) + { + $SkipInsert = "True"; + break; + } + + } + } + if($SkipInsert == "False") + { + $POLineItemList = array('PONO'=>$PONO, 'ReqNo'=>$Reqnumber,'MaterialCode'=>$MaterialCode,'Quantity'=>$Quantity,'Rate'=>$itemRate,'Status'=>$LineItemStatus,'CreatedBy'=>$CreateBy,'CreatedDate'=>$createddt,'CostCenterCode'=>$CostCenter); + + $POLineItem = $this->purchaseorder_model->addPOLineItem($POLineItemList); + + $LineItemNo = ''; + if(count($POLineItem)>0) + { + $LineItemNo = $POLineItem[0]['LineItemNo']; + } + //echo $LineItemNo; + + if(trim($POType) == IMPORT ) + { + // echo 'Success'; + $ImportTaxList = array('LineItemNo'=>$LineItemNo,'BasicPriceInMTon'=>$BasicPriceinmton,'ProductPrice'=>$Productprice,'LandingCharge'=>$LandingCharge,'AfterLandingCharge'=>$AfterLandingCharge,'AfterHighSeasSalesCharge'=>$AfterHighSeas,'HighSeasSalesCharge'=>$HighSeas,'CustomDuty'=>$CustomDuty,'AfterCustomDuty'=>$AfterCustomDuty,'ExciseDuty'=>$ExciseDuty,'AfterExciseDuty'=>$AfterExciseDuty,'ExciseDutyEdCess'=>$ExciseDutyEd,'AfterExciseDutyEdCess'=>$AfterExciseDutyEd,'ExciseDutySHCess'=>$ExciseDutySH,'CustomEdCess'=>$CustomEd,'CustomSHCess'=>$CustomSH,'AddlExciseDuty'=>$AddAdtional,'CreatedBy'=>$CreateBy,'CreatedDate'=>$createddt,'AfterExciseDutySHCess'=>$AfterExciseDutySH,'AfterAddlExciseDuty'=>$AfterAddAdtional,'Grossdutypayable'=>$Grossdutypayable,'AvailableModvat'=>$AvailableModvat,'Grossexpensesduetocustomduty'=>$Grossexpensesduetocustomduty,'purchaseratePerKG'=>$purchaseratePerKG,'CustomDutyExpensesPerKG'=>$CustomDutyExpensesPerKG,'RMCIncludingCustomersPerKG'=>$RMCIncludingCustomersPerKG,'QuantityKG'=>$QuantityKG,'AfterCustomSHCess'=>$AfterCustomSH,'AfterCustomEdCess'=>$AfterCustomEd,'TotalValue'=>$Totalvalueitem); + //print_r($ImportTaxList); + //die(); + + + $ImportList = $this->purchaseorder_model->addImportTax($ImportTaxList); + + } + } + + } + echo 'Purchase Order Created Successfully! PO Number Is: '.$PONO ; + } + + function EditImportPurchaseOrder() + { + + $PONO =$this->input->post('txtPONO'); +$POdt = ''; +$createddt=''; + + $PODate = $this->getDateformat($POdt); + $SupplierID = $this->input->post('drpSupplier'); + $DeliveryAddr = $this->input->post('DeliveryAddr'); + $dt = $this->input->post('Deliverydt'); + $Deliverydt = $this->getDateformat($dt); + $POType = $this->input->post('POType'); + $PoRange = $this->input->post('txtPoRange'); + $DeliveryOption = $this->input->post('DateRange'); + + $Exchangerate=$this->input->post('ExchangeRate'); + $ExchangeRateCalculatedon=$this->input->post('Exchangerateon'); + $CurrencyType=$this->input->post('currencytype'); + + + if($DeliveryOption==1){ + $Deliverydt = ''; + $DeliverySchedule = $this->input->post('Scheduleby'); + } + else{ + $Deliverydt = $this->getDateformat($dt); + $DeliverySchedule = ''; + } + $PaymentDate=$this->input->post('Payment'); + if($PaymentDate==1) + { + $PaymentDays='After'; + } + else + { + $PaymentDays='Before'; + } + + $SpcialInstruction = $this->input->post('txtSpcialInstruction'); + $TotalOrder = $this->input->post('txtToatlOrder'); + $POStatus = $this->input->post('txtStatus'); + + $CreateBy = $this->session->userdata ( 'userId' ); + $RowCount = $this->input->post('txtRowCount'); + $DeletedRow = $this->input->post('txtDeletedRow'); + + $comma_separated = explode(':', $DeletedRow); + $dt = new DateTime('now', new DateTimeZone('Asia/Kolkata')); + $updateddt = $dt->format('Y-m-d H:i:s'); + + $PaymentTerms=$this->input->post('PaymentTerms'); + $Payableat=$this->input->post('PayableAT'); + // PO Master + // PO Master + $POList = array('SupplierID'=>$SupplierID, 'TotalOrderValue'=>$TotalOrder,'PODate'=>$PODate,'Status'=>$POStatus,'PORange'=>$PoRange,'ServiceDescription'=>$SpcialInstruction,'CreatedBy'=>$CreateBy,'DeliveryAddress'=>$DeliveryAddr,'DeliveryDate'=>$Deliverydt,'CreatedDate'=>$createddt,'DeliverySchedule'=>$DeliverySchedule,'DeliveryOption'=>$DeliveryOption,'ExchangeRate'=>$Exchangerate,'ExchangeRateCalculatedon'=>$ExchangeRateCalculatedon,'CurrencyType'=>$CurrencyType,'PaymentTerms'=>$PaymentTerms,'PayableAT'=>$Payableat,'PaymentDays'=>$PaymentDays); + //echo $PONO; + //echo $TotalOrder; + //print_r($POList); + //die(); + + $POMaster = $this->purchaseorder_model->updatePOMaster($PONO,$POList); + + $LineItemStatus = REQITEM_NEW; + + + + //echo $RowCount; + for ($i = 1; $i <= $RowCount; $i++) + { + + $MaterialCode = $this->input->post('materialCode'.$i); + $Quantity = $this->input->post('quantity'.$i); + $Reqnumber = $this->input->post('Reqnumber'.$i); + $itemRate = $this->input->post('itemRate'.$i); + + //$Exchangerate = $this->input->post('Exchangerate'.$i); + $BasicPriceinmton = $this->input->post('BasicPriceinUS'.$i); + $Productprice = $this->input->post('BasicAmt'.$i); + $LandingCharge = $this->input->post('LandingChargee'.$i); + $AfterLandingCharge = $this->input->post('AfterLandingChargee'.$i); + $HighSeas = $this->input->post('Highseass'.$i); + $AfterHighSeas = $this->input->post('AfterHighseass'.$i); + + $CustomDuty = $this->input->post('Customduty'.$i); + $AfterCustomDuty = $this->input->post('AfterCustomduty'.$i); + + $ExciseDuty = $this->input->post('ExcisedutyTax'.$i); + $AfterExciseDuty = $this->input->post('AfterExcisedutyTax'.$i); + $ExciseDutyEd = $this->input->post('ExcisedutyED'.$i); + $AfterExciseDutyEd = $this->input->post('AfterExcisedutyED'.$i); + + $ExciseDutySH = $this->input->post('ExcisedutySH'.$i); + $AfterExciseDutySH = $this->input->post('AfterExcisedutySH'.$i); + + $CustomEd= $this->input->post('CustomEDcess'.$i); + $AfterCustomEd= $this->input->post('AfterCustomEDcess'.$i); + + $CustomSH = $this->input->post('CustomSHcess'.$i); + $AfterCustomSH = $this->input->post('AfterCustomSHcess'.$i); + + $AddAdtional = $this->input->post('AdditionalExciseduty'.$i); + $AfterAddAdtional = $this->input->post('AfterAdditionalExciseduty'.$i); + + $Grossdutypayable = $this->input->post('Grossdutypayable'.$i); + $AvailableModvat = $this->input->post('AvilableModvat'.$i); + $Grossexpensesduetocustomduty = $this->input->post('Grossexpenses'.$i); + $purchaseratePerKG = $this->input->post('purchaserate'.$i); + $CustomDutyExpensesPerKG = $this->input->post('CustomDutyExpenses'.$i); + $RMCIncludingCustomersPerKG = $this->input->post('RMCIncludingCustomers'.$i); + $QuantityKG = $this->input->post('PurQuantity'.$i); + + $POLineItemNo = $this->input->post('LineItemNo'.$i); + $CostCenter = $this->input->post('costCode'.$i); + $ExciseDutySH = $this->input->post('ExcisedutySH'.$i); + $Totalvalueitem=$this->input->post('TotalExp'.$i); + $LineItemNo = ''; + + //$currencytypeID = $this->input->post('currencytype'); + $SkipInsert = "False"; + if( count($comma_separated) > 0) + { + for($j = 1; $j < count($comma_separated); $j++) + { + $deletedRow = $comma_separated[$j] ; + + if($deletedRow == $i ) + { + $SkipInsert = "True"; + break; + } + + } + } + if($SkipInsert == "False") + { + if(strlen($POLineItemNo) == 0) + { + $POLineItemList = array('PONO'=>$PONO, 'ReqNo'=>$Reqnumber,'MaterialCode'=>$MaterialCode,'Quantity'=>$Quantity,'Rate'=>$itemRate,'Status'=>$LineItemStatus,'CreatedBy'=>$CreateBy,'CreatedDate'=>$createddt,'CostCenterCode'=>$CostCenter); + if(count($POLineItem)>0) + { + $LineItemNo = $POLineItem[0]['LineItemNo']; + } + + } + else + { + $LineItemNo = $POLineItemNo; + + $POLineItemList = array('PONO'=>$PONO, 'ReqNo'=>$Reqnumber,'MaterialCode'=>$MaterialCode,'Quantity'=>$Quantity,'Rate'=>$itemRate,'Status'=>$LineItemStatus,'UpdateBY'=>$updatedBy,'UpdatedOn'=>$updateddt,'CostCenterCode'=>$CostCenter); + $POLineItem = $this->purchaseorder_model->updatePOLineItem($PONO,$POLineItemNo,$POLineItemList); + + } + $isExists = $this->purchaseorder_model->LineItemExistsinImportTax($LineItemNo); + if(count($isExists) == 0) + { + $ImportTaxList = array('LineItemNo'=>$LineItemNo,'BasicPriceInMTon'=>$BasicPriceinmton,'ProductPrice'=>$Productprice,'LandingCharge'=>$LandingCharge,'AfterLandingCharge'=>$AfterLandingCharge,'AfterHighSeasSalesCharge'=>$AfterHighSeas,'HighSeasSalesCharge'=>$HighSeas,'CustomDuty'=>$CustomDuty,'AfterCustomDuty'=>$AfterCustomDuty,'ExciseDuty'=>$ExciseDuty,'AfterExciseDuty'=>$AfterExciseDuty,'ExciseDutyEdCess'=>$ExciseDutyEd,'AfterExciseDutyEdCess'=>$AfterExciseDutyEd,'ExciseDutySHCess'=>$ExciseDutySH,'CustomEdCess'=>$CustomEd,'CustomSHCess'=>$CustomSH,'AddlExciseDuty'=>$AddAdtional,'CreatedBy'=>$CreateBy,'CreatedDate'=>$createddt,'AfterExciseDutySHCess'=>$AfterExciseDutySH,'AfterAddlExciseDuty'=>$AfterAddAdtional,'Grossdutypayable'=>$Grossdutypayable,'AvailableModvat'=>$AvailableModvat,'Grossexpensesduetocustomduty'=>$Grossexpensesduetocustomduty,'purchaseratePerKG'=>$purchaseratePerKG,'CustomDutyExpensesPerKG'=>$CustomDutyExpensesPerKG,'RMCIncludingCustomersPerKG'=>$RMCIncludingCustomersPerKG,'QuantityKG'=>$QuantityKG,'AfterCustomSHCess'=>$AfterCustomSH,'AfterCustomEdCess'=>$AfterCustomEd,'TotalValue'=>$Totalvalueitem); + //print_r($ImportTaxList); + //die(); + $ImportList = $this->purchaseorder_model->addImportTax($ImportTaxList); + + } + else + { + $ImportTaxList = array('LineItemNo'=>$LineItemNo, 'ExchangeRate'=>$Exchangerate,'BasicPriceInMTon'=>$BasicPriceinmton,'ProductPrice'=>$Productprice,'LandingCharge'=>$LandingCharge,'AfterLandingCharge'=>$AfterLandingCharge,'AfterHighSeasSalesCharge'=>$AfterHighSeas,'HighSeasSalesCharge'=>$HighSeas,'CustomDuty'=>$CustomDuty,'AfterCustomDuty'=>$AfterCustomDuty,'ExciseDuty'=>$ExciseDuty,'AfterExciseDuty'=>$AfterExciseDuty,'ExciseDutyEdCess'=>$ExciseDutyEd,'AfterExciseDutyEdCess'=>$AfterExciseDutyEd,'ExciseDutySHCess'=>$ExciseDutySH,'CustomEdCess'=>$CustomEd,'CustomSHCess'=>$CustomSH,'AddlExciseDuty'=>$AddAdtional,'CreatedBy'=>$CreateBy,'CreatedDate'=>$createddt,'AfterExciseDutySHCess'=>$AfterExciseDutySH,'AfterAddlExciseDuty'=>$AfterAddAdtional,'Grossdutypayable'=>$Grossdutypayable,'AvailableModvat'=>$AvailableModvat,'Grossexpensesduetocustomduty'=>$Grossexpensesduetocustomduty,'purchaseratePerKG'=>$purchaseratePerKG,'CustomDutyExpensesPerKG'=>$CustomDutyExpensesPerKG,'RMCIncludingCustomersPerKG'=>$RMCIncludingCustomersPerKG,'QuantityKG'=>$QuantityKG,'AfterCustomSHCess'=>$AfterCustomSH,'AfterCustomEdCess'=>$AfterCustomEd,'CurrencyType'=>$currencytypeID,'TotalValue'=>$Totalvalueitem); + + //print_r($ImportTaxList); + //die(); + $this->purchaseorder_model->updateImportTax($LineItemNo,$ImportTaxList); + + } + } + + } + + echo 'Purchase Order Updated Successfully! PO Number Is: '.$PONO ; + } + + + /* All Function following This command for FINANCE TEAM PO APPROVAL SCREEN*/ + function poapproval(){ + $q="A"; + $this->global['pageTitle'] = 'Siddharth : Purchase Order Approval'; + // $data['Status']= $this->purchaseorder_model->getStatus(); + $userID = $this->session->userdata ( 'userId' ); + //print_r($data['Status']);echo "CON"; + $data['AppList'] = $this->purchaseorder_model->getPOList($q); + $this->loadViews("poapproval_view", $this->global,$data, NULL); + + } + + function getDateformat2($Val) + { + $date = new DateTime($Val); + $retDate = $date->format('Y-m-d H:i:s'); + return $retDate; + } + + + function ApprovePO() + { + $StatusCode= Trim($_POST['SCode']); + + $PONO= Trim($_POST['PONO']); + $Remarks= Trim($_POST['NewRemarks']); + + $ApprovedBy = $this->session->userdata ( 'userId' ); + $dt = new DateTime('now', new DateTimeZone('Asia/Kolkata')); + $ApprovedDate = $dt->format('Y-m-d H:i:s'); + + if($StatusCode == 'ST025') + { + + $store = array('Status'=>$StatusCode,'ApprovedOn'=>$ApprovedDate,'Approvedby'=>$ApprovedBy,'Remarks'=>$Remarks); + $this->purchaseorder_model->UpdatePO($store,$PONO); + echo "Successfully Updated the Purchase Order No: ".$PONO; + } + else{ + $store = array('Status'=>$StatusCode,'OnHoldOn'=>$ApprovedDate,'OnHoldBy'=>$ApprovedBy,'Remarks'=>$Remarks); + $this->purchaseorder_model->UpdatePO($store,$PONO); + echo "Successfully Updated the Purchase Order No: ".$PONO; + + } + + + + + } + + + + + /* FOLLOWING CODES FOR PO RELEASE SCREEN FUNCTIONALITIES*/ + + + function porelease(){ + + $q="R"; + $this->global['pageTitle'] = 'Siddharth : Purchase Order Release'; + // $data['Status']= $this->purchaseorder_model->getStatus(); + $userID = $this->session->userdata ( 'userId' ); + //print_r($data['Status']);echo "CON"; + $data['AppList'] = $this->purchaseorder_model->getPOList($q); + $this->loadViews("porelease_view", $this->global,$data, NULL); + + } + + + function ReleasePO() + { + $StatusCode= Trim($_POST['SCode']); + + $PONO= Trim($_POST['PONO']); + $Remarks= Trim($_POST['NewRemarks']); + + $ReleasedBy = $this->session->userdata ( 'userId' ); + $dt = new DateTime('now', new DateTimeZone('Asia/Kolkata')); + $ReleasedDate = $dt->format('Y-m-d H:i:s'); + + if($StatusCode == 'ST026') + { + + $store = array('Status'=>$StatusCode,'ReleasedOn'=>$ReleasedDate,'ReleasedBy'=>$ReleasedBy,'Remarks'=>$Remarks); + $this->purchaseorder_model->UpdatePO($store,$PONO); + echo "Successfully Updated the Purchase Order No: ".$PONO; + } + else{ + $store = array('Status'=>$StatusCode,'OnHoldOn'=>$ReleasedOn,'OnHoldBy'=>$ReleasedBy,'Remarks'=>$Remarks); + $this->purchaseorder_model->UpdatePO($store,$PONO); + echo "Successfully Updated the Purchase Order No: ".$PONO; + + } +} +/* Add capital Po*/ + function addNewCapitalPurchaseOrder() + { + + + $POdt =$this->input->post('PODate'); + $PODate = $this->getDateformat($POdt); + $SupplierID = $this->input->post('drpSupplier'); + $DeliveryAddr = $this->input->post('DeliveryAddr'); + $dt = $this->input->post('Deliverydt'); + + $POType = $this->input->post('POType'); + $PoRange = $this->input->post('txtPoRange'); + + $DeliveryOption = $this->input->post('DateRange'); + if($DeliveryOption==1){ + $Deliverydt = ''; + $DeliverySchedule = $this->input->post('Scheduleby'); + } + else{ + $Deliverydt = $this->getDateformat($dt); + $DeliverySchedule = ''; + } + + $ExchangeRateOn = $this->input->post('ExchangeRateOn'); + $PaymentMethod = $this->input->post('PaymentMethod'); + $PayableAT = $this->input->post('PayableAT'); + + + $PaymentDate=$this->input->post('PaymentDate'); + $SpcialInstruction = $this->input->post('txtSpcialInstruction'); + $TotalOrder = $this->input->post('CapitalToatlOrder'); + $POStatus = $this->input->post('txtStatus'); + + + $CreateBy = $this->session->userdata ( 'userId' ); + $RowCount = $this->input->post('txtRowCount'); + + $DeletedRow = $this->input->post('txtDeletedRow'); + + $comma_separated = explode(':', $DeletedRow); + + $dt = new DateTime('now', new DateTimeZone('Asia/Kolkata')); + $createddt = $dt->format('Y-m-d H:i:s'); + + + $POList = array('SupplierID'=>$SupplierID, 'TotalOrderValue'=>$TotalOrder,'PODate'=>$PODate,'Status'=>$POStatus,'PORange'=>$PoRange,'ExchangeRate'=>$ExchangeRateOn,'PaymentTerms'=>$PaymentMethod,'PaymentDays'=>$PaymentDate,'PayableAt'=>$PayableAT,'ServiceDescription'=>$SpcialInstruction,'CreatedBy'=>$CreateBy,'DeliveryAddress'=>$DeliveryAddr,'DeliveryDate'=>$Deliverydt,'CreatedDate'=>$createddt,'DeliverySchedule'=>$DeliverySchedule,'DeliveryOption'=>$DeliveryOption); + + + $POMaster = $this->purchaseorder_model->addPOMaster($POList); + + $PONO = ''; + if(count($POMaster)>0) + { + $PONO = $POMaster[0]['PONO']; + } + + $LineItemStatus = REQITEM_NEW; + + for ($i = 1; $i <= $RowCount; $i++) + { + + $MaterialCode = $this->input->post('materialCode'.$i); + $Quantity = $this->input->post('quantity'.$i); + $Reqnumber = $this->input->post('Reqnumber'.$i); + $itemRate = $this->input->post('itemRate'.$i); + + $Exchangerate = $this->input->post('echangeRate'.$i); + $BasicPriceinmton = $this->input->post('rateInUs'.$i); + $Productprice = $this->input->post('basicval'.$i); + $LandingCharge = $this->input->post('beforeLanding'.$i); + $AfterLandingCharge = $this->input->post('landingCharge'.$i); + $HighSeas = $this->input->post('beforeHighSeasSalesCharge'.$i); + $AfterHighSeas = $this->input->post('HighSeasSalesCharge'.$i); + + $CustomDuty = $this->input->post('beforeCustomDuty'.$i); + $AfterCustomDuty = $this->input->post('CustomDuty'.$i); + + $ExciseDuty = $this->input->post('beforeExciseDuty'.$i); + $AfterExciseDuty = $this->input->post('ExciseDuty'.$i); + $ExciseDutyEd = $this->input->post('beforeExciseDutyEDCess'.$i); + $AfterExciseDutyEd = $this->input->post('ExciseDutyEDCess'.$i); + + $ExciseDutySH = $this->input->post('beforeExciseDutySHCess'.$i); + $AfterExciseDutySH = $this->input->post('ExciseDutySHCess'.$i); + + $CustomEd= $this->input->post('beforeCustomEDCess'.$i); + $AfterCustomEd= $this->input->post('CustomEDCess'.$i); + + $CustomSH = $this->input->post('beforeCustomSHCess'.$i); + $AfterCustomSH = $this->input->post('CustomSHCess'.$i); + + $AddAdtional = $this->input->post('beforeAdditionalExciseDuty'.$i); + $AfterAddAdtional = $this->input->post('AdditionalExciseDuty'.$i); + + $Grossdutypayable = $this->input->post('GrossDutyPayable'.$i); + $AvailableModvat = $this->input->post('AvailableModvat'.$i); + $Grossexpensesduetocustomduty = $this->input->post('GrossExpensesDuetoCustom'.$i); + $purchaseratePerKG = $this->input->post('purchaseRate'.$i); + $CustomDutyExpensesPerKG = $this->input->post('CustomDutyExpenses'.$i); + $RMCIncludingCustomersPerKG = $this->input->post('RMCIncludingCustomers'.$i); + $QuantityKG = $this->input->post('PurQuantity'.$i); + + $currencytypeID = $this->input->post('currencytype'); + $Totalvalueitem=$this->input->post('PerKgExpense'.$i); + + //echo $BasicPriceinmton; + $CostCenter = $this->input->post('CPCostCode'.$i); + $ServiceTax = $this->input->post('AfterServiceTax'.$i); + $EduCess = $this->input->post('AfterEduCess'.$i); + $SecHighTax = $this->input->post('AfterSecHighTax'.$i); + $KrishiTax = $this->input->post('AfterKrishiTax'.$i); + $SwachhTax = $this->input->post('AfterSwachhTax'.$i); + + + $TotalOrderValue = $this->input->post('TotalOrderValue'.$i); + + $SkipInsert = "False"; + if( count($comma_separated) > 0) + { + for($j = 1; $j < count($comma_separated); $j++) + { + $deletedRow = $comma_separated[$j] ; + + if($deletedRow == $i ) + { + $SkipInsert = "True"; + break; + } + + } + } + if($SkipInsert == "False") + { + $POLineItemList = array('PONO'=>$PONO, 'ReqNo'=>$Reqnumber,'MaterialCode'=>$MaterialCode,'Quantity'=>$Quantity,'Rate'=>$itemRate,'Status'=>$LineItemStatus,'CreatedBy'=>$CreateBy,'CreatedDate'=>$createddt,'CostCenterCode'=>$CostCenter); + + $POLineItem = $this->purchaseorder_model->addPOLineItem($POLineItemList); + + $LineItemNo = ''; + if(count($POLineItem)>0) + { + $LineItemNo = $POLineItem[0]['LineItemNo']; + } + //echo $LineItemNo; + + if(trim($POType) == CAPITAL ) + { + $ServiceTaxList = array('LineItemNo'=>$LineItemNo, 'ServiceTax'=>$ServiceTax,'EducessTax'=>$EduCess,'SecHigherEducessTax'=>$SecHighTax,'KrishiKalyantax'=>$KrishiTax,'SwachhBharattax'=>$SwachhTax,'TotalValue'=>$TotalOrderValue, 'CreatedBy'=>$CreateBy,'CreatedDate'=>$createddt); + + $ServiceTax = $this->purchaseorder_model->addServiceTax($ServiceTaxList); + $ImportTaxList = array('LineItemNo'=>$LineItemNo, 'ExchangeRate'=>$Exchangerate,'BasicPriceInMTon'=>$BasicPriceinmton,'ProductPrice'=>$Productprice,'LandingCharge'=>$LandingCharge,'AfterLandingCharge'=>$AfterLandingCharge,'AfterHighSeasSalesCharge'=>$AfterHighSeas,'HighSeasSalesCharge'=>$HighSeas,'CustomDuty'=>$CustomDuty,'AfterCustomDuty'=>$AfterCustomDuty,'ExciseDuty'=>$ExciseDuty,'AfterExciseDuty'=>$AfterExciseDuty,'ExciseDutyEdCess'=>$ExciseDutyEd,'AfterExciseDutyEdCess'=>$AfterExciseDutyEd,'ExciseDutySHCess'=>$ExciseDutySH,'CustomEdCess'=>$CustomEd,'CustomSHCess'=>$CustomSH,'AddlExciseDuty'=>$AddAdtional,'CreatedBy'=>$CreateBy,'CreatedDate'=>$createddt,'AfterExciseDutySHCess'=>$AfterExciseDutySH,'AfterAddlExciseDuty'=>$AfterAddAdtional,'Grossdutypayable'=>$Grossdutypayable,'AvailableModvat'=>$AvailableModvat,'Grossexpensesduetocustomduty'=>$Grossexpensesduetocustomduty,'purchaseratePerKG'=>$purchaseratePerKG,'CustomDutyExpensesPerKG'=>$CustomDutyExpensesPerKG,'RMCIncludingCustomersPerKG'=>$RMCIncludingCustomersPerKG,'QuantityKG'=>$QuantityKG,'AfterCustomSHCess'=>$AfterCustomSH,'AfterCustomEdCess'=>$AfterCustomEd,'CurrencyType'=>$currencytypeID,'TotalValue'=>$Totalvalueitem); + //print_r($ImportTaxList); + //die(); + + + $ImportList = $this->purchaseorder_model->addImportTax($ImportTaxList); + + } + } + + } + echo 'Purchase Order Created Successfully! PO Number Is: '.$PONO ; + } + + +/*Edit Capital po*/ + function EditCapitalPurchaseOrder() + { + + + $PONO =$this->input->post('txtPONO'); + $POdt =$this->input->post('PODate'); + $PODate = $this->getDateformat($POdt); + $SupplierID = $this->input->post('drpSupplier'); + $DeliveryAddr = $this->input->post('DeliveryAddr'); + $dt = $this->input->post('Deliverydt'); + + $POType = $this->input->post('POType'); + $PoRange = $this->input->post('txtPoRange'); + + $DeliveryOption = $this->input->post('DateRange'); + if($DeliveryOption==1){ + $Deliverydt = ''; + $DeliverySchedule = $this->input->post('Scheduleby'); + } + else{ + $Deliverydt = $this->getDateformat($dt); + $DeliverySchedule = ''; + } + + $ExchangeRateOn = $this->input->post('ExchangeRateOn'); + $PaymentMethod = $this->input->post('PaymentMethod'); + $PayableAT = $this->input->post('PayableAT'); + + + $PaymentDate=$this->input->post('PaymentDate'); + $SpcialInstruction = $this->input->post('txtSpcialInstruction'); + $TotalOrder = $this->input->post('CapitalToatlOrder'); + $POStatus = $this->input->post('txtStatus'); + + + $CreateBy = $this->session->userdata ( 'userId' ); + $RowCount = $this->input->post('txtRowCount'); + + $DeletedRow = $this->input->post('txtDeletedRow'); + + $comma_separated = explode(':', $DeletedRow); + + $dt = new DateTime('now', new DateTimeZone('Asia/Kolkata')); + $createddt = $dt->format('Y-m-d H:i:s'); + $updateddt = $dt->format('Y-m-d H:i:s'); + + $POList = array('SupplierID'=>$SupplierID, 'TotalOrderValue'=>$TotalOrder,'PODate'=>$PODate,'Status'=>$POStatus,'PORange'=>$PoRange,'ExchangeRate'=>$ExchangeRateOn,'PaymentTerms'=>$PaymentMethod,'PaymentDays'=>$PaymentDate,'PayableAt'=>$PayableAT,'ServiceDescription'=>$SpcialInstruction,'CreatedBy'=>$CreateBy,'DeliveryAddress'=>$DeliveryAddr,'DeliveryDate'=>$Deliverydt,'CreatedDate'=>$createddt,'DeliverySchedule'=>$DeliverySchedule,'DeliveryOption'=>$DeliveryOption); + + + $POMaster = $this->purchaseorder_model->updatePOMaster($PONO,$POList); + + $LineItemStatus = REQITEM_NEW; + + + + + for ($i = 1; $i <= $RowCount; $i++) + { + + $MaterialCode = $this->input->post('materialCode'.$i); + $Quantity = $this->input->post('quantity'.$i); + $Reqnumber = $this->input->post('Reqnumber'.$i); + $itemRate = $this->input->post('itemRate'.$i); + + $Exchangerate = $this->input->post('echangeRate'.$i); + $BasicPriceinmton = $this->input->post('rateInUs'.$i); + $Productprice = $this->input->post('basicval'.$i); + $LandingCharge = $this->input->post('beforeLanding'.$i); + $AfterLandingCharge = $this->input->post('landingCharge'.$i); + $HighSeas = $this->input->post('beforeHighSeasSalesCharge'.$i); + $AfterHighSeas = $this->input->post('HighSeasSalesCharge'.$i); + + $CustomDuty = $this->input->post('beforeCustomDuty'.$i); + $AfterCustomDuty = $this->input->post('CustomDuty'.$i); + + $ExciseDuty = $this->input->post('beforeExciseDuty'.$i); + $AfterExciseDuty = $this->input->post('ExciseDuty'.$i); + $ExciseDutyEd = $this->input->post('beforeExciseDutyEDCess'.$i); + $AfterExciseDutyEd = $this->input->post('ExciseDutyEDCess'.$i); + + $ExciseDutySH = $this->input->post('beforeExciseDutySHCess'.$i); + $AfterExciseDutySH = $this->input->post('ExciseDutySHCess'.$i); + + $CustomEd= $this->input->post('beforeCustomEDCess'.$i); + $AfterCustomEd= $this->input->post('CustomEDCess'.$i); + + $CustomSH = $this->input->post('beforeCustomSHCess'.$i); + $AfterCustomSH = $this->input->post('CustomSHCess'.$i); + + $AddAdtional = $this->input->post('beforeAdditionalExciseDuty'.$i); + $AfterAddAdtional = $this->input->post('AdditionalExciseDuty'.$i); + + $Grossdutypayable = $this->input->post('GrossDutyPayable'.$i); + $AvailableModvat = $this->input->post('AvailableModvat'.$i); + $Grossexpensesduetocustomduty = $this->input->post('GrossExpensesDuetoCustom'.$i); + $purchaseratePerKG = $this->input->post('purchaseRate'.$i); + $CustomDutyExpensesPerKG = $this->input->post('CustomDutyExpenses'.$i); + $RMCIncludingCustomersPerKG = $this->input->post('RMCIncludingCustomers'.$i); + $QuantityKG = $this->input->post('PurQuantity'.$i); + + $currencytypeID = $this->input->post('currencytype'); + $Totalvalueitem=$this->input->post('PerKgExpense'.$i); + + //echo $BasicPriceinmton; + $CostCenter = $this->input->post('CPCostCode'.$i); + $ServiceTax = $this->input->post('AfterServiceTax'.$i); + $EduCess = $this->input->post('AfterEduCess'.$i); + $SecHighTax = $this->input->post('AfterSecHighTax'.$i); + $KrishiTax = $this->input->post('AfterKrishiTax'.$i); + $SwachhTax = $this->input->post('AfterSwachhTax'.$i); + + + $TotalOrderValue = $this->input->post('TotalOrderValue'.$i); + $POLineItemNo = $this->input->post('LineItemNo'.$i); + + $SkipInsert = "False"; + if( count($comma_separated) > 0) + { + for($j = 1; $j < count($comma_separated); $j++) + { + $deletedRow = $comma_separated[$j] ; + + if($deletedRow == $i) + { + $SkipInsert = "True"; + break; + } + + } + } + if($SkipInsert == "False") + { + if(strlen($POLineItemNo) == 0) + { + $POLineItemList = array('PONO'=>$PONO, 'ReqNo'=>$Reqnumber,'MaterialCode'=>$MaterialCode,'Quantity'=>$Quantity,'Rate'=>$itemRate,'Status'=>$LineItemStatus,'CreatedBy'=>$CreateBy,'CreatedDate'=>$createddt,'CostCenterCode'=>$CostCenter); + + $POLineItem = $this->purchaseorder_model->addPOLineItem($POLineItemList); + + $LineItemNo = ''; + if(count($POLineItem)>0) + { + $LineItemNo = $POLineItem[0]['LineItemNo']; + } + //echo $LineItemNo; + + if(trim($POType) == CAPITAL ) + { + $ServiceTaxList = array('LineItemNo'=>$LineItemNo, 'ServiceTax'=>$ServiceTax,'EducessTax'=>$EduCess,'SecHigherEducessTax'=>$SecHighTax,'KrishiKalyantax'=>$KrishiTax,'SwachhBharattax'=>$SwachhTax,'TotalValue'=>$TotalOrderValue, 'CreatedBy'=>$CreateBy,'CreatedDate'=>$createddt); + + $ServiceTax = $this->purchaseorder_model->addServiceTax($ServiceTaxList); + $ImportTaxList = array('LineItemNo'=>$LineItemNo, 'ExchangeRate'=>$Exchangerate,'BasicPriceInMTon'=>$BasicPriceinmton,'ProductPrice'=>$Productprice,'LandingCharge'=>$LandingCharge,'AfterLandingCharge'=>$AfterLandingCharge,'AfterHighSeasSalesCharge'=>$AfterHighSeas,'HighSeasSalesCharge'=>$HighSeas,'CustomDuty'=>$CustomDuty,'AfterCustomDuty'=>$AfterCustomDuty,'ExciseDuty'=>$ExciseDuty,'AfterExciseDuty'=>$AfterExciseDuty,'ExciseDutyEdCess'=>$ExciseDutyEd,'AfterExciseDutyEdCess'=>$AfterExciseDutyEd,'ExciseDutySHCess'=>$ExciseDutySH,'CustomEdCess'=>$CustomEd,'CustomSHCess'=>$CustomSH,'AddlExciseDuty'=>$AddAdtional,'CreatedBy'=>$CreateBy,'CreatedDate'=>$createddt,'AfterExciseDutySHCess'=>$AfterExciseDutySH,'AfterAddlExciseDuty'=>$AfterAddAdtional,'Grossdutypayable'=>$Grossdutypayable,'AvailableModvat'=>$AvailableModvat,'Grossexpensesduetocustomduty'=>$Grossexpensesduetocustomduty,'purchaseratePerKG'=>$purchaseratePerKG,'CustomDutyExpensesPerKG'=>$CustomDutyExpensesPerKG,'RMCIncludingCustomersPerKG'=>$RMCIncludingCustomersPerKG,'QuantityKG'=>$QuantityKG,'AfterCustomSHCess'=>$AfterCustomSH,'AfterCustomEdCess'=>$AfterCustomEd,'CurrencyType'=>$currencytypeID,'TotalValue'=>$Totalvalueitem); + //print_r($ImportTaxList); + //die(); + + + $ImportList = $this->purchaseorder_model->addImportTax($ImportTaxList); + + } + + } + else + { + $LineItemNo = $POLineItemNo; + + + + $POLineItemList = array('PONO'=>$PONO, 'ReqNo'=>$Reqnumber,'MaterialCode'=>$MaterialCode,'Quantity'=>$Quantity,'Rate'=>$itemRate,'Status'=>$LineItemStatus,'CreatedBy'=>$CreateBy,'CreatedDate'=>$createddt,'CostCenterCode'=>$CostCenter); + $POLineItem = $this->purchaseorder_model->updatePOLineItem($PONO,$LineItemNo,$POLineItemList); + + $ServiceTaxList = array('ServiceTax'=>$ServiceTax,'EducessTax'=>$EduCess,'SecHigherEducessTax'=>$SecHighTax,'KrishiKalyantax'=>$KrishiTax,'SwachhBharattax'=>$SwachhTax,'TotalValue'=>$TotalOrderValue, 'UpdateBY'=>$updatedBy,'UpdatedOn'=>$updateddt); + + $ServiceTax = $this->purchaseorder_model->updateServiceTax($LineItemNo,$ServiceTaxList); + $ImportTaxList = array('LineItemNo'=>$LineItemNo, 'ExchangeRate'=>$Exchangerate,'BasicPriceInMTon'=>$BasicPriceinmton,'ProductPrice'=>$Productprice,'LandingCharge'=>$LandingCharge,'AfterLandingCharge'=>$AfterLandingCharge,'AfterHighSeasSalesCharge'=>$AfterHighSeas,'HighSeasSalesCharge'=>$HighSeas,'CustomDuty'=>$CustomDuty,'AfterCustomDuty'=>$AfterCustomDuty,'ExciseDuty'=>$ExciseDuty,'AfterExciseDuty'=>$AfterExciseDuty,'ExciseDutyEdCess'=>$ExciseDutyEd,'AfterExciseDutyEdCess'=>$AfterExciseDutyEd,'ExciseDutySHCess'=>$ExciseDutySH,'CustomEdCess'=>$CustomEd,'CustomSHCess'=>$CustomSH,'AddlExciseDuty'=>$AddAdtional,'CreatedBy'=>$CreateBy,'CreatedDate'=>$createddt,'AfterExciseDutySHCess'=>$AfterExciseDutySH,'AfterAddlExciseDuty'=>$AfterAddAdtional,'Grossdutypayable'=>$Grossdutypayable,'AvailableModvat'=>$AvailableModvat,'Grossexpensesduetocustomduty'=>$Grossexpensesduetocustomduty,'purchaseratePerKG'=>$purchaseratePerKG,'CustomDutyExpensesPerKG'=>$CustomDutyExpensesPerKG,'RMCIncludingCustomersPerKG'=>$RMCIncludingCustomersPerKG,'QuantityKG'=>$QuantityKG,'AfterCustomSHCess'=>$AfterCustomSH,'AfterCustomEdCess'=>$AfterCustomEd,'CurrencyType'=>$currencytypeID,'TotalValue'=>$Totalvalueitem); + $ImportList= $this->purchaseorder_model->updateImportTax($LineItemNo,$ImportTaxList); + + } + + } + + } + + echo 'Purchase Order Updated Successfully! PO Number Is: '.$PONO ; + } + + /* capital po print/pdf*/ + + public function CapitalPoPrint($PONO) + { + + + // Load the pdf page with multiviews + $data['CompanyDetails'] = $this->purchaseorder_model->getCompanyInformation(); + $data['CompanyDetails'] = $this->purchaseorder_model->getCompanyInformation(); + $data['POItem'] = $this->purchaseorder_model->GetCapitalPurchaseOrderDetailsForPDF($PONO); + + $totalAmt = $data['POItem'][0]->TotalOrderValue." "."Only"; + $data['requestedBy'] = $this->purchaseorder_model->GetRequesedByDetails($PONO); + + $data['TotalAmountInWords']=$this->convertNumber($totalAmt); + + + $this->load->View("capitalpopdf", $data); + + // Add header to pdf + //$this->load->view('includes/pdffooter'); + + // Get output html + $php = $this->output->get_output(); + + // Load library + $this->load->library('dompdf_gen'); + + // Convert to PDF + $this->dompdf->load_html($php); + $this->dompdf->render(); + $data['Attachment'] = FALSE; + $this->dompdf->stream("CapitalPOReport.pdf",$data,$php); + +} + + /*This function is used to convert amount(digit) into words*/ + + public function convertNumber($number) + +{ + + list($integer, $fraction) = explode(".", (string) $number); + + $output = "Rupee"." "; + + if ($integer{0} == "-") + + { + + $output = "negative "; + + $integer = ltrim($integer, "-"); + + } + + else if ($integer{0} == "+") + + { + + $output = "positive "; + + $integer = ltrim($integer, "+"); + + } + + if ($integer{0} == "0") + + { + + $output .= "zero"; + + } + + else + + { + + $integer = str_pad($integer, 36, "0", STR_PAD_LEFT); + + $group = rtrim(chunk_split($integer, 3, " "), " "); + + $groups = explode(" ", $group); + + $groups2 = array(); + + foreach ($groups as $g) + + { + + $groups2[] = $this->convertThreeDigit($g{0}, $g{1}, $g{2}); + + } + + for ($z = 0; $z < count($groups2); $z++) + + { + + if ($groups2[$z] != "") + + { + + $output .= $groups2[$z] . $this->convertGroup(11 - $z) . ( + + $z < 11 + + && !array_search('', array_slice($groups2, $z + 1, -1)) + + && $groups2[11] != '' + + && $groups[11]{0} == '0' + + ? " " + + : ", " + + ); + + } + + } + + $output = rtrim($output, ", "); + + } + + if ($fraction > 0) + + { + + $output .= " paise"; + + for ($i = 0; $i < strlen($fraction); $i++) + + { + + $output .= " " . $this->convertDigit($fraction{$i}); + + } + + } + + return $output; + +} + +public function convertGroup($index) + +{ + + switch ($index) + + { + + case 11: + + return " decillion"; + + case 10: + + return " nonillion"; + + case 9: + + return " octillion"; + + case 8: + + return " septillion"; + + case 7: + + return " sextillion"; + + case 6: + + return " quintrillion"; + + case 5: + + return " quadrillion"; + + case 4: + + return " trillion"; + + case 3: + + return " billion"; + + case 2: + + return " million"; + + case 1: + + return " thousand"; + + case 0: + + return ""; + + } + +} + +public function convertThreeDigit($digit1, $digit2, $digit3) + +{ + + $buffer = ""; + + if ($digit1 == "0" && $digit2 == "0" && $digit3 == "0") + + { + + return ""; + + } + + if ($digit1 != "0") + + { + + $buffer .= $this->convertDigit($digit1) . " hundred"; + + if ($digit2 != "0" || $digit3 != "0") + + { + + $buffer .= " and "; + + } + + } + + if ($digit2 != "0") + + { + + $buffer .= $this->convertTwoDigit($digit2, $digit3); + + } + + else if ($digit3 != "0") + + { + + $buffer .= $this->convertDigit($digit3); + + } + + return $buffer; + +} + +public function convertTwoDigit($digit1, $digit2) + +{ + + if ($digit2 == "0") + + { + + switch ($digit1) + + { + + case "1": + + return "ten"; + + case "2": + + return "twenty"; + + case "3": + + return "thirty"; + + case "4": + + return "forty"; + + case "5": + + return "fifty"; + + case "6": + + return "sixty"; + + case "7": + + return "seventy"; + + case "8": + + return "eighty"; + + case "9": + + return "ninety"; + + } + + } else if ($digit1 == "1") + + { + + switch ($digit2) + + { + + case "1": + + return "eleven"; + + case "2": + + return "twelve"; + + case "3": + + return "thirteen"; + + case "4": + + return "fourteen"; + + case "5": + + return "fifteen"; + + case "6": + + return "sixteen"; + + case "7": + + return "seventeen"; + + case "8": + + return "eighteen"; + + case "9": + + return "nineteen"; + + } + + } else + + { + + $temp = $this->convertDigit($digit2); + + switch ($digit1) + + { + + case "2": + + return "twenty-$temp"; + + case "3": + + return "thirty-$temp"; + + case "4": + + return "forty-$temp"; + + case "5": + + return "fifty-$temp"; + + case "6": + + return "sixty-$temp"; + + case "7": + + return "seventy-$temp"; + + case "8": + + return "eighty-$temp"; + + case "9": + + return "ninety-$temp"; + + } + + } + +} + +public function convertDigit($digit) + +{ + + switch ($digit) + + { + + case "0": + + return "zero"; + + case "1": + + return "one"; + + case "2": + + return "two"; + + case "3": + + return "three"; + + case "4": + + return "four"; + + case "5": + + return "five"; + + case "6": + + return "six"; + + case "7": + + return "seven"; + + case "8": + + return "eight"; + + case "9": + + return "nine"; + + } + +} + + + +} + +?> diff --git a/application/controllers/rawmaterialdetails.php b/application/controllers/rawmaterialdetails.php old mode 100644 new mode 100755 diff --git a/application/controllers/requisitionform.php b/application/controllers/requisitionform.php old mode 100644 new mode 100755 diff --git a/application/controllers/servicepurchaseorder.php b/application/controllers/servicepurchaseorder.php old mode 100644 new mode 100755 diff --git a/application/controllers/supplier.php b/application/controllers/supplier.php old mode 100644 new mode 100755 diff --git a/application/controllers/user.php b/application/controllers/user.php old mode 100644 new mode 100755 diff --git a/application/core/index.html b/application/core/index.html old mode 100644 new mode 100755 diff --git a/application/errors/error_404.php b/application/errors/error_404.php old mode 100644 new mode 100755 diff --git a/application/errors/error_db.php b/application/errors/error_db.php old mode 100644 new mode 100755 diff --git a/application/errors/error_general.php b/application/errors/error_general.php old mode 100644 new mode 100755 diff --git a/application/errors/error_php.php b/application/errors/error_php.php old mode 100644 new mode 100755 diff --git a/application/errors/index.html b/application/errors/index.html old mode 100644 new mode 100755 diff --git a/application/helpers/cias_helper.php b/application/helpers/cias_helper.php old mode 100644 new mode 100755 diff --git a/application/helpers/index.html b/application/helpers/index.html old mode 100644 new mode 100755 diff --git a/application/hooks/index.html b/application/hooks/index.html old mode 100644 new mode 100755 diff --git a/application/index.html b/application/index.html old mode 100644 new mode 100755 diff --git a/application/language/english/index.html b/application/language/english/index.html old mode 100644 new mode 100755 diff --git a/application/language/index.html b/application/language/index.html old mode 100644 new mode 100755 diff --git a/application/libraries/BaseController.php b/application/libraries/BaseController.php old mode 100644 new mode 100755 diff --git a/application/libraries/Excel.php b/application/libraries/Excel.php old mode 100644 new mode 100755 diff --git a/application/libraries/Excel2.php b/application/libraries/Excel2.php old mode 100644 new mode 100755 diff --git a/application/libraries/dompdf_gen.php b/application/libraries/dompdf_gen.php old mode 100644 new mode 100755 diff --git a/application/libraries/index.html b/application/libraries/index.html old mode 100644 new mode 100755 diff --git a/application/libraries/pdf.php b/application/libraries/pdf.php old mode 100644 new mode 100755 diff --git a/application/logs/index.html b/application/logs/index.html old mode 100644 new mode 100755 diff --git a/application/logs/log-2017-04-20.php b/application/logs/log-2017-04-20.php old mode 100644 new mode 100755 diff --git a/application/logs/log-2017-04-21.php b/application/logs/log-2017-04-21.php old mode 100644 new mode 100755 diff --git a/application/logs/log-2017-04-22.php b/application/logs/log-2017-04-22.php old mode 100644 new mode 100755 diff --git a/application/logs/log-2017-04-24.php b/application/logs/log-2017-04-24.php old mode 100644 new mode 100755 diff --git a/application/logs/log-2017-04-26.php b/application/logs/log-2017-04-26.php old mode 100644 new mode 100755 diff --git a/application/logs/log-2017-04-27.php b/application/logs/log-2017-04-27.php old mode 100644 new mode 100755 diff --git a/application/logs/log-2017-04-28.php b/application/logs/log-2017-04-28.php old mode 100644 new mode 100755 diff --git a/application/logs/log-2017-05-02.php b/application/logs/log-2017-05-02.php old mode 100644 new mode 100755 diff --git a/application/logs/log-2017-05-03.php b/application/logs/log-2017-05-03.php old mode 100644 new mode 100755 diff --git a/application/logs/log-2017-05-04.php b/application/logs/log-2017-05-04.php old mode 100644 new mode 100755 diff --git a/application/logs/log-2017-05-08.php b/application/logs/log-2017-05-08.php old mode 100644 new mode 100755 diff --git a/application/logs/log-2017-05-10.php b/application/logs/log-2017-05-10.php old mode 100644 new mode 100755 diff --git a/application/logs/log-2017-05-12.php b/application/logs/log-2017-05-12.php old mode 100644 new mode 100755 diff --git a/application/logs/log-2017-05-19.php b/application/logs/log-2017-05-19.php old mode 100644 new mode 100755 diff --git a/application/logs/log-2017-05-22.php b/application/logs/log-2017-05-22.php old mode 100644 new mode 100755 diff --git a/application/logs/log-2017-05-23.php b/application/logs/log-2017-05-23.php old mode 100644 new mode 100755 diff --git a/application/logs/log-2017-05-24.php b/application/logs/log-2017-05-24.php old mode 100644 new mode 100755 diff --git a/application/logs/log-2017-05-25.php b/application/logs/log-2017-05-25.php old mode 100644 new mode 100755 diff --git a/application/logs/log-2017-05-26.php b/application/logs/log-2017-05-26.php old mode 100644 new mode 100755 diff --git a/application/logs/log-2017-05-27.php b/application/logs/log-2017-05-27.php old mode 100644 new mode 100755 diff --git a/application/logs/log-2017-05-29.php b/application/logs/log-2017-05-29.php old mode 100644 new mode 100755 diff --git a/application/logs/log-2017-05-30.php b/application/logs/log-2017-05-30.php old mode 100644 new mode 100755 diff --git a/application/logs/log-2017-05-31.php b/application/logs/log-2017-05-31.php old mode 100644 new mode 100755 diff --git a/application/logs/log-2017-06-01.php b/application/logs/log-2017-06-01.php old mode 100644 new mode 100755 diff --git a/application/logs/log-2017-06-02.php b/application/logs/log-2017-06-02.php old mode 100644 new mode 100755 diff --git a/application/logs/log-2017-06-05.php b/application/logs/log-2017-06-05.php old mode 100644 new mode 100755 diff --git a/application/logs/log-2017-06-14.php b/application/logs/log-2017-06-14.php old mode 100644 new mode 100755 diff --git a/application/logs/log-2017-06-15.php b/application/logs/log-2017-06-15.php old mode 100644 new mode 100755 diff --git a/application/logs/log-2017-06-19.php b/application/logs/log-2017-06-19.php old mode 100644 new mode 100755 diff --git a/application/logs/log-2017-06-20.php b/application/logs/log-2017-06-20.php old mode 100644 new mode 100755 diff --git a/application/logs/log-2017-06-21.php b/application/logs/log-2017-06-21.php old mode 100644 new mode 100755 diff --git a/application/logs/log-2017-06-22.php b/application/logs/log-2017-06-22.php old mode 100644 new mode 100755 diff --git a/application/logs/log-2017-06-23.php b/application/logs/log-2017-06-23.php old mode 100644 new mode 100755 diff --git a/application/logs/log-2017-06-26.php b/application/logs/log-2017-06-26.php old mode 100644 new mode 100755 diff --git a/application/logs/log-2017-06-30.php b/application/logs/log-2017-06-30.php old mode 100644 new mode 100755 index 761a563c..36c106aa --- a/application/logs/log-2017-06-30.php +++ b/application/logs/log-2017-06-30.php @@ -6,3 +6,43 @@ ERROR - 2017-06-30 16:01:46 --> Severity: Notice --> Undefined index: PayOn C:\ ERROR - 2017-06-30 16:01:46 --> Severity: Notice --> Undefined index: PayOn C:\5.6\xampp\htdocs\SIA\siddharth_application\application\views\payslipgenerate.php 166 ERROR - 2017-06-30 16:01:46 --> Severity: Notice --> Undefined index: PayOn C:\5.6\xampp\htdocs\SIA\siddharth_application\application\views\payslipgenerate.php 166 ERROR - 2017-06-30 16:01:46 --> Severity: Notice --> Undefined index: PayOn C:\5.6\xampp\htdocs\SIA\siddharth_application\application\views\payslipgenerate.php 166 +ERROR - 2017-06-30 16:27:47 --> Severity: Notice --> Undefined variable: RequistionDetails /opt/lampp/htdocs/Git_Server/siddharth_application/application/views/alterpurchaseorder.php 138 +ERROR - 2017-06-30 16:27:47 --> Severity: Notice --> Undefined variable: CostList /opt/lampp/htdocs/Git_Server/siddharth_application/application/views/alterpurchaseorder.php 139 +ERROR - 2017-06-30 16:27:47 --> Severity: Notice --> Undefined variable: MaterialList /opt/lampp/htdocs/Git_Server/siddharth_application/application/views/alterpurchaseorder.php 140 +ERROR - 2017-06-30 16:27:47 --> Severity: Notice --> Undefined variable: MaterialList /opt/lampp/htdocs/Git_Server/siddharth_application/application/views/alterpurchaseorder.php 186 +ERROR - 2017-06-30 16:27:47 --> Severity: Notice --> Undefined variable: CostList /opt/lampp/htdocs/Git_Server/siddharth_application/application/views/alterpurchaseorder.php 214 +ERROR - 2017-06-30 16:28:54 --> Severity: Notice --> Undefined variable: RequistionDetails /opt/lampp/htdocs/Git_Server/siddharth_application/application/views/alterpurchaseorder.php 138 +ERROR - 2017-06-30 16:28:54 --> Severity: Notice --> Undefined variable: MaterialList /opt/lampp/htdocs/Git_Server/siddharth_application/application/views/alterpurchaseorder.php 140 +ERROR - 2017-06-30 16:28:54 --> Severity: Notice --> Undefined variable: MaterialList /opt/lampp/htdocs/Git_Server/siddharth_application/application/views/alterpurchaseorder.php 186 +ERROR - 2017-06-30 16:31:23 --> Severity: Notice --> Undefined variable: RequistionDetails /opt/lampp/htdocs/Git_Server/siddharth_application/application/views/alterpurchaseorder.php 138 +ERROR - 2017-06-30 16:31:23 --> Severity: Notice --> Undefined variable: MaterialList /opt/lampp/htdocs/Git_Server/siddharth_application/application/views/alterpurchaseorder.php 140 +ERROR - 2017-06-30 16:31:23 --> Severity: Notice --> Undefined variable: MaterialList /opt/lampp/htdocs/Git_Server/siddharth_application/application/views/alterpurchaseorder.php 186 +ERROR - 2017-06-30 16:57:18 --> Severity: Notice --> Undefined variable: RequistionDetails /opt/lampp/htdocs/Git_Server/siddharth_application/application/views/alterpurchaseorder.php 138 +ERROR - 2017-06-30 16:57:18 --> Severity: Notice --> Undefined variable: RequistionDetails /opt/lampp/htdocs/Git_Server/siddharth_application/application/views/alterpurchaseorder.php 138 +ERROR - 2017-06-30 16:57:18 --> Severity: Notice --> Undefined variable: MaterialList /opt/lampp/htdocs/Git_Server/siddharth_application/application/views/alterpurchaseorder.php 140 +ERROR - 2017-06-30 16:57:18 --> Severity: Notice --> Undefined variable: MaterialList /opt/lampp/htdocs/Git_Server/siddharth_application/application/views/alterpurchaseorder.php 140 +ERROR - 2017-06-30 16:57:18 --> Severity: Notice --> Undefined variable: MaterialList /opt/lampp/htdocs/Git_Server/siddharth_application/application/views/alterpurchaseorder.php 186 +ERROR - 2017-06-30 16:57:18 --> Severity: Notice --> Undefined variable: MaterialList /opt/lampp/htdocs/Git_Server/siddharth_application/application/views/alterpurchaseorder.php 186 +ERROR - 2017-06-30 16:59:16 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given /opt/lampp/htdocs/Git_Server/siddharth_application/system/database/drivers/mysqli/mysqli_result.php 38 +ERROR - 2017-06-30 16:59:51 --> Severity: Notice --> Undefined variable: updatedBy /opt/lampp/htdocs/Git_Server/siddharth_application/application/controllers/purchaseorder.php 1850 +ERROR - 2017-06-30 16:59:53 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given /opt/lampp/htdocs/Git_Server/siddharth_application/system/database/drivers/mysqli/mysqli_result.php 38 +ERROR - 2017-06-30 17:00:12 --> Severity: Notice --> Undefined property: stdClass::$Requestedby /opt/lampp/htdocs/Git_Server/siddharth_application/application/views/capitalpopdf.php 43 +ERROR - 2017-06-30 17:00:12 --> Severity: Warning --> explode() expects parameter 2 to be string, array given /opt/lampp/htdocs/Git_Server/siddharth_application/application/third_party/dompdf/include/style.cls.php 948 +ERROR - 2017-06-30 17:00:27 --> Severity: Notice --> Undefined property: stdClass::$Requestedby /opt/lampp/htdocs/Git_Server/siddharth_application/application/views/capitalpopdf.php 43 +ERROR - 2017-06-30 17:00:27 --> Severity: Warning --> explode() expects parameter 2 to be string, array given /opt/lampp/htdocs/Git_Server/siddharth_application/application/third_party/dompdf/include/style.cls.php 948 +ERROR - 2017-06-30 17:05:25 --> Severity: Notice --> Undefined property: stdClass::$Requestedby /opt/lampp/htdocs/Git_Server/siddharth_application/application/views/capitalpopdf.php 43 +ERROR - 2017-06-30 17:05:25 --> Severity: Warning --> explode() expects parameter 2 to be string, array given /opt/lampp/htdocs/Git_Server/siddharth_application/application/third_party/dompdf/include/style.cls.php 948 +ERROR - 2017-06-30 17:06:41 --> Severity: Notice --> Undefined property: stdClass::$Requestedby /opt/lampp/htdocs/Git_Server/siddharth_application/application/views/capitalpopdf.php 43 +ERROR - 2017-06-30 17:06:41 --> Severity: Warning --> explode() expects parameter 2 to be string, array given /opt/lampp/htdocs/Git_Server/siddharth_application/application/third_party/dompdf/include/style.cls.php 948 +ERROR - 2017-06-30 17:07:41 --> Severity: Notice --> Undefined property: stdClass::$Requestedby /opt/lampp/htdocs/Git_Server/siddharth_application/application/views/capitalpopdf.php 43 +ERROR - 2017-06-30 17:07:41 --> Severity: Warning --> explode() expects parameter 2 to be string, array given /opt/lampp/htdocs/Git_Server/siddharth_application/application/third_party/dompdf/include/style.cls.php 948 +ERROR - 2017-06-30 17:08:33 --> Severity: Notice --> Undefined property: stdClass::$Requestedby /opt/lampp/htdocs/Git_Server/siddharth_application/application/views/capitalpopdf.php 43 +ERROR - 2017-06-30 17:08:33 --> Severity: Warning --> explode() expects parameter 2 to be string, array given /opt/lampp/htdocs/Git_Server/siddharth_application/application/third_party/dompdf/include/style.cls.php 948 +ERROR - 2017-06-30 17:10:31 --> Severity: Notice --> Undefined property: stdClass::$Requestedby /opt/lampp/htdocs/Git_Server/siddharth_application/application/views/capitalpopdf.php 43 +ERROR - 2017-06-30 17:10:31 --> Severity: Warning --> explode() expects parameter 2 to be string, array given /opt/lampp/htdocs/Git_Server/siddharth_application/application/third_party/dompdf/include/style.cls.php 948 +ERROR - 2017-06-30 17:11:40 --> Severity: Notice --> Undefined property: stdClass::$Requestedby /opt/lampp/htdocs/Git_Server/siddharth_application/application/views/capitalpopdf.php 44 +ERROR - 2017-06-30 17:11:40 --> Severity: Warning --> explode() expects parameter 2 to be string, array given /opt/lampp/htdocs/Git_Server/siddharth_application/application/third_party/dompdf/include/style.cls.php 948 +ERROR - 2017-06-30 17:12:03 --> Severity: Warning --> explode() expects parameter 2 to be string, array given /opt/lampp/htdocs/Git_Server/siddharth_application/application/third_party/dompdf/include/style.cls.php 948 +ERROR - 2017-06-30 17:14:22 --> Severity: Warning --> explode() expects parameter 2 to be string, array given /opt/lampp/htdocs/Git_Server/siddharth_application/application/third_party/dompdf/include/style.cls.php 948 +ERROR - 2017-06-30 17:15:05 --> Severity: Warning --> explode() expects parameter 2 to be string, array given /opt/lampp/htdocs/Git_Server/siddharth_application/application/third_party/dompdf/include/style.cls.php 948 +ERROR - 2017-06-30 17:16:11 --> Severity: Warning --> explode() expects parameter 2 to be string, array given /opt/lampp/htdocs/Git_Server/siddharth_application/application/third_party/dompdf/include/style.cls.php 948 diff --git a/application/models/assetdetails_model.php b/application/models/assetdetails_model.php old mode 100644 new mode 100755 diff --git a/application/models/costcenter_model.php b/application/models/costcenter_model.php old mode 100644 new mode 100755 diff --git a/application/models/employeedetails_model.php b/application/models/employeedetails_model.php old mode 100644 new mode 100755 diff --git a/application/models/emppaydate_model.php b/application/models/emppaydate_model.php old mode 100644 new mode 100755 diff --git a/application/models/index.html b/application/models/index.html old mode 100644 new mode 100755 diff --git a/application/models/inwardgateregister_model.php b/application/models/inwardgateregister_model.php old mode 100644 new mode 100755 diff --git a/application/models/login_model.php b/application/models/login_model.php old mode 100644 new mode 100755 diff --git a/application/models/monthlypay_model.php b/application/models/monthlypay_model.php old mode 100644 new mode 100755 diff --git a/application/models/payroll_model.php b/application/models/payroll_model.php old mode 100644 new mode 100755 diff --git a/application/models/purchaseorder_model.php b/application/models/purchaseorder_model.php old mode 100644 new mode 100755 index 36433575..b7906003 --- a/application/models/purchaseorder_model.php +++ b/application/models/purchaseorder_model.php @@ -446,7 +446,7 @@ function purchaseorderListing($forwhat='') function GetServicePurchaseOrder($PONO = '') { $this->db->distinct(); - $this->db->select('ReqNo,POMast.PONO,ServiceDescription,supp.SupplierID,supp.SupplierName,supp.Address,PODate,Stat.StatusName,DeliveryOption,DeliverySchedule,DeliveryDate,DeliveryAddress,Stat.StatusCode,POMast.ExchangeRateCalculatedon,POMast.ExchangeRate,POMast.CurrencyType,POMast.PaymentTerms,POMast.PayableAT,POMast.PaymentDays'); + $this->db->select('ReqNo,POMast.PONO,ServiceDescription,supp.SupplierID,supp.SupplierName,supp.Address,PODate,Stat.StatusName,DeliveryOption,DeliverySchedule,DeliveryDate,DeliveryAddress,POMast.PaymentTerms,POMast.PaymentDays,POMast.PayableAT,POMast.ExchangeRate,POMast.UpdatedOn,Stat.StatusCode'); $this->db->from('T_PurchaseOrder_Master POMast'); $this->db->join('T_SupplierDetailsN supp', 'supp.SupplierID = POMast.SupplierID'); $this->db->join('T_Status Stat', 'Stat.StatusCode = POMast.Status'); @@ -1023,5 +1023,67 @@ function GetCurrencytype() return $result->result(); + } + //This is get the capital po list for edit + +function getCapitalPurchaseOrderDetails($PONO = '') + { + + $subQuery ='SELECT distinct LineItem.LineItemNo,Req.ReqNo,Mat.MaterialCode,Mat.MaterialName, +Mat.UOM,Quantity,Rate,Req.Status,ROUND((Quantity *Rate),2 ) as BasicValue ,ROUND((ServiceTax.ServiceTax + ServiceTax.EducessTax + ServiceTax.SecHigherEducessTax + ServiceTax.KrishiKalyantax + ServiceTax.SwachhBharattax),2) as ServiceTaxamount + ,ServiceTax.TotalValue,ServiceTax,EducessTax,ServiceTax.SecHigherEducessTax,ServiceTax.KrishiKalyantax,ServiceTax.SwachhBharattax, + ROUND((RMCIncludingCustomersPerKG*Quantity),2)as Taxamount,LandingCharge,HighSeasSalesCharge,CustomDuty,ExciseDuty,ExciseDutyEdCess,CustomEdCess,ExchangeRate,AfterLandingCharge,AfterHighSeasSalesCharge,AfterCustomDuty,AfterExciseDuty,AfterExciseDutyEdCess,AddlExciseDuty,AfterAddlExciseDuty,Grossdutypayable,AvailableModvat,Grossexpensesduetocustomduty,purchaseratePerKG,CustomDutyExpensesPerKG,RMCIncludingCustomersPerKG,QuantityKG,BasicPriceInMTon,ProductPrice,CustomSHCess,AfterCustomSHCess,AfterExciseDutySHCess,ExciseDutySHCess,AfterCustomEdCess,ROUND((ExchangeRate*BasicPriceInMTon*Quantity),2) as BasicINRValue,Tax.TotalValue as ImportTotalValue,CurrencyType, + + Req.CostCenterCode,Dept.DepartmentName FROM T_PurchaseOrder_LineItem LineItem +join T_MaterialMaster Mat on Mat.MaterialCode = LineItem.MaterialCode + join T_Service_Tax ServiceTax on ServiceTax.LineItemNo = LineItem.LineItemNo + join T_Import_Tax Tax on Tax.LineItemNo = LineItem.LineItemNo + join T_Requestion_Master Req on Req.ReqNo = LineItem.ReqNo + join T_Employee_Details emp on Req.Requestedby = emp.EmpID + + join T_DepartmentDetails Dept on emp.Departmentcode = Dept.DEPCode where LineItem.PONO =?'; + //print_r($subQuery); + + $query = $this->db->query($subQuery,array($PONO)); + + return $query->result(); + + + } + + // This Method to get the Capital PO Details for pdf + function GetCapitalPurchaseOrderDetailsForPDF($PONO = '') + { + + $subQuery ='SELECT distinct LineItem.LineItemNo,ReqNo,Mat.MaterialCode,Mat.MaterialName, + Mat.UOM,Quantity,Rate,ROUND((Quantity *Rate),2 ) as BasicValue , + ROUND((ServiceTax + EducessTax + SecHigherEducessTax + KrishiKalyantax + SwachhBharattax),2)as Taxamount + ,TotalValue,ServiceTax,EducessTax,SecHigherEducessTax,KrishiKalyantax,SwachhBharattax,CostCenterCode , POMaster.*,sup.SupplierName,sup.Address + FROM T_PurchaseOrder_LineItem LineItem + join T_MaterialMaster Mat on Mat.MaterialCode = LineItem.MaterialCode + join T_Service_Tax Tax on Tax.LineItemNo = LineItem.LineItemNo + join T_PurchaseOrder_Master POMaster on POMaster.PONO = LineItem.PONO + join T_SupplierDetailsN sup on sup.SupplierID = POMaster.SupplierID + where LineItem.PONO =?'; + + $query = $this->db->query($subQuery,array($PONO)); + + return $query->result(); + + + } + // get requested by details + function GetRequesedByDetails($PONO){ + $this->db->select('mast.CreatedBy,re.FirstName,Dept.DEPCode,Dept.DepartmentName'); + $this->db->from('T_PurchaseOrder_Master mast'); + $this->db->join('tbl_users tbl','mast.CreatedBy=tbl.userid'); + $this->db->join('T_Employee_Details re','re.EmpID=tbl.EmpID'); + $this->db->join('T_DepartmentDetails Dept', 're.Departmentcode = Dept.DEPCode'); + + $this->db->where('mast.PONO',$PONO); + $result=$this->db->get(); + + return $result->result(); + } } \ No newline at end of file diff --git a/application/models/purchaseorder_model.php~ b/application/models/purchaseorder_model.php~ new file mode 100755 index 00000000..b7906003 --- /dev/null +++ b/application/models/purchaseorder_model.php~ @@ -0,0 +1,1089 @@ +db->distinct(); + $this->db->select('POMast.PONO,supp.SupplierName,TotalOrderValue,PODate,Stat.StatusName,Req.ReqType,DeliveryDate'); + $this->db->from('T_PurchaseOrder_Master POMast'); + $this->db->join('T_SupplierDetailsN supp', 'supp.SupplierID = POMast.SupplierID'); + $this->db->join('T_Status Stat', 'Stat.StatusCode = POMast.Status'); + $this->db->join('T_PurchaseOrder_LineItem LineItem', 'POMast.PONO = LineItem.PONO'); + $this->db->join('T_Requestion_Master Req', 'Req.ReqNo = LineItem.ReqNo'); + // print_r( $this->db->last_query()); + $query = $this->db->get(); + + return count($query->result()); + } + + /** + * This function is used to get the user listing count + * @param string $searchText : This is optional search text + * @param number $page : This is pagination offset + * @param number $segment : This is pagination limit + * @return array $result : This is result + */ + +function purchaseorderListing($forwhat='') + { + $this->db->distinct(); + $this->db->select('POMast.PONO,supp.SupplierName,TotalOrderValue,PODate,Stat.StatusName,Stat.StatusCode,Req.ReqType,DeliveryDate,DeliverySchedule,DeliveryOption'); + $this->db->from('T_PurchaseOrder_Master POMast'); + $this->db->join('T_SupplierDetailsN supp', 'supp.SupplierID = POMast.SupplierID'); + $this->db->join('T_Status Stat', 'Stat.StatusCode = POMast.Status'); + $this->db->join('T_PurchaseOrder_LineItem LineItem', 'POMast.PONO = LineItem.PONO'); + $this->db->join('T_Requestion_Master Req', 'Req.ReqNo = LineItem.ReqNo'); + + $query = $this->db->get(); + //print_r( $this->db->last_query()); + $result = $query->result(); + return $result; + } + + /** + * This function is used to get the SupplierID and SupplierName information + * @return array $result : This is result of the query + */ + function getSupplierName($supID='') + { + $this->db->select('SupplierID, SupplierName,Address,PaymentTerms,PayableAT,PaymentDays'); + $this->db->from('T_SupplierDetailsN'); + if($supID != '') + { + $this->db->where('SupplierID',$supID); + } + //$this->db->where('roleId !=', 1); + $query = $this->db->get(); + + return $query->result(); + } + /** + * This function is used to get the userId information + * @return array $result : This is result of the query + */ + function getusers() + { + $this->db->select('userId, name'); + $this->db->from('tbl_users'); + //$this->db->where('roleId !=', 1); + $query = $this->db->get(); + + return $query->result(); + } +/** + * This function is used to get the Raw Material information + * @return array $result : This is result of the query + */ + function getRawPOMaterialList($ReqNo,$IsArray='') + { + + $result = $this->db-> query("CALL P_GET_REQUISTIONLIST('".$ReqNo."')") or die(mysql_error()); + + $result ->next_result(); + + //print_r($this->db->last_query()); + + if ($result->num_rows > 0) + { + //echo 'PO Line item Inserted successfully'; + if($IsArray != '') + { + return $result->result_array(); + } + else + { + return $result->result(); + } + } + + } + + /** + This Function to get the List of Requistion which require to create PO + */ + function getAllRequistionListToCreatePO() + { + $result = $this->db-> query("CALL P_PURCHASEORDER_DETAILS()") or die(mysql_error()); + + $result ->next_result(); + + + if ($result->num_rows > 0) + { + + return $result->result(); + } + } + + /** + * This function is used to get the Raw Material information + * @return array $result : This is result of the query + */ + function getRawMaterialList($MatType='',$ReqNoList='') + { + + $this->db->select('ReqNo,Req.MaterialCode,MaterialName,UOM,Req.Quantity'); + $this->db->from('T_Requestion_Details Req'); + $this->db->join('T_MaterialMaster mat', 'Req.MaterialCode = mat.MaterialCode'); + $this->db->where('mat.MaterialType', $MatType); + $this->db->where_in('Req.ReqNo', $ReqNoList); + + $query = $this->db->get(); + //print_r($this->db->last_query()); + return $query->result(); + } + /** + * This function is used to get the Raw Material information + * @return array $result : This is result of the query + */ + function getRawMaterialListForPO($MatType='',$ReqNo='') + { + $subQuery ='SELECT ReqNo,Req.MaterialCode,MaterialName,UOM,Req.Quantity + FROM T_Requestion_Details Req + JOIN T_MaterialMaster mat ON Req.MaterialCode = mat.MaterialCode + where mat.MaterialType = ? + AND Req.ReqNo = ? + AND mat.MaterialCode != (SELECT MaterialCode FROM T_PurchaseOrder_LineItem WHERE ReqNo =? + )'; + + $query = $this->db->query($subQuery,array($MatType,$ReqNo,$ReqNo)); + + return $query->result_array(); + + + } + function GetAvailableBudgetAmount($CostCode,$Year,$BudgetType) + { + /* $this->db->select('BudgetAmount'); + $this->db->from('T_CostCenter_Budget'); + $this->db->where('CostCenterCode',$CostCode ); + $this->db->where('BudgetYear',$Year ); + $this->db->where('BudgetType',$BudgetType ); + $query = $this->db->get(); + + return $query->result_array(); */ + + $subQuery ='select BudgetAmount, (select ifnull(sum(TotalOrderValue),0) as Totalvalue from + T_PurchaseOrder_Master PO join T_PurchaseOrder_LineItem Item on + Item.PONO = PO.PONO join T_Requestion_Master mast on mast.ReqNo = Item.ReqNo where Item.CostCenterCode=? and mast.ReqType=?)as Totalvalue + from T_CostCenter_Budget Bud where Bud.CostCenterCode=? and + BudgetYear = ? and BudgetType =?'; + + $query = $this->db->query($subQuery,array($CostCode,$BudgetType,$CostCode,$Year,$BudgetType)); + //print_r($this->db->last_query()); + return $query->result_array(); + + } + + /** + * This function is used to get the Requsition List for the login user + * @return array $result : This is result of the query + */ + function getRequistDetails($ReqNoList='') + { + $this->db->distinct(); + $this->db->select('ReqNo,ReqType,Status,Requestedby,mast.CreatedDate,emp.FirstName,emp.EmpID,emp.Designation, Dept.DEPCode,Dept.DepartmentName,mast.ReqDate,mast.CostCenterCode,mast.Status'); + $this->db->from('T_Requestion_Master mast'); + $this->db->join('T_Employee_Details emp', 'mast.Requestedby = emp.EmpID'); + $this->db->join('T_DepartmentDetails Dept', 'emp.Departmentcode = Dept.DEPCode'); + $this->db->where_in('mast.ReqNo', $ReqNoList); + + $query = $this->db->get(); + //print_r($this->db->last_query()); + return $query->result(); + } + /** + * This function is used to get the Requsition List for the login user + * @return array $result : This is result of the query + */ + function getRequistDetailsForPO($ReqNoList='') + { + $this->db->distinct(); + $this->db->select('ReqNo,ReqType,Status,Requestedby,mast.CreatedDate,emp.FirstName,emp.EmpID,emp.Designation, Dept.DEPCode,Dept.DepartmentName,mast.ReqDate'); + $this->db->from('T_Requestion_Master mast'); + $this->db->join('T_Employee_Details emp', 'mast.Requestedby = emp.EmpID'); + $this->db->join('T_DepartmentDetails Dept', 'emp.Departmentcode = Dept.DEPCode'); + $this->db->where_in('mast.ReqNo', $ReqNoList); + + $query = $this->db->get(); + + return $query->result(); + } + /** + * This function is used to get the Cost center information + * @return array $result : This is result of the query + */ + function getCostCenter() + { + + $this->db->select('CostName, Description'); + $this->db->from('T_CostCentre'); + + $query = $this->db->get(); + + return $query->result(); + } + + + /** + * This function is used to get the CostCenter for the Selected Requistion Number + * @return array $result : This is result of the query + */ + function getCostCenterbyRequist($ReqNo='',$BudYear='',$ReqType='') + { + + $this->db->distinct(); + $this->db->select('Mast.CostCenterCode,Mast.CostCenterName,Bud.BudgetAmount,ReqNo'); + $this->db->from('T_CostCenter_Master Mast'); + $this->db->join('T_CostCenter_Departments CostDept', 'CostDept.CostCenterCode = Mast.CostCenterCode'); + $this->db->join('T_CostCenter_Budget Bud', 'Bud.CostCenterCode = Mast.CostCenterCode'); + $this->db->join('T_Employee_Details emp', 'CostDept.DEPCode = emp.Departmentcode'); + $this->db->join('T_Requestion_Master req', 'req.Requestedby = emp.EmpID'); + + $this->db->where('BudgetType ',$ReqType ); + $this->db->where('BudgetYear ',$BudYear ); + if($ReqNo != '') + { + $this->db->where('ReqNo ',$ReqNo); + } + + $query = $this->db->get(); + return $query->result(); + } + +/** + * This function is used to get the Config value from configuration table + * @return array $result : This is result of the query + */ + function getRequistionNoFromPO($PONO='') + { + + $this->db->select('ReqNo,'); + $this->db->from('T_PurchaseOrder_LineItem'); + if($PONO != '') + { + $this->db->where('PONO ',$PONO ); + } + + $query = $this->db->get(); + + return $query->result(); + } + + + /** + * This function is used to get the Config value from configuration table + * @return array $result : This is result of the query + */ + function getConfigValue($ConfigID ,$ConfigValue = '') + { + + $this->db->select('ConfigValue'); + $this->db->from('T_ConfigDetails'); + $this->db->where('Config_id ',$ConfigID ); + if($ConfigValue != '') + { + $this->db->where('ConfigValue != ',$ConfigValue ); + } + $query = $this->db->get(); + + return $query->result(); + } + + + + + /** + * This function is used to get the Company information from T_Company_Details table + * @return array $result : This is result of the query + */ + function getCompanyInformation() + { + + $this->db->select('CompanyName,Address'); + $this->db->from('T_Company_Details'); + + $query = $this->db->get(); + + return $query->result(); + } + /** + * This function is used to get the Employee List + * @return array $result : This is result of the query + */ + function getAllEmployees() + { + $this->db->select('EmpID,FirstName,LastName'); + $this->db->from('T_Employee_Details'); + $query = $this->db->get(); + + return $query->result(); + } + + /** + * This function is used to get the Employee List + * @return array $result : This is result of the query + */ + function getLastCreatedPODate() + { + $this->db->select('max(PODate) as PODate'); + $this->db->from('T_PurchaseOrder_Master'); + $query = $this->db->get(); + + return $query->result(); + } + + function getLastReleasedPODate() + { + $this->db->select('max(ReleasedOn) as PODate'); + $this->db->from('T_PurchaseOrder_Master'); + $query = $this->db->get(); + + return $query->result(); + } + /** + * This function is used to add New Purchase order to the system + + */ + function addPOMaster($POMaster) + { + $this->db->trans_start(); + $this->db->insert('T_PurchaseOrder_Master', $POMaster); + $insert_id = $this->db->affected_rows(); + $this->db->trans_complete(); + // print_r($this->db->last_query()); + if($insert_id>0) + { + $subQuery = 'select max(PONO) as PONO from T_PurchaseOrder_Master'; + + $query = $this->db->query($subQuery); + + return $query->result_array(); + } + } + + + /** + * This function is used to add New Purchase order Line Item to the system + */ + function addPOLineItem($POLineItem) + { + $this->db->trans_start(); + $this->db->insert('T_PurchaseOrder_LineItem', $POLineItem); + $insert_id = $this->db->affected_rows(); + $this->db->trans_complete(); + // print_r($this->db->last_query()); + if($insert_id>0) + { + $subQuery = 'select max(LineItemNo) as LineItemNo from T_PurchaseOrder_LineItem'; + + $query = $this->db->query($subQuery); + + return $query->result_array(); + } + } + + /** + * This function is used to add Revenue Tax to the system + */ + function addRevenueTax($RevenueTaxList) + { + $this->db->trans_start(); + $this->db->insert('T_Revenue_Tax', $RevenueTaxList); + $insert_id = $this->db->affected_rows(); + $this->db->trans_complete(); + return $insert_id; + } + /** + * This function is used to add Service Tax to the system + */ + function addServiceTax($ServiceTaxList) + { + $this->db->trans_start(); + $this->db->insert('T_Service_Tax', $ServiceTaxList); + $insert_id = $this->db->affected_rows(); + $this->db->trans_complete(); + return $insert_id; + } + + + /** + * This function is used to add Service Tax to the system + */ + function addImportTax($ImportTaxList) + { + $this->db->trans_start(); + $this->db->insert('T_Import_Tax', $ImportTaxList); + $insert_id = $this->db->affected_rows(); + $this->db->trans_complete(); + return $insert_id; + } + + + /** + * This function used to get user information by id + * @param number $userId : This is user id + * @return array $result : This is user information + */ + function getuserInfo($PO) + { + $this->db->select('POType, PODate, SupplierID,SpecialOrder,UserID,RequestedDate,RequesterEmail,RequesterPh, PurchasingCategory,BudgetManager,BudgetManagerDepartment,'); + $this->db->from('T_PurchaseOrderDetails'); + $this->db->where('PONO', $PO); + $query = $this->db->get(); + + return $query->result(); + } + + // This Method to get the Service PO Details for Edit the Item + + function GetServicePurchaseOrder($PONO = '') + { + $this->db->distinct(); + $this->db->select('ReqNo,POMast.PONO,ServiceDescription,supp.SupplierID,supp.SupplierName,supp.Address,PODate,Stat.StatusName,DeliveryOption,DeliverySchedule,DeliveryDate,DeliveryAddress,POMast.PaymentTerms,POMast.PaymentDays,POMast.PayableAT,POMast.ExchangeRate,POMast.UpdatedOn,Stat.StatusCode'); + $this->db->from('T_PurchaseOrder_Master POMast'); + $this->db->join('T_SupplierDetailsN supp', 'supp.SupplierID = POMast.SupplierID'); + $this->db->join('T_Status Stat', 'Stat.StatusCode = POMast.Status'); + $this->db->join('T_PurchaseOrder_LineItem LineItem', 'POMast.PONO = LineItem.PONO'); + + $this->db->where('POMast.PONO', $PONO); + $query = $this->db->get(); + + $result = $query->result(); + + return $result; + } + + // This Method to get the Service PO Child Details for Edit the Item + function GetServicePurchaseOrderDetails($PONO = '') + { + + $subQuery ='SELECT distinct LineItem.LineItemNo,ReqNo,Mat.MaterialCode,Mat.MaterialName,Mat.UOM,Quantity,Rate,Status,ROUND((Quantity *Rate),2 ) as BasicValue ,ROUND((ServiceTax + EducessTax + SecHigherEducessTax + KrishiKalyantax + SwachhBharattax),2)as Taxamount + ,TotalValue,ServiceTax,EducessTax,SecHigherEducessTax,KrishiKalyantax,SwachhBharattax,CostCenterCode + FROM T_PurchaseOrder_LineItem LineItem + join T_MaterialMaster Mat on Mat.MaterialCode = LineItem.MaterialCode + join T_Service_Tax Tax on Tax.LineItemNo = LineItem.LineItemNo + where LineItem.PONO =?'; + + $query = $this->db->query($subQuery,array($PONO)); + + return $query->result(); + + + } + + // This Method to get the Service PO Child Details for Edit the Item + function GetServicePurchaseOrderDetailsForPrint($PONO = '') + { + + $subQuery ='SELECT distinct LineItem.LineItemNo,ReqNo,Mat.MaterialCode,Mat.MaterialName,Mat.UOM, + Quantity,Rate,ROUND((Quantity *Rate),2 ) as BasicValue ,ROUND((ServiceTax + EducessTax + SecHigherEducessTax + KrishiKalyantax + SwachhBharattax),2)as Taxamount + ,TotalValue,ServiceTax,EducessTax,SecHigherEducessTax,KrishiKalyantax,SwachhBharattax,CostCenterCode ,sup.SupplierName,sup.Address,POMaster.DeliveryAddress,POMaster.DeliveryDate,POMaster.Status,POMaster.PODate,POMaster.PONO,POMaster.ServiceDescription FROM T_PurchaseOrder_LineItem LineItem + join T_MaterialMaster Mat on Mat.MaterialCode = LineItem.MaterialCode + join T_Service_Tax Tax on Tax.LineItemNo = LineItem.LineItemNo + join T_PurchaseOrder_Master POMaster on POMaster.PONO = LineItem.PONO + join T_SupplierDetailsN sup on sup.SupplierID = POMaster.SupplierID + where LineItem.PONO =?'; + + $query = $this->db->query($subQuery,array($PONO)); + + return $query->result(); + + + } + + // This Method to get the Revenue PO Child Details for Edit the Item + function GetRevenuePurchaseOrderDetails($PONO = '') + { + + $subQuery ='SELECT distinct LineItem.LineItemNo,Req.ReqNo,Mat.MaterialCode,Mat.MaterialName,Mat.UOM,Quantity,Rate,Req.Status,ROUND((Quantity *Rate),2 ) as BasicValue , ROUND(((AfterPackagingValue + AfterFreightValue + AfterExciseDuty + AfterVAT + AfterCST + AfterGST + AfterOtherTaxes + Insurance) - AfterDiscount ),2)as Taxamount ,TotalValue,Tax.*,Req.CostCenterCode,Dept.DepartmentName + FROM T_PurchaseOrder_LineItem LineItem + join T_MaterialMaster Mat on Mat.MaterialCode = LineItem.MaterialCode + join T_Revenue_Tax Tax on Tax.LineItemNo = LineItem.LineItemNo + join T_Requestion_Master Req on Req.ReqNo = LineItem.ReqNo + join T_Employee_Details emp on Req.Requestedby = emp.EmpID + join T_DepartmentDetails Dept on emp.Departmentcode = Dept.DEPCode + where LineItem.PONO =?'; + + $query = $this->db->query($subQuery,array($PONO)); + + return $query->result(); + + + } + + // This Method to get the Revenue PO Child Details for Edit the Item + function GetRevenuePurchaseOrderDetailsForPDF($PONO = '') + { + + $subQuery ='SELECT distinct LineItem.LineItemNo,ReqNo,Mat.MaterialCode,Mat.MaterialName, + Mat.UOM,Quantity,Rate,ROUND((Quantity *Rate),2 ) as BasicValue , + ROUND(((AfterPackagingValue + AfterFreightValue + AfterExciseDuty + AfterVAT + AfterCST + + AfterGST + AfterOtherTaxes + Insurance)) ,2)as Taxamount , + TotalValue,Tax.*,CostCenterCode , POMaster.*,sup.SupplierName,sup.Address + FROM T_PurchaseOrder_LineItem LineItem + join T_MaterialMaster Mat on Mat.MaterialCode = LineItem.MaterialCode + join T_Revenue_Tax Tax on Tax.LineItemNo = LineItem.LineItemNo + join T_PurchaseOrder_Master POMaster on POMaster.PONO = LineItem.PONO + join T_SupplierDetailsN sup on sup.SupplierID = POMaster.SupplierID + where LineItem.PONO =?'; + + $query = $this->db->query($subQuery,array($PONO)); + + return $query->result(); + + + } + + +function GetImportPurchaseOrderDetailsForPDF($PONO = '') + { + + $subQuery ='SELECT distinct LineItem.LineItemNo,ReqNo,Mat.MaterialCode,Mat.MaterialName, + Mat.UOM,Quantity,Rate,ROUND((RMCIncludingCustomersPerKG*Quantity),2)as Taxamount , + ProductPrice,Tax.*,CostCenterCode , POMaster.*,sup.SupplierName,sup.Address + FROM T_PurchaseOrder_LineItem LineItem + join T_MaterialMaster Mat on Mat.MaterialCode = LineItem.MaterialCode + join T_Import_Tax Tax on Tax.LineItemNo = LineItem.LineItemNo + join T_PurchaseOrder_Master POMaster on POMaster.PONO = LineItem.PONO + join T_SupplierDetailsN sup on sup.SupplierID = POMaster.SupplierID + where LineItem.PONO =?'; + + $query = $this->db->query($subQuery,array($PONO)); + + return $query->result(); + + + } + + + function GetCurrencyDetail($Currency='') + { + + $subQuery='SELECT Currency_Code,Country_and_Currency,FontCode2000 from T_Currency_Details where Currency_Code=?'; + $query=$this->db->query($subQuery,array($Currency)); + //print_r($query); + return $query->result(); + + } + + + function GetPOStatus($Status='') + { + $subQuery='SELECT StatusName from T_Status where StatusCode=?'; + $query=$this->db->query($subQuery,array($Status)); + return $query->result(); + + } + + + function GetPaymentTerms($PONO='') + { + $subQuery='SELECT PaymentTerms from T_PurchaseOrder_Master where PONO=?'; + $query=$this->db->query($subQuery,array($PONO)); + //print_r($query); + return $query->result(); + + } + + + + + function getSupplierPayment($Currency='') + { + + $subQuery='select distinct PaymentTerms from T_SupplierDetailsN'; + $query=$this->db->query($subQuery,array($Currency)); + //print_r($this->db->last_query()); + return $query->result(); + + } + + function GetWorkStatus($Config_ID='') + { + $subQuery = 'select ConfigValue from T_ConfigDetails where Config_ID=?'; + $query=$this->db->query($subQuery,array($Config_ID)); + //print_r($query); + return $query->result(); + } + + + + + +function GetImportPurchaseOrderDetails($PONO = '') + { + + $subQuery ='SELECT distinct LineItem.LineItemNo,Req.ReqNo,Mat.MaterialCode,Mat.MaterialName, +Mat.UOM,Quantity,Rate,Req.Status,ROUND((Quantity *Rate),2 ) as BasicValue , + ROUND((RMCIncludingCustomersPerKG*Quantity),2)as Taxamount,LandingCharge,HighSeasSalesCharge,CustomDuty,ExciseDuty,ExciseDutyEdCess,CustomEdCess,ExchangeRate,AfterLandingCharge,AfterHighSeasSalesCharge,AfterCustomDuty,AfterExciseDuty,AfterExciseDutyEdCess,AddlExciseDuty,AfterAddlExciseDuty,Grossdutypayable,AvailableModvat,Grossexpensesduetocustomduty,purchaseratePerKG,CustomDutyExpensesPerKG,RMCIncludingCustomersPerKG,QuantityKG,BasicPriceInMTon,ProductPrice,CustomSHCess,AfterCustomSHCess,AfterExciseDutySHCess,ExciseDutySHCess,AfterCustomEdCess,ROUND((Quantity *Rate)+(RMCIncludingCustomersPerKG*Quantity),2)as TotalOrderValue,ROUND((ExchangeRate*BasicPriceInMTon),2) as BasicINRValue,TotalValue,CurrencyType, + + Req.CostCenterCode,Dept.DepartmentName FROM T_PurchaseOrder_LineItem LineItem + join T_MaterialMaster Mat on Mat.MaterialCode = LineItem.MaterialCode + join T_Import_Tax Tax on Tax.LineItemNo = LineItem.LineItemNo + join T_Requestion_Master Req on Req.ReqNo = LineItem.ReqNo + join T_Employee_Details emp on Req.Requestedby = emp.EmpID + join T_DepartmentDetails Dept on emp.Departmentcode = Dept.DEPCode where LineItem.PONO =?'; + //print_r($subQuery); + + $query = $this->db->query($subQuery,array($PONO)); + + return $query->result(); + + + } + + + +function GetCurrencytype() + { + + $subQuery = 'select * from T_Currency_Details'; + + $query = $this->db->query($subQuery); + + return $query->result(); + } + + + + + + + // To Update the PO + function updatePOMaster($PONO,$PODetails) + { + $this->db->where('PONO', $PONO); + $this->db->update('T_PurchaseOrder_Master', $PODetails); + + return TRUE; + } + + + // To update Parent PO as Amended PO + function updateAmendPOMaster($PONO,$PODetail) + { + //echo $PONO."from model"; + + + $this->db->where('PONO', $PONO); + $this->db->update('T_PurchaseOrder_Master', $PODetail); + $insert_id = $this->db->affected_rows(); + + return $insert_id; + } + /** + * This function is used to check the Line Item is already available in the database + * @return array $result : This is result of the query + */ + function LineItemExists($LineItemNo) + { + $this->db->select('LineItemNo,TaxID'); + $this->db->from('T_Service_Tax'); + $this->db->where('LineItemNo ',$LineItemNo ); + //$this->db->where('Requestedby ',$ReqBy ); + $query = $this->db->get(); + + if ($query->num_rows > 0) { + //echo $result->num_rows; + return $query->result_array(); + } + } + /** + * This function is used to check the Revenue Line Item is already available in the database + * @return array $result : This is result of the query + */ + function LineItemExistsinRevenueTax($LineItemNo) + { + $this->db->select('LineItemNo'); + $this->db->from('T_Revenue_Tax'); + $this->db->where('LineItemNo ',$LineItemNo ); + $query = $this->db->get(); + + if ($query->num_rows > 0) { + return $query->result_array(); + } + } + + + function LineItemExistsinImportTax($LineItemNo) + { + $this->db->select('LineItemNo'); + $this->db->from('T_Import_Tax'); + $this->db->where('LineItemNo ',$LineItemNo ); + $query = $this->db->get(); + + if ($query->num_rows > 0) { + return $query->result_array(); + } + } + // To Update the PO Line Item + function updatePOLineItem($PONO,$LineItemNo,$PODetails) + { + $this->db->where('PONO', $PONO); + $this->db->where('LineItemNo', $LineItemNo); + $this->db->update('T_PurchaseOrder_LineItem', $PODetails); + + return TRUE; + } + /*// To Update the Service Tax Item */ + function updateServiceTax($LineItemNo,$PODetails) + { + + $this->db->where('LineItemNo', $LineItemNo); + $this->db->update('T_Service_Tax', $PODetails); + + // print_r($this->db->last_query()); + + return TRUE; + } + + /*// To Update the Revenue Tax Item */ + function updateRevenueTax($LineItemNo,$PODetails) + { + $this->db->where('LineItemNo', $LineItemNo); + $this->db->update('T_Revenue_Tax', $PODetails); + + // print_r($this->db->last_query()); + + return TRUE; + } + + function updateImportTax($LineItemNo,$PODetails) + { + $this->db->where('LineItemNo', $LineItemNo); + $this->db->update('T_Import_Tax', $PODetails); + + // print_r($this->db->last_query()); + + return TRUE; + } + + function getLastInsertedPO() + { + $this->db->select('max(PONO) as PO'); + $this->db->from('T_PurchaseOrderDetails'); + $query = $this->db->get(); + + return $query->result_array(); + } + + + /* This Method to get all the Department name for the requistion */ + function getDepartmentListForAllReq() + { + $subQuery ='SELECT DISTINCT DEPT.DEPCode,DEPT.DepartmentName FROM T_Requestion_Master REQ + JOIN T_Employee_Details EMP ON REQ.Requestedby = EMP.EmpID + JOIN T_DepartmentDetails DEPT ON EMP.Departmentcode = DEPT.DEPCode WHERE REQ.Status not in(?,?,?,?)'; + + $query = $this->db->query($subQuery,array(REQ_DRAFT,REQ_PENDING_APPROVAL,REQ_DELETED,REQ_REJECTED)); + //print_r($query); + return $query->result(); + } + /* + This Method to get all department list + */ + function getDepartmentAllList() + { + $subQuery ='SELECT DISTINCT DEPCode,DepartmentName FROM T_DepartmentDetails'; + + $query = $this->db->query($subQuery); + //print_r($query); + return $query->result(); + } + + + function getStatusListforAllReq() + { + $subQuery ='SELECT DISTINCT STAT.StatusCode, STAT.StatusName FROM T_Requestion_Master REQ + JOIN T_Status STAT on REQ.Status = STAT.StatusCode where STAT.StatusCode not in (?,?,?,?)'; + $query = $this->db->query($subQuery,array(REQ_DRAFT,REQ_PENDING_APPROVAL,REQ_DELETED,REQ_REJECTED)); + + // print_r( $this->db->last_query()); + + return $query->result(); + } + + function getStatusByDepartment($DepNo='') + { + + $subQuery ='SELECT DISTINCT STAT.StatusCode ,STAT.StatusName FROM T_Requestion_Master REQ + JOIN T_Employee_Details EMP ON REQ.Requestedby = EMP.EmpID + JOIN T_DepartmentDetails DEPT ON EMP.Departmentcode = DEPT.DEPCode + JOIN T_Status STAT ON REQ.Status = STAT.StatusCode + WHERE DEPT.DEPCode=? AND REQ.Status NOT IN (?,?,?,?)'; + $query = $this->db->query($subQuery,array($DepNo,REQ_DRAFT,REQ_PENDING_APPROVAL,REQ_DELETED,REQ_REJECTED)); + + return $query->result_array(); + } + + function getRequistionListbySearch($Depid='',$Status='',$FromDate='',$ToDate='') + { + $subQuery =' SELECT ReqNo,ReqType,Requestedby,EMP.FirstName,EMP.Designation,STAT.StatusCode ,STAT.StatusName,ReqDate,DEPT.DEPCode,DEPT.DepartmentName FROM T_Requestion_Master REQ + JOIN T_Employee_Details EMP ON REQ.Requestedby = EMP.EmpID + JOIN T_DepartmentDetails DEPT ON EMP.Departmentcode = DEPT.DEPCode + JOIN T_Status STAT on REQ.Status = STAT.StatusCode + where REQ.Status NOT IN (?,?,?,?,?)'; + + $appendQuery = $subQuery ; + + if($Depid != '' && $Status != '' && $FromDate != '' && $ToDate != '') + { + $appendQuery .= ' AND DEPT.DEPCode=? AND STAT.StatusCode=? AND ReqDate >= ? AND ReqDate <= ?'; + //echo "$appendQuery";die(); + $query = $this->db->query($appendQuery,array(REQ_DRAFT,REQ_PENDING_APPROVAL,REQ_DELETED,REQ_REJECTED,REQ_PO_CREATED,$Depid ,$Status,$FromDate,$ToDate)); + //print_r($this->db->last_query()); + return $query->result_array(); + } + else if($Depid != '' && $Status == '' && $FromDate == '' && $ToDate == '') + { + $appendQuery .= ' AND DEPT.DEPCode=?'; + + $query = $this->db->query($appendQuery,array(REQ_DRAFT,REQ_PENDING_APPROVAL,REQ_DELETED,REQ_REJECTED,REQ_PO_CREATED,$Depid)); + //print_r($this->db->last_query()); + return $query->result_array(); + } + else if($Depid == '' && $Status != '' && $FromDate == '' && $ToDate == '') + { + $appendQuery .= ' AND STAT.StatusCode=?'; + + $query = $this->db->query($appendQuery,array(REQ_DRAFT,REQ_PENDING_APPROVAL,REQ_DELETED,REQ_REJECTED,REQ_PO_CREATED,$Status)); + //print_r($this->db->last_query()); + return $query->result_array(); + } + else if($Depid == '' && $Status == '' && $FromDate != '' && $ToDate != '') + { + $appendQuery .= ' AND ReqDate >= ? AND ReqDate <= ?'; + + $query = $this->db->query($appendQuery,array(REQ_DRAFT,REQ_PENDING_APPROVAL,REQ_DELETED,REQ_REJECTED,REQ_PO_CREATED,$FromDate,$ToDate)); + //print_r($this->db->last_query()); + return $query->result_array(); + } + else if($Depid != '' && $Status != '' && $FromDate == '' && $ToDate == '') + { + $appendQuery .= ' AND DEPT.DEPCode=? AND STAT.StatusCode=?'; + + $query = $this->db->query($appendQuery,array(REQ_DRAFT,REQ_PENDING_APPROVAL,REQ_DELETED,REQ_REJECTED,REQ_PO_CREATED,$Depid ,$Status)); + // print_r($this->db->last_query()); + return $query->result_array(); + } + else if($Depid != '' && $Status == '' && $FromDate != '' && $ToDate != '') + { + $appendQuery .= ' AND DEPT.DEPCode=? AND ReqDate >= ? AND ReqDate <= ?'; + + $query = $this->db->query($appendQuery,array(REQ_DRAFT,REQ_PENDING_APPROVAL,REQ_DELETED,REQ_REJECTED,REQ_PO_CREATED,$Depid ,$FromDate,$ToDate)); + //print_r($this->db->last_query()); + return $query->result_array(); + } + else if($Depid == '' && $Status != '' && $FromDate != '' && $ToDate != '') + { + $appendQuery .= ' AND STAT.StatusCode=? AND ReqDate >= ? AND ReqDate <= ?'; + + $query = $this->db->query($appendQuery,array(REQ_DRAFT,REQ_PENDING_APPROVAL,REQ_DELETED,REQ_REJECTED,REQ_PO_CREATED,$Status ,$FromDate,$ToDate)); + // print_r($this->db->last_query()); + return $query->result_array(); + } + else + { + $query = $this->db->query($subQuery,array(REQ_DRAFT,REQ_PENDING_APPROVAL,REQ_DELETED,REQ_REJECTED,REQ_PO_CREATED)); + //print_r($this->db->last_query()); + return $query->result(); + } + + } + + function UpdateRequistItemStatus() + { + $query = $this->db->query("update T_Requestion_Details REQ + JOIN T_PurchaseOrder_LineItem line ON REQ.ReqNo = line.ReqNo + JOIN T_PurchaseOrder_Master PO ON PO.PONO = line.PONO + set REQ.Status = CASE WHEN REQ.Quantity = line.Quantity THEN 'ST022' WHEN REQ.Quantity > line.Quantity THEN 'ST023' ELSE 'ST003' END , + REQ.updatedOn= CURRENT_TIMESTAMP + where PO.Status ='".PO_CREATED."'"); + + //$query ->next_result(); + + } + function UpdateRequistionStatus() + { + $result = $this->db-> query("CALL P_UPDATE_REQUISTIONSTATUS_New()") or die(mysql_error()); + + $result ->next_result(); + + } + /** + * This function is used to delete the Line item from details into Database + * @return array $result : This is result of the query + */ + function DeletePOLineItem( $LineItem='',$ReqNo='',$MaterialCode='') + { + $this->db->where('LineItemNo', $LineItem); + $this->db->where('ReqNo', $ReqNo); + $this->db->where('MaterialCode', $MaterialCode); + $this->db->delete('T_PurchaseOrder_LineItem'); + + return TRUE; + } + + /** + * This function is used to delete the Revenue item from details into Database + * @return array $result : This is result of the query + */ + function DeletePORevenueTax( $LineItem='') + { + $this->db->where('LineItemNo', $LineItem); + $this->db->delete('T_Revenue_Tax'); + + return TRUE; + } + + /** + * This function is used to delete Service Tax from details into Database + * @return array $result : This is result of the query + */ + function DeletePOServiceTax( $LineItem='') + { + $this->db->where('LineItemNo', $LineItem); + $this->db->delete('T_Service_Tax'); + + return TRUE; + } + + + function DeletePOImportTax( $LineItem='') + { + $this->db->where('LineItemNo', $LineItem); + $this->db->delete('T_Import_Tax'); + + return TRUE; + } + + /** + * This function is used to get the List of PO details to the approver + * @return array $result : This is result of the query + join T_DepartmentDetails Dept on emp.Departmentcode = Dept.DEPCode + */ + function getPOList($q) + { + + $this->db->distinct(); + $this->db->select('mast.PONO,mast.TotalOrderValue,st.StatusName,emp.FirstName,mast.CreatedDate,ccm.CostCenterName,rmast.ReqType,bud.BudgetAmount,mast.Remarks'); + $this->db->from('T_PurchaseOrder_Master mast'); + $this->db->join('T_Status st', 'st.StatusCode=mast.Status'); + $this->db->join('tbl_users tbl', 'mast.createdby=tbl.userid'); + $this->db->join('T_Employee_Details as emp', 'emp.empid=tbl.empid'); + $this->db->join('T_PurchaseOrder_LineItem req', 'req.PONO= mast.PONO'); + $this->db->join('T_Requestion_Master rmast','rmast.ReqNo=req.ReqNo'); + $this->db->join('T_CostCenter_Budget bud','bud.CostCenterCode = req.CostCenterCode and bud.BudgetType = rmast.ReqType'); + $this->db->join('T_CostCenter_Master ccm','ccm.CostCenterCode = req.CostCenterCode and ccm.CostCenterCode = bud.CostCenterCode'); + $this->db->where('mast.Status','ST030'); // EMERGENGY PO + if($q=='A'){ + $this->db->where('mast.Status','ST015');//PO CREATED + $this->db->or_where('mast.Status','ST020');//ON HOLD + $this->db->or_where('mast.Status','ST025');// PO APPROVED + $this->db->or_where('mast.Status','ST026');//PO RELEASED + $this->db->or_where('mast.Status','ST024'); // EMERGENGY PO + } + else if($q=='R'){ + $this->db->or_where('mast.Status','ST025');// PO APPROVED + } + $result=$this->db->get(); + // print_r($result->result()); + return $result->result(); + + + + + + } + + + function UpdatePO($store, $PONO) + { + + $this->db->where('PONO', $PONO); + $this->db->update('T_PurchaseOrder_Master', $store); + + return TRUE; + } + + function GetReleasedDetails($PONO){ + $this->db->select('mast.ReleasedOn,re.FirstName'); + $this->db->from('T_PurchaseOrder_Master mast'); + $this->db->join('tbl_users tbl','mast.ReleasedBy=tbl.userid'); + $this->db->join('T_Employee_Details re','re.EmpID=tbl.EmpID'); + $this->db->where('mast.PONO',$PONO); + $result=$this->db->get(); + + return $result->result(); + + } + //This is get the capital po list for edit + +function getCapitalPurchaseOrderDetails($PONO = '') + { + + $subQuery ='SELECT distinct LineItem.LineItemNo,Req.ReqNo,Mat.MaterialCode,Mat.MaterialName, +Mat.UOM,Quantity,Rate,Req.Status,ROUND((Quantity *Rate),2 ) as BasicValue ,ROUND((ServiceTax.ServiceTax + ServiceTax.EducessTax + ServiceTax.SecHigherEducessTax + ServiceTax.KrishiKalyantax + ServiceTax.SwachhBharattax),2) as ServiceTaxamount + ,ServiceTax.TotalValue,ServiceTax,EducessTax,ServiceTax.SecHigherEducessTax,ServiceTax.KrishiKalyantax,ServiceTax.SwachhBharattax, + ROUND((RMCIncludingCustomersPerKG*Quantity),2)as Taxamount,LandingCharge,HighSeasSalesCharge,CustomDuty,ExciseDuty,ExciseDutyEdCess,CustomEdCess,ExchangeRate,AfterLandingCharge,AfterHighSeasSalesCharge,AfterCustomDuty,AfterExciseDuty,AfterExciseDutyEdCess,AddlExciseDuty,AfterAddlExciseDuty,Grossdutypayable,AvailableModvat,Grossexpensesduetocustomduty,purchaseratePerKG,CustomDutyExpensesPerKG,RMCIncludingCustomersPerKG,QuantityKG,BasicPriceInMTon,ProductPrice,CustomSHCess,AfterCustomSHCess,AfterExciseDutySHCess,ExciseDutySHCess,AfterCustomEdCess,ROUND((ExchangeRate*BasicPriceInMTon*Quantity),2) as BasicINRValue,Tax.TotalValue as ImportTotalValue,CurrencyType, + + Req.CostCenterCode,Dept.DepartmentName FROM T_PurchaseOrder_LineItem LineItem +join T_MaterialMaster Mat on Mat.MaterialCode = LineItem.MaterialCode + join T_Service_Tax ServiceTax on ServiceTax.LineItemNo = LineItem.LineItemNo + join T_Import_Tax Tax on Tax.LineItemNo = LineItem.LineItemNo + join T_Requestion_Master Req on Req.ReqNo = LineItem.ReqNo + join T_Employee_Details emp on Req.Requestedby = emp.EmpID + + join T_DepartmentDetails Dept on emp.Departmentcode = Dept.DEPCode where LineItem.PONO =?'; + //print_r($subQuery); + + $query = $this->db->query($subQuery,array($PONO)); + + return $query->result(); + + + } + + // This Method to get the Capital PO Details for pdf + function GetCapitalPurchaseOrderDetailsForPDF($PONO = '') + { + + $subQuery ='SELECT distinct LineItem.LineItemNo,ReqNo,Mat.MaterialCode,Mat.MaterialName, + Mat.UOM,Quantity,Rate,ROUND((Quantity *Rate),2 ) as BasicValue , + ROUND((ServiceTax + EducessTax + SecHigherEducessTax + KrishiKalyantax + SwachhBharattax),2)as Taxamount + ,TotalValue,ServiceTax,EducessTax,SecHigherEducessTax,KrishiKalyantax,SwachhBharattax,CostCenterCode , POMaster.*,sup.SupplierName,sup.Address + FROM T_PurchaseOrder_LineItem LineItem + join T_MaterialMaster Mat on Mat.MaterialCode = LineItem.MaterialCode + join T_Service_Tax Tax on Tax.LineItemNo = LineItem.LineItemNo + join T_PurchaseOrder_Master POMaster on POMaster.PONO = LineItem.PONO + join T_SupplierDetailsN sup on sup.SupplierID = POMaster.SupplierID + where LineItem.PONO =?'; + + $query = $this->db->query($subQuery,array($PONO)); + + return $query->result(); + + + } + // get requested by details + function GetRequesedByDetails($PONO){ + $this->db->select('mast.CreatedBy,re.FirstName,Dept.DEPCode,Dept.DepartmentName'); + $this->db->from('T_PurchaseOrder_Master mast'); + $this->db->join('tbl_users tbl','mast.CreatedBy=tbl.userid'); + $this->db->join('T_Employee_Details re','re.EmpID=tbl.EmpID'); + $this->db->join('T_DepartmentDetails Dept', 're.Departmentcode = Dept.DEPCode'); + + $this->db->where('mast.PONO',$PONO); + $result=$this->db->get(); + + return $result->result(); + + } +} \ No newline at end of file diff --git a/application/models/rawmaterialdetails_model.php b/application/models/rawmaterialdetails_model.php old mode 100644 new mode 100755 diff --git a/application/models/requistion_model.php b/application/models/requistion_model.php old mode 100644 new mode 100755 diff --git a/application/models/supplier_model.php b/application/models/supplier_model.php old mode 100644 new mode 100755 diff --git a/application/models/user_model.php b/application/models/user_model.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel.php b/application/third_party/PHPExcel.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Autoloader.php b/application/third_party/PHPExcel/Autoloader.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/CachedObjectStorage/APC.php b/application/third_party/PHPExcel/CachedObjectStorage/APC.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/CachedObjectStorage/CacheBase.php b/application/third_party/PHPExcel/CachedObjectStorage/CacheBase.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/CachedObjectStorage/DiscISAM.php b/application/third_party/PHPExcel/CachedObjectStorage/DiscISAM.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/CachedObjectStorage/ICache.php b/application/third_party/PHPExcel/CachedObjectStorage/ICache.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/CachedObjectStorage/Igbinary.php b/application/third_party/PHPExcel/CachedObjectStorage/Igbinary.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/CachedObjectStorage/Memcache.php b/application/third_party/PHPExcel/CachedObjectStorage/Memcache.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/CachedObjectStorage/Memory.php b/application/third_party/PHPExcel/CachedObjectStorage/Memory.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/CachedObjectStorage/MemoryGZip.php b/application/third_party/PHPExcel/CachedObjectStorage/MemoryGZip.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/CachedObjectStorage/MemorySerialized.php b/application/third_party/PHPExcel/CachedObjectStorage/MemorySerialized.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/CachedObjectStorage/PHPTemp.php b/application/third_party/PHPExcel/CachedObjectStorage/PHPTemp.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/CachedObjectStorage/SQLite.php b/application/third_party/PHPExcel/CachedObjectStorage/SQLite.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/CachedObjectStorage/SQLite3.php b/application/third_party/PHPExcel/CachedObjectStorage/SQLite3.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/CachedObjectStorage/Wincache.php b/application/third_party/PHPExcel/CachedObjectStorage/Wincache.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/CachedObjectStorageFactory.php b/application/third_party/PHPExcel/CachedObjectStorageFactory.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/CalcEngine/CyclicReferenceStack.php b/application/third_party/PHPExcel/CalcEngine/CyclicReferenceStack.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/CalcEngine/Logger.php b/application/third_party/PHPExcel/CalcEngine/Logger.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Calculation.php b/application/third_party/PHPExcel/Calculation.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Calculation/Database.php b/application/third_party/PHPExcel/Calculation/Database.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Calculation/DateTime.php b/application/third_party/PHPExcel/Calculation/DateTime.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Calculation/Engineering.php b/application/third_party/PHPExcel/Calculation/Engineering.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Calculation/Exception.php b/application/third_party/PHPExcel/Calculation/Exception.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Calculation/ExceptionHandler.php b/application/third_party/PHPExcel/Calculation/ExceptionHandler.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Calculation/Financial.php b/application/third_party/PHPExcel/Calculation/Financial.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Calculation/FormulaParser.php b/application/third_party/PHPExcel/Calculation/FormulaParser.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Calculation/FormulaToken.php b/application/third_party/PHPExcel/Calculation/FormulaToken.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Calculation/Function.php b/application/third_party/PHPExcel/Calculation/Function.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Calculation/Functions.php b/application/third_party/PHPExcel/Calculation/Functions.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Calculation/Logical.php b/application/third_party/PHPExcel/Calculation/Logical.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Calculation/LookupRef.php b/application/third_party/PHPExcel/Calculation/LookupRef.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Calculation/MathTrig.php b/application/third_party/PHPExcel/Calculation/MathTrig.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Calculation/Statistical.php b/application/third_party/PHPExcel/Calculation/Statistical.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Calculation/TextData.php b/application/third_party/PHPExcel/Calculation/TextData.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Calculation/Token/Stack.php b/application/third_party/PHPExcel/Calculation/Token/Stack.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Calculation/functionlist.txt b/application/third_party/PHPExcel/Calculation/functionlist.txt old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Cell.php b/application/third_party/PHPExcel/Cell.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Cell/AdvancedValueBinder.php b/application/third_party/PHPExcel/Cell/AdvancedValueBinder.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Cell/DataType.php b/application/third_party/PHPExcel/Cell/DataType.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Cell/DataValidation.php b/application/third_party/PHPExcel/Cell/DataValidation.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Cell/DefaultValueBinder.php b/application/third_party/PHPExcel/Cell/DefaultValueBinder.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Cell/Hyperlink.php b/application/third_party/PHPExcel/Cell/Hyperlink.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Cell/IValueBinder.php b/application/third_party/PHPExcel/Cell/IValueBinder.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Chart.php b/application/third_party/PHPExcel/Chart.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Chart/Axis.php b/application/third_party/PHPExcel/Chart/Axis.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Chart/DataSeries.php b/application/third_party/PHPExcel/Chart/DataSeries.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Chart/DataSeriesValues.php b/application/third_party/PHPExcel/Chart/DataSeriesValues.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Chart/Exception.php b/application/third_party/PHPExcel/Chart/Exception.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Chart/GridLines.php b/application/third_party/PHPExcel/Chart/GridLines.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Chart/Layout.php b/application/third_party/PHPExcel/Chart/Layout.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Chart/Legend.php b/application/third_party/PHPExcel/Chart/Legend.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Chart/PlotArea.php b/application/third_party/PHPExcel/Chart/PlotArea.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Chart/Properties.php b/application/third_party/PHPExcel/Chart/Properties.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Chart/Renderer/PHP Charting Libraries.txt b/application/third_party/PHPExcel/Chart/Renderer/PHP Charting Libraries.txt old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Chart/Renderer/jpgraph.php b/application/third_party/PHPExcel/Chart/Renderer/jpgraph.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Chart/Title.php b/application/third_party/PHPExcel/Chart/Title.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Comment.php b/application/third_party/PHPExcel/Comment.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/DocumentProperties.php b/application/third_party/PHPExcel/DocumentProperties.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/DocumentSecurity.php b/application/third_party/PHPExcel/DocumentSecurity.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Exception.php b/application/third_party/PHPExcel/Exception.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/HashTable.php b/application/third_party/PHPExcel/HashTable.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Helper/HTML.php b/application/third_party/PHPExcel/Helper/HTML.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/IComparable.php b/application/third_party/PHPExcel/IComparable.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/IOFactory.php b/application/third_party/PHPExcel/IOFactory.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/NamedRange.php b/application/third_party/PHPExcel/NamedRange.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Reader/Abstract.php b/application/third_party/PHPExcel/Reader/Abstract.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Reader/CSV.php b/application/third_party/PHPExcel/Reader/CSV.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Reader/DefaultReadFilter.php b/application/third_party/PHPExcel/Reader/DefaultReadFilter.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Reader/Excel2003XML.php b/application/third_party/PHPExcel/Reader/Excel2003XML.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Reader/Excel2007.php b/application/third_party/PHPExcel/Reader/Excel2007.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Reader/Excel2007/Chart.php b/application/third_party/PHPExcel/Reader/Excel2007/Chart.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Reader/Excel2007/Theme.php b/application/third_party/PHPExcel/Reader/Excel2007/Theme.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Reader/Excel5.php b/application/third_party/PHPExcel/Reader/Excel5.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Reader/Excel5/Color.php b/application/third_party/PHPExcel/Reader/Excel5/Color.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Reader/Excel5/Color/BIFF5.php b/application/third_party/PHPExcel/Reader/Excel5/Color/BIFF5.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Reader/Excel5/Color/BIFF8.php b/application/third_party/PHPExcel/Reader/Excel5/Color/BIFF8.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Reader/Excel5/Color/BuiltIn.php b/application/third_party/PHPExcel/Reader/Excel5/Color/BuiltIn.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Reader/Excel5/ErrorCode.php b/application/third_party/PHPExcel/Reader/Excel5/ErrorCode.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Reader/Excel5/Escher.php b/application/third_party/PHPExcel/Reader/Excel5/Escher.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Reader/Excel5/MD5.php b/application/third_party/PHPExcel/Reader/Excel5/MD5.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Reader/Excel5/RC4.php b/application/third_party/PHPExcel/Reader/Excel5/RC4.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Reader/Excel5/Style/Border.php b/application/third_party/PHPExcel/Reader/Excel5/Style/Border.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Reader/Excel5/Style/FillPattern.php b/application/third_party/PHPExcel/Reader/Excel5/Style/FillPattern.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Reader/Exception.php b/application/third_party/PHPExcel/Reader/Exception.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Reader/Gnumeric.php b/application/third_party/PHPExcel/Reader/Gnumeric.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Reader/HTML.php b/application/third_party/PHPExcel/Reader/HTML.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Reader/IReadFilter.php b/application/third_party/PHPExcel/Reader/IReadFilter.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Reader/IReader.php b/application/third_party/PHPExcel/Reader/IReader.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Reader/OOCalc.php b/application/third_party/PHPExcel/Reader/OOCalc.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Reader/SYLK.php b/application/third_party/PHPExcel/Reader/SYLK.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/ReferenceHelper.php b/application/third_party/PHPExcel/ReferenceHelper.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/RichText.php b/application/third_party/PHPExcel/RichText.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/RichText/ITextElement.php b/application/third_party/PHPExcel/RichText/ITextElement.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/RichText/Run.php b/application/third_party/PHPExcel/RichText/Run.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/RichText/TextElement.php b/application/third_party/PHPExcel/RichText/TextElement.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Settings.php b/application/third_party/PHPExcel/Settings.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Shared/CodePage.php b/application/third_party/PHPExcel/Shared/CodePage.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Shared/Date.php b/application/third_party/PHPExcel/Shared/Date.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Shared/Drawing.php b/application/third_party/PHPExcel/Shared/Drawing.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Shared/Escher.php b/application/third_party/PHPExcel/Shared/Escher.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Shared/Escher/DgContainer.php b/application/third_party/PHPExcel/Shared/Escher/DgContainer.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Shared/Escher/DgContainer/SpgrContainer.php b/application/third_party/PHPExcel/Shared/Escher/DgContainer/SpgrContainer.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Shared/Escher/DgContainer/SpgrContainer/SpContainer.php b/application/third_party/PHPExcel/Shared/Escher/DgContainer/SpgrContainer/SpContainer.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Shared/Escher/DggContainer.php b/application/third_party/PHPExcel/Shared/Escher/DggContainer.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Shared/Escher/DggContainer/BstoreContainer.php b/application/third_party/PHPExcel/Shared/Escher/DggContainer/BstoreContainer.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Shared/Escher/DggContainer/BstoreContainer/BSE.php b/application/third_party/PHPExcel/Shared/Escher/DggContainer/BstoreContainer/BSE.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Shared/Escher/DggContainer/BstoreContainer/BSE/Blip.php b/application/third_party/PHPExcel/Shared/Escher/DggContainer/BstoreContainer/BSE/Blip.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Shared/Excel5.php b/application/third_party/PHPExcel/Shared/Excel5.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Shared/File.php b/application/third_party/PHPExcel/Shared/File.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Shared/Font.php b/application/third_party/PHPExcel/Shared/Font.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Shared/JAMA/CHANGELOG.TXT b/application/third_party/PHPExcel/Shared/JAMA/CHANGELOG.TXT old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Shared/JAMA/CholeskyDecomposition.php b/application/third_party/PHPExcel/Shared/JAMA/CholeskyDecomposition.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Shared/JAMA/EigenvalueDecomposition.php b/application/third_party/PHPExcel/Shared/JAMA/EigenvalueDecomposition.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Shared/JAMA/LUDecomposition.php b/application/third_party/PHPExcel/Shared/JAMA/LUDecomposition.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Shared/JAMA/Matrix.php b/application/third_party/PHPExcel/Shared/JAMA/Matrix.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Shared/JAMA/QRDecomposition.php b/application/third_party/PHPExcel/Shared/JAMA/QRDecomposition.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Shared/JAMA/SingularValueDecomposition.php b/application/third_party/PHPExcel/Shared/JAMA/SingularValueDecomposition.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Shared/JAMA/utils/Error.php b/application/third_party/PHPExcel/Shared/JAMA/utils/Error.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Shared/JAMA/utils/Maths.php b/application/third_party/PHPExcel/Shared/JAMA/utils/Maths.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Shared/OLE.php b/application/third_party/PHPExcel/Shared/OLE.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Shared/OLE/ChainedBlockStream.php b/application/third_party/PHPExcel/Shared/OLE/ChainedBlockStream.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Shared/OLE/PPS.php b/application/third_party/PHPExcel/Shared/OLE/PPS.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Shared/OLE/PPS/File.php b/application/third_party/PHPExcel/Shared/OLE/PPS/File.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Shared/OLE/PPS/Root.php b/application/third_party/PHPExcel/Shared/OLE/PPS/Root.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Shared/OLERead.php b/application/third_party/PHPExcel/Shared/OLERead.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Shared/PCLZip/gnu-lgpl.txt b/application/third_party/PHPExcel/Shared/PCLZip/gnu-lgpl.txt old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Shared/PCLZip/pclzip.lib.php b/application/third_party/PHPExcel/Shared/PCLZip/pclzip.lib.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Shared/PCLZip/readme.txt b/application/third_party/PHPExcel/Shared/PCLZip/readme.txt old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Shared/PasswordHasher.php b/application/third_party/PHPExcel/Shared/PasswordHasher.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Shared/String.php b/application/third_party/PHPExcel/Shared/String.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Shared/TimeZone.php b/application/third_party/PHPExcel/Shared/TimeZone.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Shared/XMLWriter.php b/application/third_party/PHPExcel/Shared/XMLWriter.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Shared/ZipArchive.php b/application/third_party/PHPExcel/Shared/ZipArchive.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Shared/ZipStreamWrapper.php b/application/third_party/PHPExcel/Shared/ZipStreamWrapper.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Shared/trend/bestFitClass.php b/application/third_party/PHPExcel/Shared/trend/bestFitClass.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Shared/trend/exponentialBestFitClass.php b/application/third_party/PHPExcel/Shared/trend/exponentialBestFitClass.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Shared/trend/linearBestFitClass.php b/application/third_party/PHPExcel/Shared/trend/linearBestFitClass.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Shared/trend/logarithmicBestFitClass.php b/application/third_party/PHPExcel/Shared/trend/logarithmicBestFitClass.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Shared/trend/polynomialBestFitClass.php b/application/third_party/PHPExcel/Shared/trend/polynomialBestFitClass.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Shared/trend/powerBestFitClass.php b/application/third_party/PHPExcel/Shared/trend/powerBestFitClass.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Shared/trend/trendClass.php b/application/third_party/PHPExcel/Shared/trend/trendClass.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Style.php b/application/third_party/PHPExcel/Style.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Style/Alignment.php b/application/third_party/PHPExcel/Style/Alignment.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Style/Border.php b/application/third_party/PHPExcel/Style/Border.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Style/Borders.php b/application/third_party/PHPExcel/Style/Borders.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Style/Color.php b/application/third_party/PHPExcel/Style/Color.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Style/Conditional.php b/application/third_party/PHPExcel/Style/Conditional.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Style/Fill.php b/application/third_party/PHPExcel/Style/Fill.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Style/Font.php b/application/third_party/PHPExcel/Style/Font.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Style/NumberFormat.php b/application/third_party/PHPExcel/Style/NumberFormat.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Style/Protection.php b/application/third_party/PHPExcel/Style/Protection.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Style/Supervisor.php b/application/third_party/PHPExcel/Style/Supervisor.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Worksheet.php b/application/third_party/PHPExcel/Worksheet.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Worksheet/AutoFilter.php b/application/third_party/PHPExcel/Worksheet/AutoFilter.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Worksheet/AutoFilter/Column.php b/application/third_party/PHPExcel/Worksheet/AutoFilter/Column.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Worksheet/AutoFilter/Column/Rule.php b/application/third_party/PHPExcel/Worksheet/AutoFilter/Column/Rule.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Worksheet/BaseDrawing.php b/application/third_party/PHPExcel/Worksheet/BaseDrawing.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Worksheet/CellIterator.php b/application/third_party/PHPExcel/Worksheet/CellIterator.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Worksheet/Column.php b/application/third_party/PHPExcel/Worksheet/Column.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Worksheet/ColumnCellIterator.php b/application/third_party/PHPExcel/Worksheet/ColumnCellIterator.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Worksheet/ColumnDimension.php b/application/third_party/PHPExcel/Worksheet/ColumnDimension.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Worksheet/ColumnIterator.php b/application/third_party/PHPExcel/Worksheet/ColumnIterator.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Worksheet/Dimension.php b/application/third_party/PHPExcel/Worksheet/Dimension.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Worksheet/Drawing.php b/application/third_party/PHPExcel/Worksheet/Drawing.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Worksheet/Drawing/Shadow.php b/application/third_party/PHPExcel/Worksheet/Drawing/Shadow.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Worksheet/HeaderFooter.php b/application/third_party/PHPExcel/Worksheet/HeaderFooter.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Worksheet/HeaderFooterDrawing.php b/application/third_party/PHPExcel/Worksheet/HeaderFooterDrawing.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Worksheet/MemoryDrawing.php b/application/third_party/PHPExcel/Worksheet/MemoryDrawing.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Worksheet/PageMargins.php b/application/third_party/PHPExcel/Worksheet/PageMargins.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Worksheet/PageSetup.php b/application/third_party/PHPExcel/Worksheet/PageSetup.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Worksheet/Protection.php b/application/third_party/PHPExcel/Worksheet/Protection.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Worksheet/Row.php b/application/third_party/PHPExcel/Worksheet/Row.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Worksheet/RowCellIterator.php b/application/third_party/PHPExcel/Worksheet/RowCellIterator.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Worksheet/RowDimension.php b/application/third_party/PHPExcel/Worksheet/RowDimension.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Worksheet/RowIterator.php b/application/third_party/PHPExcel/Worksheet/RowIterator.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Worksheet/SheetView.php b/application/third_party/PHPExcel/Worksheet/SheetView.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/WorksheetIterator.php b/application/third_party/PHPExcel/WorksheetIterator.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Writer/Abstract.php b/application/third_party/PHPExcel/Writer/Abstract.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Writer/CSV.php b/application/third_party/PHPExcel/Writer/CSV.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Writer/Excel2007.php b/application/third_party/PHPExcel/Writer/Excel2007.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Writer/Excel2007/Chart.php b/application/third_party/PHPExcel/Writer/Excel2007/Chart.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Writer/Excel2007/Comments.php b/application/third_party/PHPExcel/Writer/Excel2007/Comments.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Writer/Excel2007/ContentTypes.php b/application/third_party/PHPExcel/Writer/Excel2007/ContentTypes.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Writer/Excel2007/DocProps.php b/application/third_party/PHPExcel/Writer/Excel2007/DocProps.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Writer/Excel2007/Drawing.php b/application/third_party/PHPExcel/Writer/Excel2007/Drawing.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Writer/Excel2007/Rels.php b/application/third_party/PHPExcel/Writer/Excel2007/Rels.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Writer/Excel2007/RelsRibbon.php b/application/third_party/PHPExcel/Writer/Excel2007/RelsRibbon.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Writer/Excel2007/RelsVBA.php b/application/third_party/PHPExcel/Writer/Excel2007/RelsVBA.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Writer/Excel2007/StringTable.php b/application/third_party/PHPExcel/Writer/Excel2007/StringTable.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Writer/Excel2007/Style.php b/application/third_party/PHPExcel/Writer/Excel2007/Style.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Writer/Excel2007/Theme.php b/application/third_party/PHPExcel/Writer/Excel2007/Theme.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Writer/Excel2007/Workbook.php b/application/third_party/PHPExcel/Writer/Excel2007/Workbook.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Writer/Excel2007/Worksheet.php b/application/third_party/PHPExcel/Writer/Excel2007/Worksheet.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Writer/Excel2007/WriterPart.php b/application/third_party/PHPExcel/Writer/Excel2007/WriterPart.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Writer/Excel5.php b/application/third_party/PHPExcel/Writer/Excel5.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Writer/Excel5/BIFFwriter.php b/application/third_party/PHPExcel/Writer/Excel5/BIFFwriter.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Writer/Excel5/Escher.php b/application/third_party/PHPExcel/Writer/Excel5/Escher.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Writer/Excel5/Font.php b/application/third_party/PHPExcel/Writer/Excel5/Font.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Writer/Excel5/Parser.php b/application/third_party/PHPExcel/Writer/Excel5/Parser.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Writer/Excel5/Workbook.php b/application/third_party/PHPExcel/Writer/Excel5/Workbook.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Writer/Excel5/Worksheet.php b/application/third_party/PHPExcel/Writer/Excel5/Worksheet.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Writer/Excel5/Xf.php b/application/third_party/PHPExcel/Writer/Excel5/Xf.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Writer/Exception.php b/application/third_party/PHPExcel/Writer/Exception.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Writer/HTML.php b/application/third_party/PHPExcel/Writer/HTML.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Writer/IWriter.php b/application/third_party/PHPExcel/Writer/IWriter.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Writer/OpenDocument.php b/application/third_party/PHPExcel/Writer/OpenDocument.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Writer/OpenDocument/Cell/Comment.php b/application/third_party/PHPExcel/Writer/OpenDocument/Cell/Comment.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Writer/OpenDocument/Content.php b/application/third_party/PHPExcel/Writer/OpenDocument/Content.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Writer/OpenDocument/Meta.php b/application/third_party/PHPExcel/Writer/OpenDocument/Meta.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Writer/OpenDocument/MetaInf.php b/application/third_party/PHPExcel/Writer/OpenDocument/MetaInf.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Writer/OpenDocument/Mimetype.php b/application/third_party/PHPExcel/Writer/OpenDocument/Mimetype.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Writer/OpenDocument/Settings.php b/application/third_party/PHPExcel/Writer/OpenDocument/Settings.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Writer/OpenDocument/Styles.php b/application/third_party/PHPExcel/Writer/OpenDocument/Styles.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Writer/OpenDocument/Thumbnails.php b/application/third_party/PHPExcel/Writer/OpenDocument/Thumbnails.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Writer/OpenDocument/WriterPart.php b/application/third_party/PHPExcel/Writer/OpenDocument/WriterPart.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Writer/PDF.php b/application/third_party/PHPExcel/Writer/PDF.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Writer/PDF/Core.php b/application/third_party/PHPExcel/Writer/PDF/Core.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Writer/PDF/DomPDF.php b/application/third_party/PHPExcel/Writer/PDF/DomPDF.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Writer/PDF/mPDF.php b/application/third_party/PHPExcel/Writer/PDF/mPDF.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/Writer/PDF/tcPDF.php b/application/third_party/PHPExcel/Writer/PDF/tcPDF.php old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/locale/bg/config b/application/third_party/PHPExcel/locale/bg/config old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/locale/cs/config b/application/third_party/PHPExcel/locale/cs/config old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/locale/cs/functions b/application/third_party/PHPExcel/locale/cs/functions old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/locale/da/config b/application/third_party/PHPExcel/locale/da/config old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/locale/da/functions b/application/third_party/PHPExcel/locale/da/functions old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/locale/de/config b/application/third_party/PHPExcel/locale/de/config old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/locale/de/functions b/application/third_party/PHPExcel/locale/de/functions old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/locale/en/uk/config b/application/third_party/PHPExcel/locale/en/uk/config old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/locale/es/config b/application/third_party/PHPExcel/locale/es/config old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/locale/es/functions b/application/third_party/PHPExcel/locale/es/functions old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/locale/fi/config b/application/third_party/PHPExcel/locale/fi/config old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/locale/fi/functions b/application/third_party/PHPExcel/locale/fi/functions old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/locale/fr/config b/application/third_party/PHPExcel/locale/fr/config old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/locale/fr/functions b/application/third_party/PHPExcel/locale/fr/functions old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/locale/hu/config b/application/third_party/PHPExcel/locale/hu/config old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/locale/hu/functions b/application/third_party/PHPExcel/locale/hu/functions old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/locale/it/config b/application/third_party/PHPExcel/locale/it/config old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/locale/it/functions b/application/third_party/PHPExcel/locale/it/functions old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/locale/nl/config b/application/third_party/PHPExcel/locale/nl/config old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/locale/nl/functions b/application/third_party/PHPExcel/locale/nl/functions old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/locale/no/config b/application/third_party/PHPExcel/locale/no/config old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/locale/no/functions b/application/third_party/PHPExcel/locale/no/functions old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/locale/pl/config b/application/third_party/PHPExcel/locale/pl/config old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/locale/pl/functions b/application/third_party/PHPExcel/locale/pl/functions old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/locale/pt/br/config b/application/third_party/PHPExcel/locale/pt/br/config old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/locale/pt/br/functions b/application/third_party/PHPExcel/locale/pt/br/functions old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/locale/pt/config b/application/third_party/PHPExcel/locale/pt/config old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/locale/pt/functions b/application/third_party/PHPExcel/locale/pt/functions old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/locale/ru/config b/application/third_party/PHPExcel/locale/ru/config old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/locale/ru/functions b/application/third_party/PHPExcel/locale/ru/functions old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/locale/sv/config b/application/third_party/PHPExcel/locale/sv/config old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/locale/sv/functions b/application/third_party/PHPExcel/locale/sv/functions old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/locale/tr/config b/application/third_party/PHPExcel/locale/tr/config old mode 100644 new mode 100755 diff --git a/application/third_party/PHPExcel/locale/tr/functions b/application/third_party/PHPExcel/locale/tr/functions old mode 100644 new mode 100755 diff --git a/application/third_party/PHPReport.php b/application/third_party/PHPReport.php old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/LICENSE.LGPL b/application/third_party/dompdf/LICENSE.LGPL old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/dompdf.php b/application/third_party/dompdf/dompdf.php old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/dompdf_config.custom.inc.php b/application/third_party/dompdf/dompdf_config.custom.inc.php old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/dompdf_config.inc.php b/application/third_party/dompdf/dompdf_config.inc.php old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/include/absolute_positioner.cls.php b/application/third_party/dompdf/include/absolute_positioner.cls.php old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/include/abstract_renderer.cls.php b/application/third_party/dompdf/include/abstract_renderer.cls.php old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/include/attribute_translator.cls.php b/application/third_party/dompdf/include/attribute_translator.cls.php old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/include/block_frame_decorator.cls.php b/application/third_party/dompdf/include/block_frame_decorator.cls.php old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/include/block_frame_reflower.cls.php b/application/third_party/dompdf/include/block_frame_reflower.cls.php old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/include/block_positioner.cls.php b/application/third_party/dompdf/include/block_positioner.cls.php old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/include/block_renderer.cls.php b/application/third_party/dompdf/include/block_renderer.cls.php old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/include/cached_pdf_decorator.cls.php b/application/third_party/dompdf/include/cached_pdf_decorator.cls.php old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/include/canvas.cls.php b/application/third_party/dompdf/include/canvas.cls.php old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/include/canvas_factory.cls.php b/application/third_party/dompdf/include/canvas_factory.cls.php old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/include/cellmap.cls.php b/application/third_party/dompdf/include/cellmap.cls.php old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/include/cpdf_adapter.cls.php b/application/third_party/dompdf/include/cpdf_adapter.cls.php old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/include/css_color.cls.php b/application/third_party/dompdf/include/css_color.cls.php old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/include/dompdf.cls.php b/application/third_party/dompdf/include/dompdf.cls.php old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/include/dompdf_exception.cls.php b/application/third_party/dompdf/include/dompdf_exception.cls.php old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/include/dompdf_internal_exception.cls.php b/application/third_party/dompdf/include/dompdf_internal_exception.cls.php old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/include/file.skel b/application/third_party/dompdf/include/file.skel old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/include/fixed_positioner.cls.php b/application/third_party/dompdf/include/fixed_positioner.cls.php old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/include/font_metrics.cls.php b/application/third_party/dompdf/include/font_metrics.cls.php old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/include/frame.cls.php b/application/third_party/dompdf/include/frame.cls.php old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/include/frame_decorator.cls.php b/application/third_party/dompdf/include/frame_decorator.cls.php old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/include/frame_factory.cls.php b/application/third_party/dompdf/include/frame_factory.cls.php old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/include/frame_reflower.cls.php b/application/third_party/dompdf/include/frame_reflower.cls.php old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/include/frame_tree.cls.php b/application/third_party/dompdf/include/frame_tree.cls.php old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/include/functions.inc.php b/application/third_party/dompdf/include/functions.inc.php old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/include/gd_adapter.cls.php b/application/third_party/dompdf/include/gd_adapter.cls.php old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/include/image_cache.cls.php b/application/third_party/dompdf/include/image_cache.cls.php old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/include/image_frame_decorator.cls.php b/application/third_party/dompdf/include/image_frame_decorator.cls.php old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/include/image_frame_reflower.cls.php b/application/third_party/dompdf/include/image_frame_reflower.cls.php old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/include/image_renderer.cls.php b/application/third_party/dompdf/include/image_renderer.cls.php old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/include/inline_frame_decorator.cls.php b/application/third_party/dompdf/include/inline_frame_decorator.cls.php old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/include/inline_frame_reflower.cls.php b/application/third_party/dompdf/include/inline_frame_reflower.cls.php old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/include/inline_positioner.cls.php b/application/third_party/dompdf/include/inline_positioner.cls.php old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/include/inline_renderer.cls.php b/application/third_party/dompdf/include/inline_renderer.cls.php old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/include/javascript_embedder.cls.php b/application/third_party/dompdf/include/javascript_embedder.cls.php old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/include/list_bullet_frame_decorator.cls.php b/application/third_party/dompdf/include/list_bullet_frame_decorator.cls.php old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/include/list_bullet_frame_reflower.cls.php b/application/third_party/dompdf/include/list_bullet_frame_reflower.cls.php old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/include/list_bullet_image_frame_decorator.cls.php b/application/third_party/dompdf/include/list_bullet_image_frame_decorator.cls.php old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/include/list_bullet_positioner.cls.php b/application/third_party/dompdf/include/list_bullet_positioner.cls.php old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/include/list_bullet_renderer.cls.php b/application/third_party/dompdf/include/list_bullet_renderer.cls.php old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/include/null_frame_decorator.cls.php b/application/third_party/dompdf/include/null_frame_decorator.cls.php old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/include/null_frame_reflower.cls.php b/application/third_party/dompdf/include/null_frame_reflower.cls.php old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/include/null_positioner.cls.php b/application/third_party/dompdf/include/null_positioner.cls.php old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/include/page_cache.cls.php b/application/third_party/dompdf/include/page_cache.cls.php old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/include/page_frame_decorator.cls.php b/application/third_party/dompdf/include/page_frame_decorator.cls.php old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/include/page_frame_reflower.cls.php b/application/third_party/dompdf/include/page_frame_reflower.cls.php old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/include/pdflib_adapter.cls.php b/application/third_party/dompdf/include/pdflib_adapter.cls.php old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/include/php_evaluator.cls.php b/application/third_party/dompdf/include/php_evaluator.cls.php old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/include/positioner.cls.php b/application/third_party/dompdf/include/positioner.cls.php old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/include/renderer.cls.php b/application/third_party/dompdf/include/renderer.cls.php old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/include/style.cls.php b/application/third_party/dompdf/include/style.cls.php old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/include/stylesheet.cls.php b/application/third_party/dompdf/include/stylesheet.cls.php old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/include/table_cell_frame_decorator.cls.php b/application/third_party/dompdf/include/table_cell_frame_decorator.cls.php old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/include/table_cell_frame_reflower.cls.php b/application/third_party/dompdf/include/table_cell_frame_reflower.cls.php old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/include/table_cell_positioner.cls.php b/application/third_party/dompdf/include/table_cell_positioner.cls.php old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/include/table_cell_renderer.cls.php b/application/third_party/dompdf/include/table_cell_renderer.cls.php old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/include/table_frame_decorator.cls.php b/application/third_party/dompdf/include/table_frame_decorator.cls.php old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/include/table_frame_reflower.cls.php b/application/third_party/dompdf/include/table_frame_reflower.cls.php old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/include/table_row_frame_decorator.cls.php b/application/third_party/dompdf/include/table_row_frame_decorator.cls.php old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/include/table_row_frame_reflower.cls.php b/application/third_party/dompdf/include/table_row_frame_reflower.cls.php old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/include/table_row_group_frame_decorator.cls.php b/application/third_party/dompdf/include/table_row_group_frame_decorator.cls.php old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/include/table_row_group_frame_reflower.cls.php b/application/third_party/dompdf/include/table_row_group_frame_reflower.cls.php old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/include/table_row_positioner.cls.php b/application/third_party/dompdf/include/table_row_positioner.cls.php old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/include/tcpdf_adapter.cls.php b/application/third_party/dompdf/include/tcpdf_adapter.cls.php old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/include/text_frame_decorator.cls.php b/application/third_party/dompdf/include/text_frame_decorator.cls.php old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/include/text_frame_reflower.cls.php b/application/third_party/dompdf/include/text_frame_reflower.cls.php old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/include/text_renderer.cls.php b/application/third_party/dompdf/include/text_renderer.cls.php old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/include/ttf_info.cls.php b/application/third_party/dompdf/include/ttf_info.cls.php old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/index.php b/application/third_party/dompdf/index.php old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/class.pdf.php b/application/third_party/dompdf/lib/class.pdf.php old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/fonts/Courier-Bold.afm b/application/third_party/dompdf/lib/fonts/Courier-Bold.afm old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/fonts/Courier-BoldOblique.afm b/application/third_party/dompdf/lib/fonts/Courier-BoldOblique.afm old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/fonts/Courier-Oblique.afm b/application/third_party/dompdf/lib/fonts/Courier-Oblique.afm old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/fonts/Courier.afm b/application/third_party/dompdf/lib/fonts/Courier.afm old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/fonts/Helvetica-Bold.afm b/application/third_party/dompdf/lib/fonts/Helvetica-Bold.afm old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/fonts/Helvetica-Bold.afm.php b/application/third_party/dompdf/lib/fonts/Helvetica-Bold.afm.php old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/fonts/Helvetica-BoldOblique.afm b/application/third_party/dompdf/lib/fonts/Helvetica-BoldOblique.afm old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/fonts/Helvetica-Oblique.afm b/application/third_party/dompdf/lib/fonts/Helvetica-Oblique.afm old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/fonts/Helvetica.afm b/application/third_party/dompdf/lib/fonts/Helvetica.afm old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/fonts/Helvetica.afm.php b/application/third_party/dompdf/lib/fonts/Helvetica.afm.php old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/fonts/Symbol.afm b/application/third_party/dompdf/lib/fonts/Symbol.afm old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/fonts/Times-Bold.afm b/application/third_party/dompdf/lib/fonts/Times-Bold.afm old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/fonts/Times-Bold.afm.php b/application/third_party/dompdf/lib/fonts/Times-Bold.afm.php old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/fonts/Times-BoldItalic.afm b/application/third_party/dompdf/lib/fonts/Times-BoldItalic.afm old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/fonts/Times-Italic.afm b/application/third_party/dompdf/lib/fonts/Times-Italic.afm old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/fonts/Times-Roman.afm b/application/third_party/dompdf/lib/fonts/Times-Roman.afm old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/fonts/Times-Roman.afm.php b/application/third_party/dompdf/lib/fonts/Times-Roman.afm.php old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/fonts/ZapfDingbats.afm b/application/third_party/dompdf/lib/fonts/ZapfDingbats.afm old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/fonts/dompdf_font_family_cache.dist.php b/application/third_party/dompdf/lib/fonts/dompdf_font_family_cache.dist.php old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/fonts/log.htm b/application/third_party/dompdf/lib/fonts/log.htm old mode 100644 new mode 100755 index bcce59bf..d382dff4 --- a/application/third_party/dompdf/lib/fonts/log.htm +++ b/application/third_party/dompdf/lib/fonts/log.htm @@ -1 +1,10 @@ -8,448 KB 660.7060 ms
\ No newline at end of file +10,240 KB 115.7951 ms
+ +

A PHP Error was encountered

+ +

Severity: Warning

+

Message: explode() expects parameter 2 to be string, array given

+

Filename: include/style.cls.php

+

Line Number: 948

+ +
\ No newline at end of file diff --git a/application/third_party/dompdf/lib/fonts/mustRead.html b/application/third_party/dompdf/lib/fonts/mustRead.html old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/res/broken_image.png b/application/third_party/dompdf/lib/res/broken_image.png old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/res/html.css b/application/third_party/dompdf/lib/res/html.css old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/README.TXT b/application/third_party/dompdf/lib/ttf2ufm/README.TXT old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/bin/ttf2ufm.exe b/application/third_party/dompdf/lib/ttf2ufm/bin/ttf2ufm.exe old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/CHANGES b/application/third_party/dompdf/lib/ttf2ufm/src/CHANGES old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/CHANGES.html b/application/third_party/dompdf/lib/ttf2ufm/src/CHANGES.html old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/COPYRIGHT b/application/third_party/dompdf/lib/ttf2ufm/src/COPYRIGHT old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/FONTS b/application/third_party/dompdf/lib/ttf2ufm/src/FONTS old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/FONTS.hpux b/application/third_party/dompdf/lib/ttf2ufm/src/FONTS.hpux old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/FONTS.hpux.html b/application/third_party/dompdf/lib/ttf2ufm/src/FONTS.hpux.html old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/FONTS.html b/application/third_party/dompdf/lib/ttf2ufm/src/FONTS.html old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/Makefile b/application/third_party/dompdf/lib/ttf2ufm/src/Makefile old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/README b/application/third_party/dompdf/lib/ttf2ufm/src/README old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/README.FIRST b/application/third_party/dompdf/lib/ttf2ufm/src/README.FIRST old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/README.html b/application/third_party/dompdf/lib/ttf2ufm/src/README.html old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/app/RPM/Makefile b/application/third_party/dompdf/lib/ttf2ufm/src/app/RPM/Makefile old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/app/RPM/ttf2pt1.spec b/application/third_party/dompdf/lib/ttf2ufm/src/app/RPM/ttf2pt1.spec old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/app/RPM/ttf2pt1.spec.src b/application/third_party/dompdf/lib/ttf2ufm/src/app/RPM/ttf2pt1.spec.src old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/app/TeX/README b/application/third_party/dompdf/lib/ttf2ufm/src/app/TeX/README old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/app/TeX/README.html b/application/third_party/dompdf/lib/ttf2ufm/src/app/TeX/README.html old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/app/TeX/cjk-latex-config b/application/third_party/dompdf/lib/ttf2ufm/src/app/TeX/cjk-latex-config old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/app/TeX/cjk-latex-t1mapgen b/application/third_party/dompdf/lib/ttf2ufm/src/app/TeX/cjk-latex-t1mapgen old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/app/TeX/sfd2map b/application/third_party/dompdf/lib/ttf2ufm/src/app/TeX/sfd2map old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/app/X11/README b/application/third_party/dompdf/lib/ttf2ufm/src/app/X11/README old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/app/X11/README.html b/application/third_party/dompdf/lib/ttf2ufm/src/app/X11/README.html old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/app/X11/t1-xf86.334.patch b/application/third_party/dompdf/lib/ttf2ufm/src/app/X11/t1-xf86.334.patch old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/app/X11/t1-xf86.39.patch b/application/third_party/dompdf/lib/ttf2ufm/src/app/X11/t1-xf86.39.patch old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/app/netscape/Makefile b/application/third_party/dompdf/lib/ttf2ufm/src/app/netscape/Makefile old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/app/netscape/README b/application/third_party/dompdf/lib/ttf2ufm/src/app/netscape/README old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/app/netscape/README.html b/application/third_party/dompdf/lib/ttf2ufm/src/app/netscape/README.html old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/app/netscape/fontsz.cf b/application/third_party/dompdf/lib/ttf2ufm/src/app/netscape/fontsz.cf old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/app/netscape/notscape b/application/third_party/dompdf/lib/ttf2ufm/src/app/netscape/notscape old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/app/netscape/nsfilter b/application/third_party/dompdf/lib/ttf2ufm/src/app/netscape/nsfilter old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/app/netscape/nsfix.c b/application/third_party/dompdf/lib/ttf2ufm/src/app/netscape/nsfix.c old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/app/netscape/nspr b/application/third_party/dompdf/lib/ttf2ufm/src/app/netscape/nspr old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/app/netscape/nsprint b/application/third_party/dompdf/lib/ttf2ufm/src/app/netscape/nsprint old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/app/netscape/psfonts.cf b/application/third_party/dompdf/lib/ttf2ufm/src/app/netscape/psfonts.cf old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/bdf.c b/application/third_party/dompdf/lib/ttf2ufm/src/bdf.c old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/bitmap.c b/application/third_party/dompdf/lib/ttf2ufm/src/bitmap.c old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/byteorder.h b/application/third_party/dompdf/lib/ttf2ufm/src/byteorder.h old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/cygbuild.sh b/application/third_party/dompdf/lib/ttf2ufm/src/cygbuild.sh old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/encodings/README b/application/third_party/dompdf/lib/ttf2ufm/src/encodings/README old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/encodings/README.html b/application/third_party/dompdf/lib/ttf2ufm/src/encodings/README.html old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/encodings/adobestd/adobe-std.tbl b/application/third_party/dompdf/lib/ttf2ufm/src/encodings/adobestd/adobe-std.tbl old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/encodings/bulgarian/README b/application/third_party/dompdf/lib/ttf2ufm/src/encodings/bulgarian/README old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/encodings/bulgarian/encodings.alias b/application/third_party/dompdf/lib/ttf2ufm/src/encodings/bulgarian/encodings.alias old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/encodings/bulgarian/ibm-1251.tbl b/application/third_party/dompdf/lib/ttf2ufm/src/encodings/bulgarian/ibm-1251.tbl old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/encodings/bulgarian/ibm-866.tbl b/application/third_party/dompdf/lib/ttf2ufm/src/encodings/bulgarian/ibm-866.tbl old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/encodings/bulgarian/iso8859-5.tbl b/application/third_party/dompdf/lib/ttf2ufm/src/encodings/bulgarian/iso8859-5.tbl old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/encodings/bulgarian/koi8-r.tbl b/application/third_party/dompdf/lib/ttf2ufm/src/encodings/bulgarian/koi8-r.tbl old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/encodings/cyrillic/encodings.alias b/application/third_party/dompdf/lib/ttf2ufm/src/encodings/cyrillic/encodings.alias old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/encodings/cyrillic/ibm-1251.tbl b/application/third_party/dompdf/lib/ttf2ufm/src/encodings/cyrillic/ibm-1251.tbl old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/encodings/cyrillic/ibm-866.tbl b/application/third_party/dompdf/lib/ttf2ufm/src/encodings/cyrillic/ibm-866.tbl old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/encodings/cyrillic/iso8859-5.tbl b/application/third_party/dompdf/lib/ttf2ufm/src/encodings/cyrillic/iso8859-5.tbl old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/encodings/cyrillic/koi8-r.tbl b/application/third_party/dompdf/lib/ttf2ufm/src/encodings/cyrillic/koi8-r.tbl old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/encodings/latin1/iso8859-1.tbl b/application/third_party/dompdf/lib/ttf2ufm/src/encodings/latin1/iso8859-1.tbl old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/encodings/latin2/iso8859-2.tbl b/application/third_party/dompdf/lib/ttf2ufm/src/encodings/latin2/iso8859-2.tbl old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/encodings/latin4/iso8859-4 b/application/third_party/dompdf/lib/ttf2ufm/src/encodings/latin4/iso8859-4 old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/encodings/latin4/iso8859-4.tbl b/application/third_party/dompdf/lib/ttf2ufm/src/encodings/latin4/iso8859-4.tbl old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/encodings/latin5/iso8859-9 b/application/third_party/dompdf/lib/ttf2ufm/src/encodings/latin5/iso8859-9 old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/encodings/russian/README b/application/third_party/dompdf/lib/ttf2ufm/src/encodings/russian/README old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/encodings/russian/encodings.alias b/application/third_party/dompdf/lib/ttf2ufm/src/encodings/russian/encodings.alias old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/encodings/russian/ibm-1251.tbl b/application/third_party/dompdf/lib/ttf2ufm/src/encodings/russian/ibm-1251.tbl old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/encodings/russian/ibm-866.tbl b/application/third_party/dompdf/lib/ttf2ufm/src/encodings/russian/ibm-866.tbl old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/encodings/russian/iso8859-5.tbl b/application/third_party/dompdf/lib/ttf2ufm/src/encodings/russian/iso8859-5.tbl old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/encodings/russian/koi8-r.tbl b/application/third_party/dompdf/lib/ttf2ufm/src/encodings/russian/koi8-r.tbl old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/ft.c b/application/third_party/dompdf/lib/ttf2ufm/src/ft.c old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/global.h b/application/third_party/dompdf/lib/ttf2ufm/src/global.h old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/maps/CP1250.map b/application/third_party/dompdf/lib/ttf2ufm/src/maps/CP1250.map old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/maps/CP1251.map b/application/third_party/dompdf/lib/ttf2ufm/src/maps/CP1251.map old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/maps/T2A_compact.map b/application/third_party/dompdf/lib/ttf2ufm/src/maps/T2A_compact.map old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/maps/adobe-standard-encoding.map b/application/third_party/dompdf/lib/ttf2ufm/src/maps/adobe-standard-encoding.map old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/maps/cubg5plus.map b/application/third_party/dompdf/lib/ttf2ufm/src/maps/cubg5plus.map old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/maps/cubig5.map b/application/third_party/dompdf/lib/ttf2ufm/src/maps/cubig5.map old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/maps/cugb.map b/application/third_party/dompdf/lib/ttf2ufm/src/maps/cugb.map old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/maps/cugbk.map b/application/third_party/dompdf/lib/ttf2ufm/src/maps/cugbk.map old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/maps/ubig5.map b/application/third_party/dompdf/lib/ttf2ufm/src/maps/ubig5.map old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/maps/ugb.map b/application/third_party/dompdf/lib/ttf2ufm/src/maps/ugb.map old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/maps/ugbk.map b/application/third_party/dompdf/lib/ttf2ufm/src/maps/ugbk.map old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/maps/unicode-sample.map b/application/third_party/dompdf/lib/ttf2ufm/src/maps/unicode-sample.map old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/other/Makefile b/application/third_party/dompdf/lib/ttf2ufm/src/other/Makefile old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/other/README b/application/third_party/dompdf/lib/ttf2ufm/src/other/README old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/other/README.html b/application/third_party/dompdf/lib/ttf2ufm/src/other/README.html old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/other/bmpfont.h b/application/third_party/dompdf/lib/ttf2ufm/src/other/bmpfont.h old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/other/bz.c b/application/third_party/dompdf/lib/ttf2ufm/src/other/bz.c old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/other/bzscreen.c b/application/third_party/dompdf/lib/ttf2ufm/src/other/bzscreen.c old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/other/bzscreen.h b/application/third_party/dompdf/lib/ttf2ufm/src/other/bzscreen.h old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/other/cmpf.c b/application/third_party/dompdf/lib/ttf2ufm/src/other/cmpf.c old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/other/cntstems.pl b/application/third_party/dompdf/lib/ttf2ufm/src/other/cntstems.pl old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/other/dmpf.c b/application/third_party/dompdf/lib/ttf2ufm/src/other/dmpf.c old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/other/lst.pl b/application/third_party/dompdf/lib/ttf2ufm/src/other/lst.pl old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/other/showdf b/application/third_party/dompdf/lib/ttf2ufm/src/other/showdf old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/other/showg b/application/third_party/dompdf/lib/ttf2ufm/src/other/showg old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/pt1.c b/application/third_party/dompdf/lib/ttf2ufm/src/pt1.c old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/pt1.h b/application/third_party/dompdf/lib/ttf2ufm/src/pt1.h old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/runt1asm.c b/application/third_party/dompdf/lib/ttf2ufm/src/runt1asm.c old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/scripts/convert b/application/third_party/dompdf/lib/ttf2ufm/src/scripts/convert old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/scripts/convert.cfg.sample b/application/third_party/dompdf/lib/ttf2ufm/src/scripts/convert.cfg.sample old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/scripts/forceiso b/application/third_party/dompdf/lib/ttf2ufm/src/scripts/forceiso old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/scripts/frommap b/application/third_party/dompdf/lib/ttf2ufm/src/scripts/frommap old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/scripts/html2man b/application/third_party/dompdf/lib/ttf2ufm/src/scripts/html2man old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/scripts/inst_dir b/application/third_party/dompdf/lib/ttf2ufm/src/scripts/inst_dir old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/scripts/inst_file b/application/third_party/dompdf/lib/ttf2ufm/src/scripts/inst_file old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/scripts/mkrel b/application/third_party/dompdf/lib/ttf2ufm/src/scripts/mkrel old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/scripts/t1fdir b/application/third_party/dompdf/lib/ttf2ufm/src/scripts/t1fdir old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/scripts/trans b/application/third_party/dompdf/lib/ttf2ufm/src/scripts/trans old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/scripts/unhtml b/application/third_party/dompdf/lib/ttf2ufm/src/scripts/unhtml old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/scripts/x2gs b/application/third_party/dompdf/lib/ttf2ufm/src/scripts/x2gs old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/t1asm.c b/application/third_party/dompdf/lib/ttf2ufm/src/t1asm.c old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/ttf.c b/application/third_party/dompdf/lib/ttf2ufm/src/ttf.c old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/ttf.h b/application/third_party/dompdf/lib/ttf2ufm/src/ttf.h old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/ttf2pt1.1 b/application/third_party/dompdf/lib/ttf2ufm/src/ttf2pt1.1 old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/ttf2pt1.c b/application/third_party/dompdf/lib/ttf2ufm/src/ttf2pt1.c old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/ttf2pt1_convert.1 b/application/third_party/dompdf/lib/ttf2ufm/src/ttf2pt1_convert.1 old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/ttf2pt1_x2gs.1 b/application/third_party/dompdf/lib/ttf2ufm/src/ttf2pt1_x2gs.1 old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/ttf2ufm b/application/third_party/dompdf/lib/ttf2ufm/src/ttf2ufm old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/version.h b/application/third_party/dompdf/lib/ttf2ufm/src/version.h old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/winbuild.bat b/application/third_party/dompdf/lib/ttf2ufm/src/winbuild.bat old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/lib/ttf2ufm/src/windows.h b/application/third_party/dompdf/lib/ttf2ufm/src/windows.h old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/load_font.php b/application/third_party/dompdf/load_font.php old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/controller.php b/application/third_party/dompdf/www/controller.php old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/cssSandpaper/css/reset.css b/application/third_party/dompdf/www/cssSandpaper/css/reset.css old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/cssSandpaper/js/EventHelpers.js b/application/third_party/dompdf/www/cssSandpaper/js/EventHelpers.js old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/cssSandpaper/js/cssQuery-p.js b/application/third_party/dompdf/www/cssSandpaper/js/cssQuery-p.js old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/cssSandpaper/js/cssSandpaper.js b/application/third_party/dompdf/www/cssSandpaper/js/cssSandpaper.js old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/cssSandpaper/js/jcoglan.com/sylvester.js b/application/third_party/dompdf/www/cssSandpaper/js/jcoglan.com/sylvester.js old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/debugger.php b/application/third_party/dompdf/www/debugger.php old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/demo.php b/application/third_party/dompdf/www/demo.php old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/examples.php b/application/third_party/dompdf/www/examples.php old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/foot.inc b/application/third_party/dompdf/www/foot.inc old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/head.inc b/application/third_party/dompdf/www/head.inc old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/images/arrow_01.gif b/application/third_party/dompdf/www/images/arrow_01.gif old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/images/arrow_02.gif b/application/third_party/dompdf/www/images/arrow_02.gif old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/images/arrow_03.gif b/application/third_party/dompdf/www/images/arrow_03.gif old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/images/arrow_04.gif b/application/third_party/dompdf/www/images/arrow_04.gif old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/images/arrow_05.gif b/application/third_party/dompdf/www/images/arrow_05.gif old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/images/arrow_06.gif b/application/third_party/dompdf/www/images/arrow_06.gif old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/images/css2.png b/application/third_party/dompdf/www/images/css2.png old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/images/dompdf_simple.png b/application/third_party/dompdf/www/images/dompdf_simple.png old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/images/favicon.ico b/application/third_party/dompdf/www/images/favicon.ico old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/images/favicon.png b/application/third_party/dompdf/www/images/favicon.png old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/images/h_bar.gif b/application/third_party/dompdf/www/images/h_bar.gif old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/images/left_arrow.gif b/application/third_party/dompdf/www/images/left_arrow.gif old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/images/logo.png b/application/third_party/dompdf/www/images/logo.png old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/images/logo.xcf b/application/third_party/dompdf/www/images/logo.xcf old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/images/php5-power-micro.png b/application/third_party/dompdf/www/images/php5-power-micro.png old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/images/small_logo.png b/application/third_party/dompdf/www/images/small_logo.png old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/images/star_01.gif b/application/third_party/dompdf/www/images/star_01.gif old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/images/star_02.gif b/application/third_party/dompdf/www/images/star_02.gif old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/images/star_03.gif b/application/third_party/dompdf/www/images/star_03.gif old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/images/star_04.gif b/application/third_party/dompdf/www/images/star_04.gif old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/images/star_05.gif b/application/third_party/dompdf/www/images/star_05.gif old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/images/title.gif b/application/third_party/dompdf/www/images/title.gif old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/images/v_bar.gif b/application/third_party/dompdf/www/images/v_bar.gif old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/images/xhtml10.png b/application/third_party/dompdf/www/images/xhtml10.png old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/index.php b/application/third_party/dompdf/www/index.php old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/jquery-1.4.2.js b/application/third_party/dompdf/www/jquery-1.4.2.js old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/setup.php b/application/third_party/dompdf/www/setup.php old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/style.css b/application/third_party/dompdf/www/style.css old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/backgroundcolor_fontdecoration_pageborder.html b/application/third_party/dompdf/www/test/backgroundcolor_fontdecoration_pageborder.html old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/css/common.css b/application/third_party/dompdf/www/test/css/common.css old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/css/importabs.css b/application/third_party/dompdf/www/test/css/importabs.css old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/css/importall.css b/application/third_party/dompdf/www/test/css/importall.css old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/css/importdisplay.css b/application/third_party/dompdf/www/test/css/importdisplay.css old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/css/importprint.css b/application/third_party/dompdf/www/test/css/importprint.css old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/css/importsub.css b/application/third_party/dompdf/www/test/css/importsub.css old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/css/linkall.css b/application/third_party/dompdf/www/test/css/linkall.css old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/css/linkdefault.css b/application/third_party/dompdf/www/test/css/linkdefault.css old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/css/linkdisplay.css b/application/third_party/dompdf/www/test/css/linkdisplay.css old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/css/linkprint.css b/application/third_party/dompdf/www/test/css/linkprint.css old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/css/print_static.css b/application/third_party/dompdf/www/test/css/print_static.css old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/css_2d_transforms.html b/application/third_party/dompdf/www/test/css_2d_transforms.html old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/css_baseline.html b/application/third_party/dompdf/www/test/css_baseline.html old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/css_block_height.html b/application/third_party/dompdf/www/test/css_block_height.html old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/css_border.html b/application/third_party/dompdf/www/test/css_border.html old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/css_border_values.html b/application/third_party/dompdf/www/test/css_border_values.html old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/css_color_cmyk.html b/application/third_party/dompdf/www/test/css_color_cmyk.html old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/css_content.html b/application/third_party/dompdf/www/test/css_content.html old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/css_float.html b/application/third_party/dompdf/www/test/css_float.html old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/css_font_selection.html b/application/third_party/dompdf/www/test/css_font_selection.html old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/css_important_flag.html b/application/third_party/dompdf/www/test/css_important_flag.html old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/css_letter_spacing.html b/application/third_party/dompdf/www/test/css_letter_spacing.html old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/css_line_height.html b/application/third_party/dompdf/www/test/css_line_height.html old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/css_margin.html b/application/third_party/dompdf/www/test/css_margin.html old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/css_media.html b/application/third_party/dompdf/www/test/css_media.html old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/css_multiple_class.html b/application/third_party/dompdf/www/test/css_multiple_class.html old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/css_opacity.html b/application/third_party/dompdf/www/test/css_opacity.html old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/css_outline.html b/application/third_party/dompdf/www/test/css_outline.html old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/css_overflow_hidden.html b/application/third_party/dompdf/www/test/css_overflow_hidden.html old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/css_position_all.html b/application/third_party/dompdf/www/test/css_position_all.html old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/css_position_fixed.html b/application/third_party/dompdf/www/test/css_position_fixed.html old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/css_selectors.html b/application/third_party/dompdf/www/test/css_selectors.html old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/css_table_height.html b/application/third_party/dompdf/www/test/css_table_height.html old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/css_text_align.html b/application/third_party/dompdf/www/test/css_text_align.html old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/css_z_index.html b/application/third_party/dompdf/www/test/css_z_index.html old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/demo_01.html b/application/third_party/dompdf/www/test/demo_01.html old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/dom_anchor_link.html b/application/third_party/dompdf/www/test/dom_anchor_link.html old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/dom_br.html b/application/third_party/dompdf/www/test/dom_br.html old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/dom_large_table.html b/application/third_party/dompdf/www/test/dom_large_table.html old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/dom_long_table.php b/application/third_party/dompdf/www/test/dom_long_table.php old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/dom_nbsp.html b/application/third_party/dompdf/www/test/dom_nbsp.html old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/dom_nested_table.html b/application/third_party/dompdf/www/test/dom_nested_table.html old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/dom_ol.html b/application/third_party/dompdf/www/test/dom_ol.html old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/dom_simple_ul.html b/application/third_party/dompdf/www/test/dom_simple_ul.html old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/dom_table.html b/application/third_party/dompdf/www/test/dom_table.html old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/dom_table_01.html b/application/third_party/dompdf/www/test/dom_table_01.html old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/dom_table_image.html b/application/third_party/dompdf/www/test/dom_table_image.html old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/dom_ul.html b/application/third_party/dompdf/www/test/dom_ul.html old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/encoding_entities.html b/application/third_party/dompdf/www/test/encoding_entities.html old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/encoding_latin1.html b/application/third_party/dompdf/www/test/encoding_latin1.html old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/encoding_special.html b/application/third_party/dompdf/www/test/encoding_special.html old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/encoding_symbols.html b/application/third_party/dompdf/www/test/encoding_symbols.html old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/encoding_unicode.html b/application/third_party/dompdf/www/test/encoding_unicode.html old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/encoding_unicode_wrapping.html b/application/third_party/dompdf/www/test/encoding_unicode_wrapping.html old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/encoding_utf-8.html b/application/third_party/dompdf/www/test/encoding_utf-8.html old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/encoding_utf-8_w3.html b/application/third_party/dompdf/www/test/encoding_utf-8_w3.html old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/image_background.html b/application/third_party/dompdf/www/test/image_background.html old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/image_basic.html b/application/third_party/dompdf/www/test/image_basic.html old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/image_bmp.html b/application/third_party/dompdf/www/test/image_bmp.html old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/image_datauri.html b/application/third_party/dompdf/www/test/image_datauri.html old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/image_gif.html b/application/third_party/dompdf/www/test/image_gif.html old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/image_remote.html b/application/third_party/dompdf/www/test/image_remote.html old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/image_transparent_gif.html b/application/third_party/dompdf/www/test/image_transparent_gif.html old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/image_transparent_png.html b/application/third_party/dompdf/www/test/image_transparent_png.html old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/image_variants.html b/application/third_party/dompdf/www/test/image_variants.html old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/bmp/test1.bmp b/application/third_party/dompdf/www/test/images/bmp/test1.bmp old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/bmp/test1.png b/application/third_party/dompdf/www/test/images/bmp/test1.png old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/bmp/test16.bmp b/application/third_party/dompdf/www/test/images/bmp/test16.bmp old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/bmp/test16.png b/application/third_party/dompdf/www/test/images/bmp/test16.png old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/bmp/test16bf555.bmp b/application/third_party/dompdf/www/test/images/bmp/test16bf555.bmp old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/bmp/test16bf555.png b/application/third_party/dompdf/www/test/images/bmp/test16bf555.png old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/bmp/test16bf565.bmp b/application/third_party/dompdf/www/test/images/bmp/test16bf565.bmp old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/bmp/test16bf565.png b/application/third_party/dompdf/www/test/images/bmp/test16bf565.png old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/bmp/test24.bmp b/application/third_party/dompdf/www/test/images/bmp/test24.bmp old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/bmp/test24.png b/application/third_party/dompdf/www/test/images/bmp/test24.png old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/bmp/test32.bmp b/application/third_party/dompdf/www/test/images/bmp/test32.bmp old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/bmp/test32.png b/application/third_party/dompdf/www/test/images/bmp/test32.png old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/bmp/test32bf.bmp b/application/third_party/dompdf/www/test/images/bmp/test32bf.bmp old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/bmp/test32bf.png b/application/third_party/dompdf/www/test/images/bmp/test32bf.png old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/bmp/test32bfv4.bmp b/application/third_party/dompdf/www/test/images/bmp/test32bfv4.bmp old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/bmp/test32bfv4.png b/application/third_party/dompdf/www/test/images/bmp/test32bfv4.png old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/bmp/test32v5.bmp b/application/third_party/dompdf/www/test/images/bmp/test32v5.bmp old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/bmp/test32v5.png b/application/third_party/dompdf/www/test/images/bmp/test32v5.png old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/bmp/test4.bmp b/application/third_party/dompdf/www/test/images/bmp/test4.bmp old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/bmp/test4.png b/application/third_party/dompdf/www/test/images/bmp/test4.png old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/bmp/test4os2v2.bmp b/application/third_party/dompdf/www/test/images/bmp/test4os2v2.bmp old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/bmp/test4os2v2.png b/application/third_party/dompdf/www/test/images/bmp/test4os2v2.png old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/bmp/test8.bmp b/application/third_party/dompdf/www/test/images/bmp/test8.bmp old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/bmp/test8.png b/application/third_party/dompdf/www/test/images/bmp/test8.png old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/bmp/test8os2.bmp b/application/third_party/dompdf/www/test/images/bmp/test8os2.bmp old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/bmp/test8os2.png b/application/third_party/dompdf/www/test/images/bmp/test8os2.png old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/bmp/testcompress4.bmp b/application/third_party/dompdf/www/test/images/bmp/testcompress4.bmp old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/bmp/testcompress4.png b/application/third_party/dompdf/www/test/images/bmp/testcompress4.png old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/bmp/testcompress8.bmp b/application/third_party/dompdf/www/test/images/bmp/testcompress8.bmp old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/bmp/testcompress8.png b/application/third_party/dompdf/www/test/images/bmp/testcompress8.png old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/bmp/trans.bmp b/application/third_party/dompdf/www/test/images/bmp/trans.bmp old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/bmp/trans.png b/application/third_party/dompdf/www/test/images/bmp/trans.png old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/cmyk_test2.jpg b/application/third_party/dompdf/www/test/images/cmyk_test2.jpg old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/dokuwiki-128.png b/application/third_party/dompdf/www/test/images/dokuwiki-128.png old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/dompdf_simple.png b/application/third_party/dompdf/www/test/images/dompdf_simple.png old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/goldengate.jpg b/application/third_party/dompdf/www/test/images/goldengate.jpg old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/green.gif b/application/third_party/dompdf/www/test/images/green.gif old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/html.png b/application/third_party/dompdf/www/test/images/html.png old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/pdf.png b/application/third_party/dompdf/www/test/images/pdf.png old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/php.gif b/application/third_party/dompdf/www/test/images/php.gif old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/png.png b/application/third_party/dompdf/www/test/images/png.png old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/png/gray16a.png b/application/third_party/dompdf/www/test/images/png/gray16a.png old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/png/gray16a_bk.png b/application/third_party/dompdf/www/test/images/png/gray16a_bk.png old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/png/gray16b.png b/application/third_party/dompdf/www/test/images/png/gray16b.png old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/png/gray16b_bk.png b/application/third_party/dompdf/www/test/images/png/gray16b_bk.png old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/png/gray8a.png b/application/third_party/dompdf/www/test/images/png/gray8a.png old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/png/gray8a_bk.png b/application/third_party/dompdf/www/test/images/png/gray8a_bk.png old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/png/gray8b.png b/application/third_party/dompdf/www/test/images/png/gray8b.png old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/png/gray8b_bk.png b/application/third_party/dompdf/www/test/images/png/gray8b_bk.png old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/png/pal.png b/application/third_party/dompdf/www/test/images/png/pal.png old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/png/pal_bk.png b/application/third_party/dompdf/www/test/images/png/pal_bk.png old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/png/pal_bk_notrns.png b/application/third_party/dompdf/www/test/images/png/pal_bk_notrns.png old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/png/palb.png b/application/third_party/dompdf/www/test/images/png/palb.png old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/png/result_16ns.gif b/application/third_party/dompdf/www/test/images/png/result_16ns.gif old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/png/result_1trns.gif b/application/third_party/dompdf/www/test/images/png/result_1trns.gif old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/png/result_bla.gif b/application/third_party/dompdf/www/test/images/png/result_bla.gif old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/png/result_dith.gif b/application/third_party/dompdf/www/test/images/png/result_dith.gif old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/png/result_gra.gif b/application/third_party/dompdf/www/test/images/png/result_gra.gif old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/png/result_mag.gif b/application/third_party/dompdf/www/test/images/png/result_mag.gif old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/png/result_magthr1.gif b/application/third_party/dompdf/www/test/images/png/result_magthr1.gif old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/png/result_no.gif b/application/third_party/dompdf/www/test/images/png/result_no.gif old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/png/result_nsbug.gif b/application/third_party/dompdf/www/test/images/png/result_nsbug.gif old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/png/result_ok.gif b/application/third_party/dompdf/www/test/images/png/result_ok.gif old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/png/result_oprbug.gif b/application/third_party/dompdf/www/test/images/png/result_oprbug.gif old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/png/result_thr1.gif b/application/third_party/dompdf/www/test/images/png/result_thr1.gif old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/png/result_thr128.gif b/application/third_party/dompdf/www/test/images/png/result_thr128.gif old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/png/result_thr255.gif b/application/third_party/dompdf/www/test/images/png/result_thr255.gif old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/png/result_whi.gif b/application/third_party/dompdf/www/test/images/png/result_whi.gif old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/png/result_yel.gif b/application/third_party/dompdf/www/test/images/png/result_yel.gif old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/png/result_yelthr1.gif b/application/third_party/dompdf/www/test/images/png/result_yelthr1.gif old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/png/resultb_bla.gif b/application/third_party/dompdf/www/test/images/png/resultb_bla.gif old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/png/resultb_bug.gif b/application/third_party/dompdf/www/test/images/png/resultb_bug.gif old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/png/resultb_mag.gif b/application/third_party/dompdf/www/test/images/png/resultb_mag.gif old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/png/resultb_moz2.gif b/application/third_party/dompdf/www/test/images/png/resultb_moz2.gif old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/png/resultb_no.gif b/application/third_party/dompdf/www/test/images/png/resultb_no.gif old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/png/resultb_ok.gif b/application/third_party/dompdf/www/test/images/png/resultb_ok.gif old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/png/resultb_whi.gif b/application/third_party/dompdf/www/test/images/png/resultb_whi.gif old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/png/resultb_yel.gif b/application/third_party/dompdf/www/test/images/png/resultb_yel.gif old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/png/resultg_bla.gif b/application/third_party/dompdf/www/test/images/png/resultg_bla.gif old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/png/resultg_dgr.gif b/application/third_party/dompdf/www/test/images/png/resultg_dgr.gif old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/png/resultg_lgr.gif b/application/third_party/dompdf/www/test/images/png/resultg_lgr.gif old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/png/resultg_no.gif b/application/third_party/dompdf/www/test/images/png/resultg_no.gif old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/png/resultga.gif b/application/third_party/dompdf/www/test/images/png/resultga.gif old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/png/resultgb.gif b/application/third_party/dompdf/www/test/images/png/resultgb.gif old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/png/resultgb_dgr.gif b/application/third_party/dompdf/www/test/images/png/resultgb_dgr.gif old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/png/resultgb_no.gif b/application/third_party/dompdf/www/test/images/png/resultgb_no.gif old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/png/resultpb_no.gif b/application/third_party/dompdf/www/test/images/png/resultpb_no.gif old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/png/rgb16_t.png b/application/third_party/dompdf/www/test/images/png/rgb16_t.png old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/png/rgb16_t_bk.png b/application/third_party/dompdf/www/test/images/png/rgb16_t_bk.png old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/png/rgb8_t.png b/application/third_party/dompdf/www/test/images/png/rgb8_t.png old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/png/rgb8_t_bk.png b/application/third_party/dompdf/www/test/images/png/rgb8_t_bk.png old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/png/rgba16.png b/application/third_party/dompdf/www/test/images/png/rgba16.png old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/png/rgba16_bk.png b/application/third_party/dompdf/www/test/images/png/rgba16_bk.png old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/png/rgba8.png b/application/third_party/dompdf/www/test/images/png/rgba8.png old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/png/rgba8_bk.png b/application/third_party/dompdf/www/test/images/png/rgba8_bk.png old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/png/stripe.gif b/application/third_party/dompdf/www/test/images/png/stripe.gif old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/smiley.png b/application/third_party/dompdf/www/test/images/smiley.png old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/images/what_ordered.gif b/application/third_party/dompdf/www/test/images/what_ordered.gif old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/page_pages.html b/application/third_party/dompdf/www/test/page_pages.html old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/quirks_center_table.html b/application/third_party/dompdf/www/test/quirks_center_table.html old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/quirks_font_tag.html b/application/third_party/dompdf/www/test/quirks_font_tag.html old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/quirks_html_attributes.html b/application/third_party/dompdf/www/test/quirks_html_attributes.html old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/script_javascript.html b/application/third_party/dompdf/www/test/script_javascript.html old mode 100644 new mode 100755 diff --git a/application/third_party/dompdf/www/test/script_php.php b/application/third_party/dompdf/www/test/script_php.php old mode 100644 new mode 100755 diff --git a/application/third_party/index.html b/application/third_party/index.html old mode 100644 new mode 100755 diff --git a/application/views/404.php b/application/views/404.php old mode 100644 new mode 100755 diff --git a/application/views/AddPOLineItem.php b/application/views/AddPOLineItem.php old mode 100644 new mode 100755 diff --git a/application/views/AmendPOlist.php b/application/views/AmendPOlist.php old mode 100644 new mode 100755 diff --git a/application/views/EditPurchaseOrder.php b/application/views/EditPurchaseOrder.php old mode 100644 new mode 100755 diff --git a/application/views/EditservicePurchaseorder.php b/application/views/EditservicePurchaseorder.php old mode 100644 new mode 100755 diff --git a/application/views/Mainpage.php b/application/views/Mainpage.php old mode 100644 new mode 100755 diff --git a/application/views/POlist.php b/application/views/POlist.php old mode 100644 new mode 100755 diff --git a/application/views/ViewPurchaseOrder.php b/application/views/ViewPurchaseOrder.php old mode 100644 new mode 100755 diff --git a/application/views/access.php b/application/views/access.php old mode 100644 new mode 100755 diff --git a/application/views/addCostCenter.php b/application/views/addCostCenter.php old mode 100644 new mode 100755 diff --git a/application/views/addMontly.php b/application/views/addMontly.php old mode 100644 new mode 100755 diff --git a/application/views/addNew.php b/application/views/addNew.php old mode 100644 new mode 100755 diff --git a/application/views/addPO.php b/application/views/addPO.php old mode 100644 new mode 100755 diff --git a/application/views/addRawMaterial.php b/application/views/addRawMaterial.php old mode 100644 new mode 100755 diff --git a/application/views/addasset.php b/application/views/addasset.php old mode 100644 new mode 100755 diff --git a/application/views/addcost.php b/application/views/addcost.php old mode 100644 new mode 100755 diff --git a/application/views/addemployee.php b/application/views/addemployee.php old mode 100644 new mode 100755 diff --git a/application/views/addemppaydate.php b/application/views/addemppaydate.php old mode 100644 new mode 100755 diff --git a/application/views/addsupplier.php b/application/views/addsupplier.php old mode 100644 new mode 100755 diff --git a/application/views/alterpurchaseorder.php b/application/views/alterpurchaseorder.php old mode 100644 new mode 100755 index 72a7373e..d4b0b791 --- a/application/views/alterpurchaseorder.php +++ b/application/views/alterpurchaseorder.php @@ -328,6 +328,7 @@ var SelectedMaterialList = { * To calcuate the Discount */ function calculateDiscount(isEdit) { + if(isEdit == '0') { if($('#MaterialCode').val() == "0") @@ -1466,7 +1467,7 @@ function calculatePackaging(isEdit) } function change(){ var isEdit=0; - // ExceedEditQuantityCheck(); + //ExceedEditQuantityCheck(); if($('#Quantity').val() != '' && $('#Rate').val() != '') { var txtQuantity = parseFloat( $('#Quantity').val()); @@ -1550,7 +1551,7 @@ function calculatePackaging(isEdit) var tot = parseFloat(totvalue).toFixed(2); $('#txtEditRevenueTotalOrderValue').val(tot); - validateEditExceedLimit(); + // validateEditExceedLimit(); } // calculate vat rate @@ -1786,11 +1787,12 @@ function populateValueMainFormForDeleteItem(rowid) if(!empty($RequestType)) { + foreach ($RequestType as $RID): - - + if($RID->ConfigValue=="SERVICE" || $RID->ConfigValue=="REVENUE") + { $options[$RID->ConfigValue] = $RID->ConfigValue; - + } endforeach; } @@ -1803,7 +1805,7 @@ function populateValueMainFormForDeleteItem(rowid)
'PODate','value' => set_value('PODate'),'id'=>'PODate', 'class' => 'form-control num' ,'required' => 'true'); + $data = array('name' => 'PODate','value' => set_value('PODate',$CurrentDate),'id'=>'PODate', 'class' => 'form-control num' ,'required' => 'true'); echo form_input($data); ?>
@@ -1893,7 +1895,7 @@ function populateValueMainFormForDeleteItem(rowid) 'Deliverydt','value' => set_value('Deliverydt'),'id'=>'Deliverydt', 'class' => 'form-control num' ,'required' => 'true'); + $data = array('name' => 'Deliverydt','value' => set_value('Deliverydt',$CurrentDate),'id'=>'Deliverydt', 'class' => 'form-control num' ,'required' => 'true'); echo form_input($data); ?> @@ -1907,19 +1909,20 @@ function populateValueMainFormForDeleteItem(rowid)
'Select Department Name'); + // $options = array("0"=>'Select Department Name'); if(!empty($DeptList)) { + foreach ($DeptList as $DID): + - - $options[$DID->DEPCode] = $DID->DEPCode.' '.' - '.' '.$DID->DepartmentName; + $options1[$DID['DEPCode']] = $DID['DEPCode'].' '.' - '.' '.$DID['DepartmentName']; endforeach; } - echo form_dropdown('drpDepartment', $options,set_value('drpDepartment'),'id="DepartmentName"' ,'class = "form-control select2"','required="true"'); + echo form_dropdown('drpDepartment', $options1,set_value('drpDepartment'),'id="DepartmentName"' ,'class = "form-control select2"','required="true"', 'disabled="disabled"'); ?> @@ -1929,20 +1932,21 @@ function populateValueMainFormForDeleteItem(rowid)
'Cost Center Name'); - //print_r( $options); + // $options = array("0"=>'Cost Center Name'); + - if(!empty($POType)) + if(!empty($CostList)) { - foreach ($SupplierName as $SID): + + foreach ($CostList as $cost): - $options[$SID->SupplierID] = $SID->SupplierID.' '.' - '.' '.$SID->SupplierName; + $options2[$cost['CostCenterCode']] = $cost['CostCenterCode'].' '.' - '.' '.$cost['CostCenterName']; endforeach; } - echo form_dropdown('CostCenterName', $options,set_value('CostCenterName'),'id="CostCenterName"','class="form-control select2"' , 'required="true"' ,'multiple="true"'); + echo form_dropdown('CostCenterName', $options2,set_value('CostCenterName'),'id="CostCenterName"','class="form-control select2"' , 'required="true"' ,'multiple="true"'); ?>
@@ -4555,8 +4559,9 @@ function populateValueMainFormForDeleteItem(rowid) var index = '1'; var userid = ''; $('.AddRevenue').click(function(){ - - if(validateRevenueTax() && validateExceedLimit()) + + + if(validateRevenueTax() && ExceedBudget($('#txtTotalOrderValue').val(), $('#AvalBuget').val())) { @@ -4962,13 +4967,65 @@ function populateValueMainFormForDeleteItem(rowid) /** * update available budget calculation using regNo and cost center */ + $(document).ready(function () { + var id = $('#CostCenterName').val(); + $("#AvlBudAmt").val(''); + var ReqType =$('#purpose').val(); + + if(id != '0' && ReqType!='-1') + { + + $('#content').loader('show'); + $.ajax({ + data:{id:id}, + type:"POST", + url:"servicepurchaseorder/AvilBudgetAmount?ReqType="+ReqType, + success:function(data) { + if(data) + { + + $('#content').loader('hide'); + $("#AvalBuget").val(data); + if(parseFloat($("#AvalBuget").val()) <= 0) + { + $('#AlertImg').removeAttr("style"); + isExceed = 1; + } + else + { + $('#AlertImg').attr("style","display:none;"); + isExceed =0; + } + } + else + { + $('#content').loader('hide'); + alert("Error"); + } + + } + }); + } + else + { + alert('Please select the Request Type '); + + } + }); + + + + + $('#CostCenterName').change(function() { var id = $('#CostCenterName').val(); $("#AvlBudAmt").val(''); var ReqType =$('#purpose').val(); - if(id != '0') + if(id != '0' && ReqType!='-1') { + + $('#content').loader('show'); $.ajax({ data:{id:id}, @@ -5001,7 +5058,7 @@ function populateValueMainFormForDeleteItem(rowid) } else { - alert('Please select the MaterialCode'); + alert('Please select Request Type'); return false; } @@ -5047,10 +5104,10 @@ function populateValueMainFormForDeleteItem(rowid) $('#purpose').change(function(){ var input=''; input=$("#purpose").val(); -if(input == -1){ + if(input == -1){ $("#POType").val(''); -} + } else { $("#POType").val(input); // $('#content').loader('show'); @@ -5095,6 +5152,54 @@ if(input == -1){ } }); + + + + var id = $('#CostCenterName').val(); + $("#AvlBudAmt").val(''); + var ReqType =$('#purpose').val(); + if(id != '0' && ReqType!='-1') + { + + + $('#content').loader('show'); + $.ajax({ + data:{id:id}, + type:"POST", + url:"servicepurchaseorder/AvilBudgetAmount?ReqType="+ReqType, + success:function(data) { + if(data) + { + $('#content').loader('hide'); + $("#AvalBuget").val(data); + if(parseFloat($("#AvalBuget").val()) <= 0) + { + $('#AlertImg').removeAttr("style"); + isExceed = 1; + } + else + { + $('#AlertImg').attr("style","display:none;"); + isExceed =0; + } + } + else + { + $('#content').loader('hide'); + alert("Error"); + } + + } + }); + } + else + { + alert('Please select Request Type'); + return false; + } + + + } }); @@ -5440,7 +5545,7 @@ if(input == -1){ var id= $('#Reqnumber'+userid).val(); $('#EditReqNo').val($('#Reqnumber'+userid).val()); $('#EditdeptName').val($('#departmentName'+userid).val()); - + $('#EditCostCenter').val($('#costCode'+userid).val()); $('#EditAvlBudAmt').val($('#AvilBudget'+userid).val()); @@ -5460,11 +5565,6 @@ if(input == -1){ - $.each(JSON.parse(CostArray), function (index, value) { - if ($('#costCode'+userid).val()==value.CostCenterCode) { - $('#EditCostCenter').val($('#costCode'+userid).val() + '-'+ value.CostCenterName); - - } $("#EditMaterialCode").empty(); @@ -5487,7 +5587,7 @@ if(input == -1){ - }); + /*get Material list while editing @@ -5582,7 +5682,7 @@ $('#content').loader('hide'); var SwachhTaxAmount = parseFloat($('#EditAfterSwachhTax').val()); var TotAmt = basicValue + ServiceTaxAmount+ EduCessTaxAmount + SecHighTaxAmount+ KrishiTaxAmount + SwachhTaxAmount; - + alert(TotAmt); $('#EditTotalOrderValue').val( parseFloat(TotAmt).toFixed(2)); } @@ -5709,7 +5809,7 @@ $('#content').loader('hide'); var TotSwachhTax = 0; var TotSummary = 0; var TotBasicAmout = 0; - for (i = 1; i < rows-1; i++) { + for (i = 1; i < rows; i++) { var AfterServiceTax = $('#ServiceTax'+i).val() == '' ? '0.00' : $('#ServiceTax'+i).val(); var AfterEduCess = $('#EduCess'+i).val() == '' ? '0.00' : $('#EduCess'+i).val(); @@ -5814,12 +5914,17 @@ $('#content').loader('hide'); if(validate()) { - if(document.getElementById('serviceTax').rows.length < 3) + if(document.getElementById('serviceTax').rows.length < 2) { alert('Please Select Line item to Create PO'); $('#Deliverydt').focus(); return false; } + else if($('#AvalBuget').val() < TextTotalOrderValueSummaryService) { + alert('Total Order Amount is exceeding the Budget Limit.Please adjust the product value.'); + + return false; + } else { $('#content').loader('show'); @@ -5882,12 +5987,17 @@ $('#content').loader('hide'); if(validate()) { - if(document.getElementById('serviceTax').rows.length < 3) + if(document.getElementById('serviceTax').rows.length < 2) { alert('Please Select Line item to Create PO'); $('#Deliverydt').focus(); return false; } + else if($('#AvalBuget').val() < txtTotalOrderValueSummary) { + alert('Total Order Amount is exceeding the Budget Limit.Please adjust the product value.'); + + return false; + } else { $('#content').loader('show'); @@ -5925,7 +6035,8 @@ $('#content').loader('hide'); */ function populateValueMainFormForDeleteServiceTax(deletedRow) { - var rows = document.getElementById('serviceTax').rows.length+1; + + var rows = document.getElementById('serviceTax').rows.length; var TotServiceTax = 0; var TotEduCess = 0; var TotSecHighTax = 0; @@ -5933,7 +6044,8 @@ $('#content').loader('hide'); var TotSwachhTax = 0; var TotSummary = 0; var TotBasicAmout = 0; - for (var i = 1; i < rows; i++) { + for (var i = 1; i <= rows; i++) { + if(deletedRow==i){ $('#ServiceTax'+i).val(''); $('#EduCess'+i).val(''); @@ -6110,7 +6222,7 @@ $('#content').loader('hide'); $('#EditRevenueReqNo').val($('#Reqnumber'+userid).val()); $('#EditRevenuedeptName').val($('#departmentName'+userid).val()); - //$("#EditRevenueCostCenter").val($('#costCode'+userid).val()); + $("#EditRevenueCostCenter").val($('#costCode'+userid).val()); $('#EditRevenueAvlBudAmt').val($('#AvilBudget'+userid).val()); $('#EditRevenueItemName').val($('#materialName'+userid).val()); @@ -6141,15 +6253,10 @@ $('#content').loader('hide'); $('#txtEditRevenueTotalOrderValue').val($('#TotalOrderValue'+userid).val()); - $.each(JSON.parse(CostArray), function (index, value) { - if ($('#costCode'+userid).val()==value.CostCenterCode) { - $('#EditRevenueCostCenter').val($('#costCode'+userid).val() + '-'+ value.CostCenterName); - - } $("#EditRevenueMaterialCode").empty(); - + $("#EditRevenueMaterialCode").append( $('').val($('#materialCode'+userid).val()).html($('#materialCode'+userid).val() + "-" + $('#materialName'+userid).val()) ); $.each(JSON.parse(materialData), function (index, value) { @@ -6168,7 +6275,7 @@ $('#content').loader('hide'); - }); + $("#EditDiscountType").val($('#DisType'+userid).val()); $("#drpEditFreight").val($('#FreightType'+userid).val()); $("#EditPackagingType").val($('#PackType'+userid).val()) @@ -6432,6 +6539,31 @@ $('#Scheduleby').change(function(){ }); +function calculateTotalValue() + { + + var Packaging = $('#txtAfterPackaging').val() == '' ? '0.00' : $('#txtAfterPackaging').val(); + var ExciseDuty = $('#txtAfterExciseDuty').val() == '' ? '0.00' : $('#txtAfterExciseDuty').val(); + var Vat = $('#txtAfterVat').val() == '' ? '0.00' : $('#txtAfterVat').val(); + var CST = $('#txtAfterCST').val() == '' ? '0.00' : $('#txtAfterCST').val(); + var GST = $('#txtAfterGST').val() == '' ? '0.00' : $('#txtAfterGST').val(); + var OtherTax = $('#txtAfterOtherTax').val() == '' ? '0.00' : $('#txtAfterOtherTax').val(); + var Freight = $('#txtAfterFreight').val() == '' ? '0.00' : $('#txtAfterFreight').val(); + var Insurance = $('#txtInsurance').val() == '' ? '0.00' : $('#txtInsurance').val(); + var Discount = $('#txtAfterDiscount').val() == '' ? '0.00' : $('#txtAfterDiscount').val(); + var BasicVal = $('#txtBasicValue').val() == '' ? '0.00' : $('#txtBasicValue').val(); + + var totvalue = ( parseFloat(BasicVal) + parseFloat(Packaging)+ parseFloat(ExciseDuty)+ parseFloat(Vat) + parseFloat(CST)+ parseFloat(GST) + parseFloat(OtherTax) + parseFloat(Freight) + parseFloat(Insurance)) - parseFloat(Discount); + + + var tot = parseFloat(totvalue).toFixed(2); + + $('#txtTotalOrderValue').val(tot); + + validateExceedLimit(); + ExceedQuantityCheck(); + } + diff --git a/application/views/alterpurchaseorder.php~ b/application/views/alterpurchaseorder.php~ new file mode 100755 index 00000000..d4b0b791 --- /dev/null +++ b/application/views/alterpurchaseorder.php~ @@ -0,0 +1,6569 @@ + +format('Y-m-d'); +$MaxPoDate = ''; +if(!empty($MaxPODate)) +{ + foreach ($MaxPODate as $date) + { + $MaxPoDate = $date->PODate; + } +} +if(!empty($CompanyDetails)) +{ + foreach ($CompanyDetails as $Req) + { + $CompanyAddress = $Req->Address; + } +} +?> + + + + + +
+ 'form-label-left CreatealterPO ','name' => 'CreatealterPO','id' => 'CreatealterPO'); + + echo form_open($this->config->base_url().'/purchaseorder/addalterPO/',$attributes); ?> + +
+
+
+

Siddharth Industries - Emergency Purchase Order

+
+ +
+
+
+
+ + 'Select Request Type'); + + if(!empty($RequestType)) + { + + foreach ($RequestType as $RID): + if($RID->ConfigValue=="SERVICE" || $RID->ConfigValue=="REVENUE") + { + $options[$RID->ConfigValue] = $RID->ConfigValue; + } + endforeach; + } + + echo form_dropdown('RequestType', $options,set_value('ConfigValue'),'id="purpose"' ,'class = "form-control select2"','required="true"'); + + ?> + +
+
+ +
+ 'PODate','value' => set_value('PODate',$CurrentDate),'id'=>'PODate', 'class' => 'form-control num' ,'required' => 'true'); + echo form_input($data); + ?> +
+
+
+ +
+ + 'POType','value' => set_value('POType',$ReqType),'id'=>'POType', 'class' => 'form-control' ,'readonly' => 'true'); + echo form_input($data); + ?> +
+
+ + +
+ + Select Delivery By
+ + + "DateRange", "id"=>"Date", "value"=>"0", 'checked'=>set_radio('DateRange', '0', TRUE))); ?>     + + "DateRange", "id"=>"Schedule", "value"=>"1", 'checked'=>set_radio('DateRange', '1', FALSE))); ?> + + + +
+ + +
+
+
+ +
+ 'Select Supplier'); + //print_r( $options); + + if(!empty($Suplist)) + { + foreach ($Suplist as $SID): + + + $options[$SID->SupplierID] = $SID->SupplierID.' '.' - '.' '.$SID->SupplierName; + + endforeach; + } + + echo form_dropdown('drpSupplier', $options,set_value('drpSupplier'),'id="drpSupplier"' ,'required="true"' ,'class="form-control select2"'); + + ?> +
+
+ +
+ +
+ 'SupAddress','value' => set_value('SupAddress'),'id'=>'SupAddress', 'class' => 'form-control' ,'readonly' => 'true' ,'rows' => '3', 'cols' => '40'); + echo Form_textarea($data); + ?> +
+
+
+ +
+ 'DeliveryAddr','value' => set_value('DeliveryAddr',$CompanyAddress),'id'=>'DeliveryAddr', 'class' => 'form-control' ,'required' => 'true' ,'rows' => '3', 'cols' => '40'); + echo Form_textarea($data); + ?> + +
+
+
+ + +
+ + + 'Deliverydt','value' => set_value('Deliverydt',$CurrentDate),'id'=>'Deliverydt', 'class' => 'form-control num' ,'required' => 'true'); + echo form_input($data); + ?> + +
+ +
+ +
+
+
+ +
+ 'Select Department Name'); + + if(!empty($DeptList)) + { + + foreach ($DeptList as $DID): + + + $options1[$DID['DEPCode']] = $DID['DEPCode'].' '.' - '.' '.$DID['DepartmentName']; + + endforeach; + } + + echo form_dropdown('drpDepartment', $options1,set_value('drpDepartment'),'id="DepartmentName"' ,'class = "form-control select2"','required="true"', 'disabled="disabled"'); + + ?> + +
+
+
+ +
+ 'Cost Center Name'); + + + if(!empty($CostList)) + { + + foreach ($CostList as $cost): + + + $options2[$cost['CostCenterCode']] = $cost['CostCenterCode'].' '.' - '.' '.$cost['CostCenterName']; + + endforeach; + } + + echo form_dropdown('CostCenterName', $options2,set_value('CostCenterName'),'id="CostCenterName"','class="form-control select2"' , 'required="true"' ,'multiple="true"'); + + ?> +
+
+
+ +
+ 'AvalBuget','value' => set_value('AvalBuget'),'id'=>'AvalBuget', 'class' => 'form-control num' ,'required' => 'true' ,'readonly' => 'true'); + echo form_input($data); + ?> +
+
+ + + + + +
+
+ +
+ + + + + + + + + + + + + + + + + +
+ +
+ + + + + + + + + + + + + + + +
+ +
+ + +
+
+ + + + + + + + + + + + + + + + + + + + + +
SNoRequisition NoItem NameQuantityUOMRateBasic AmountTax AmountTotal Order AmountAction
+
+ + + + + + +
+ +
+ + + + + +
+
+ + + + + + diff --git a/application/views/alterpurchaseorderprint.php b/application/views/alterpurchaseorderprint.php old mode 100644 new mode 100755 diff --git a/application/views/assetListing.php b/application/views/assetListing.php old mode 100644 new mode 100755 diff --git a/application/views/capitalpopdf.php b/application/views/capitalpopdf.php old mode 100644 new mode 100755 index 0e87ef12..53b3246f --- a/application/views/capitalpopdf.php +++ b/application/views/capitalpopdf.php @@ -1,121 +1,153 @@ +FirstName; + $RequestedByDept=$requestedBy[0]->DepartmentName ; + + $PONO = ''; + $postatus =''; + $CompanyAddress = ''; + $CompanyName = ''; + $SuplierName = ''; + $SuplierAddress = ''; + $DeliveryAddress = ''; + $Podt = ''; + $DeliveryDate =''; + $ServiceDescription = ''; + $index=0; + if(!empty($CompanyDetails)) + { + foreach ($CompanyDetails as $CO) + { + $CompanyName = $CO->CompanyName; + $CompanyAddress = $CO->Address; + } + } + + + if(!empty($POItem)) + { + + foreach ($POItem as $PO) + { + $ReqNo=$PO->ReqNo; + $PONO = $PO->PONO; + $postatus= $PO->Status; + $SuplierName = $PO->SupplierName; + $SuplierAddress = $PO->Address; + $DeliveryAddress = $PO->DeliveryAddress; + + $dt = new DateTime($PO->PODate, new DateTimeZone('Asia/Kolkata')); + $Podt = $dt->format('d-m-Y'); + $dtDe = new DateTime($PO->DeliveryDate, new DateTimeZone('Asia/Kolkata')); + $DeliveryDate = $dtDe->format('d-m-Y'); + $ServiceDescription =$PO->ServiceDescription; + $CostCenterCode=$PO->CostCenterCode; + + $PaymentTerms=$PO->PaymentTerms; + + } + } + + +?> + + + + +

CAPITAL PURCHASE ORDER

-#PO0001
+ +Purchase Order Date :

-Siddharth Industries
Survey No: 168/1C3,Pennalur Pet Road,
Goonipalyam village,Uthukottai Taluk,
Tiruvallur Dist, Chennai,Tamilnadu,Pin code : 602026.

+
.

- - - - -
-

Vendor Address
DR Enterprices
Uthukottai Taluk,Tiruvallur Dist,
Chennai,Tamilnadu,Pin code : 602026.

-

Delivery To
Siddharth Industries
Survey No: 168/1C3,Pennalur Pet Road, Goonipalyam village,
Uthukottai Taluk,Tiruvallur Dist, Chennai,Tamilnadu,Pin code : 602026.

Purchase Order Date :2/5/2017 , Delivery Date :10/5/2017
- - - - - - - - - - - - - - + + +
Service TaxEducess TaxSec Higher Educess TaxKrishi Kalyan taxSwachh Bharat tax
100120500200100Vendor Address
.
Delivery To
.
Delivery Date :
+
+
+ - - - - - - - - - - - - + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + +
# Item and Description Qty Rate per unitLanding ChargeHigh Seas Sales chargeCustom dutyCustom duty- Edu.cessCustom duty-Sec & Hig Edu cessExcise dutyExcise duty- Edu.cessExcise duty-Sec & Hig Edu cessAdditional Excise dutyGross duty payableAvailable Modvat -set-off on importGross expenses due to custom dutyTotal Amount(INR)
1Resin - (A grade)1001205001000130010012050010001300700130070002001,23,800
2Dry Sand - (A grade)100012005000100001300010012050010001300700013007000200012,38,000MaterialName ; ?>Quantity ; ?>Rate ; ?>Quantity*$record->Rate); + echo number_format($BasicValue,2) ; ?>
- - - - - - - - - - - - - - - - - - - -

Landing Charge (Rs):5500

High Seas Sales charge (Rs):11000

Custom duty (Rs):14300

Custom duty- Edu.cess (Rs):14300

Custom duty-Sec & Hig Edu cess (Rs) :7700

Excise duty (Rs) :2200

Excise duty- Edu.cess (Rs):1300

Excise duty-Sec & Hig Edu cess (Rs):14300

Additional Excise duty (Rs) :7700

Gross duty payable (Rs) :2200

Available Modvat -set-off on import (Rs):1300

Gross expenses due to custom duty (Rs):14300

+ +


-

Sub Total (INR):13,61,800

+

Sub Total Amount(INR):


+ + + + + +
Total Amount In Words:
+ + + + + + + + +
Requition Number :
Requested by :
Requisted Department :
Cost center :
+
Payment Terms *
+
+ +
\ No newline at end of file diff --git a/application/views/capitalpopdf.php~ b/application/views/capitalpopdf.php~ new file mode 100755 index 00000000..53b3246f --- /dev/null +++ b/application/views/capitalpopdf.php~ @@ -0,0 +1,153 @@ +FirstName; + $RequestedByDept=$requestedBy[0]->DepartmentName ; + + $PONO = ''; + $postatus =''; + $CompanyAddress = ''; + $CompanyName = ''; + $SuplierName = ''; + $SuplierAddress = ''; + $DeliveryAddress = ''; + $Podt = ''; + $DeliveryDate =''; + $ServiceDescription = ''; + $index=0; + if(!empty($CompanyDetails)) + { + foreach ($CompanyDetails as $CO) + { + $CompanyName = $CO->CompanyName; + $CompanyAddress = $CO->Address; + } + } + + + if(!empty($POItem)) + { + + foreach ($POItem as $PO) + { + $ReqNo=$PO->ReqNo; + $PONO = $PO->PONO; + $postatus= $PO->Status; + $SuplierName = $PO->SupplierName; + $SuplierAddress = $PO->Address; + $DeliveryAddress = $PO->DeliveryAddress; + + $dt = new DateTime($PO->PODate, new DateTimeZone('Asia/Kolkata')); + $Podt = $dt->format('d-m-Y'); + $dtDe = new DateTime($PO->DeliveryDate, new DateTimeZone('Asia/Kolkata')); + $DeliveryDate = $dtDe->format('d-m-Y'); + $ServiceDescription =$PO->ServiceDescription; + $CostCenterCode=$PO->CostCenterCode; + + $PaymentTerms=$PO->PaymentTerms; + + } + } + + +?> + + + + +
+
+

CAPITAL PURCHASE ORDER

+
+Purchase Order Date : +
+ +

+
.

+ + + + + + +
Vendor Address
.
Delivery To
.
Delivery Date :
+
+
+ + + + + + + + + + + + + + + + + + + + + + + +
#Item and DescriptionQtyRate per unitTotal Amount(INR)
MaterialName ; ?>Quantity ; ?>Rate ; ?>Quantity*$record->Rate); + echo number_format($BasicValue,2) ; ?>
+ + + +
+
+
+
+

Sub Total Amount(INR):

+
+ + + + + + +
Total Amount In Words:
+ + + + + + + + +
Requition Number :
Requested by :
Requisted Department :
Cost center :
+
Payment Terms *
+
+ +
+
\ No newline at end of file diff --git a/application/views/capitalpurchaseorder.php b/application/views/capitalpurchaseorder.php old mode 100644 new mode 100755 index 47878727..a2b29a98 --- a/application/views/capitalpurchaseorder.php +++ b/application/views/capitalpurchaseorder.php @@ -4,6 +4,9 @@ $CurrentDate = $dt->format('Y-m-d'); $MaxPoDate = ''; $AvlAmount = 0; + $paymentDate=''; + $paymentCheckDays='Before'; +$paymentCheckDays1='After'; if(!empty($MaxPODate)) { foreach ($MaxPODate as $date) @@ -24,6 +27,7 @@ $AvlAmount = $AvlBudAmt; } + ?> + + +
+ 'form-label-left CapitalPO ','name' => 'CapitalPO','id' => 'ImportPO'); + + echo form_open($this->config->base_url().'/purchaseorder/addPO/',$attributes); ?> + + +
+ +
+
+ +

Siddharth Industries - Capital Purchase Order

+ + +
+
+
+
+
+
+ + 'Selected Requisition Numbers'); + if(!empty($ReqList)) + { + foreach ($ReqList as $SID): + + // print_r($SID->ReqNo); + $options[$SID->ReqNo] = $SID->ReqNo ."-". $SID->ReqBy; + $ReqType = $SID->ReqType; + endforeach; + } + echo form_multiselect('RequistionNo', $options,set_value('RequistionNo'),'id="RequistionNo"' , 'required="true"'); + + ?> +
+
+ +
+ + + + 'Select Currency Type '); + //print_r( $options); + + if(!empty($Currency)) + { + + foreach ($Currency as $Cur): + + $options[$Cur->CurrencyCode] = $Cur->CurrencyCode.' '.' - '.' '.$Cur->CurrencyName; + + endforeach; + } + + echo form_dropdown('currencytype', $options,set_value('currencytype'),'id="currencytype"','class="form-control select2"' , 'required="true"'); + + ?> + +
+
+ +
+
+
+
+ + + 'Select Supplier'); + //print_r( $options); + + if(!empty($Suplist)) + { + foreach ($Suplist as $SID): + + + $options[$SID->SupplierID] = $SID->SupplierID.' '.' - '.' '.$SID->SupplierName; + + endforeach; + } + + echo form_dropdown('drpSupplier', $options,set_value('drpSupplier'),'id="drpSupplier"' ,'required="true"' ,'class="form-control select2'); + + ?> + +
+

+ +
+ 'SupAddress','value' => set_value('SupAddress'),'id'=>'SupAddress', 'class' => 'form-control' ,'readonly' => 'true','rows' => '3', 'cols' => '40'); + echo Form_textarea($data); + ?> +
+
+
+ +
+ 'ExchangeRt','value' => set_value('ExchangeRt'),'id'=>'ExchangeRt', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);'); + echo form_input($data); + ?> +
+ +
+
+
+
+ +
+ + 'POType','value' => set_value('POType',CAPITAL),'id'=>'POType', 'class' => 'form-control' ,'readonly' => 'true'); + echo form_input($data); + ?> +
+
+
+ +
+ 'DeliveryAddr','value' => set_value('DeliveryAddr',$CompanyAddress),'id'=>'DeliveryAddr', 'class' => 'form-control' ,'required' => 'true', 'rows' => '3', 'cols' => '40'); + echo Form_textarea($data); + ?> +
+
+
+ +
+ 'PODate','value' => set_value('PODate',$CurrentDate),'id'=>'PODate', 'class' => 'form-control' ,'required' => 'true', 'onkeypress'=>'return false;'); + echo form_input($data); + ?> +
+
+
+
+
+ + Select Delivery By
+ + + "DateRange", "id"=>"Date", "value"=>"0", 'checked'=>set_radio('DateRange', '0', TRUE))); ?>     + + "DateRange", "id"=>"Schedule", "value"=>"1", 'checked'=>set_radio('DateRange', '1', FALSE))); ?> + + + +
+ + +

+ + + 'Deliverydt','value' => set_value('Deliverydt',$CurrentDate),'id'=>'Deliverydt', 'class' => 'form-control' ,'required' => 'true'); + echo form_input($data); + ?> + +
+ +
+ +
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
SNoRequisition NoItem NameQuantityUOMRateBasic AmountTax AmountTotal Order AmountAction
+
+
+ +
+
+ + + +
+
+ + +
+ + +
+ +
+
+ Service Tax @14% : +
+ 'TotalAfterServiceTax','value' => set_value('TotalAfterServiceTax'),'id'=>'TotalAfterServiceTax', 'class' => 'form-control' ,'placeholder' => 'After Service Tax','readonly' => 'true'); + echo form_input($data); + ?> +
+
+
+ Education cess @2% on service Tax : +
+ 'TotalAfterEduCess','value' => set_value('TotalAfterEduCess'),'id'=>'TotalAfterEduCess', 'class' => 'form-control' ,'placeholder' => 'After Edu. cess','readonly' => 'true'); + echo form_input($data); + ?> +
+
+
+ Sec. & Higher Edu. cess @1 % on service Tax : +
+ 'TotalAfterSecHighTax','value' => set_value('TotalAfterSecHighTax'),'id'=>'TotalAfterSecHighTax', 'class' => 'form-control' ,'placeholder' => 'After High Edu. cess','readonly' => 'true'); + echo form_input($data); + ?> +
+
+
+ Krishi Kalyan tax @.5 % on Basic Amount: +
+ 'TotalAfterKrishiTax','value' => set_value('TotalAfterKrishiTax'),'id'=>'TotalAfterKrishiTax', 'class' => 'form-control' ,'placeholder' => 'After Krishi Kalyan tax.','readonly' => 'true'); + echo form_input($data); + ?> +
+
+
+ Swachh Bharat tax @.5 % on Basic Amount: +
+ 'TotalAfterSwachhTax','value' => set_value('TotalAfterSwachhTax'),'id'=>'TotalAfterSwachhTax', 'class' => 'form-control' ,'placeholder' => 'After Swatchh Bhart Tax.','readonly' => 'true'); + echo form_input($data); + ?> +
+
+
+ Service Total Order Value: +
+ 'txtToatlOrder','value' => set_value('txtToatlOrder'),'id'=>'txtToatlOrder', 'class' => 'form-control' ,'required' => 'true','readonly' => 'true'); + echo form_input($data); + ?> +
+
+
+
+ +
+
+ +
+ + + 'txttotallanding','value' => set_value('txttotallanding'),'id'=>'txttotallanding', 'class' => 'form-control' ,'readonly' => 'true','style'=>'text-align:right;'); + echo form_input($data); + ?> +
+ +
+ + + 'txttotalhighseas','value' => set_value('txttotalhighseas'),'id'=>'txttotalhighseas', 'class' => 'form-control' ,'readonly' => 'true','style'=>'text-align:right;'); + echo form_input($data); + ?> +
+ +
+ + + 'txttotalcustom','value' => set_value('txttotalcustom'),'id'=>'txttotalcustom', 'class' => 'form-control' ,'readonly' => 'true','style'=>'text-align:right;'); + echo form_input($data); + ?> +
+ +
+ + + 'txttotalexcise','value' => set_value('txttotalexcise'),'id'=>'txttotalexcise', 'class' => 'form-control' ,'readonly' => 'true','style'=>'text-align:right;'); + echo form_input($data); + ?> +
+ +
+ + + 'txttotalexciseED','value' => set_value('txttotalexciseED'),'id'=>'txttotalexciseED', 'class' => 'form-control' ,'readonly' => 'true','style'=>'text-align:right;'); + echo form_input($data); + ?> +
+ + +
+ + + 'txttotalexciseSH','value' => set_value('txttotalexciseSH'),'id'=>'txttotalexciseSH', 'class' => 'form-control' ,'readonly' => 'true','style'=>'text-align:right;'); + echo form_input($data); + ?> +
+ +
+ + + 'txttotalcustomED','value' => set_value('txttotalcustomED'),'id'=>'txttotalcustomED', 'class' => 'form-control' ,'readonly' => 'true','style'=>'text-align:right;'); + echo form_input($data); + ?> +
+ +
+ + + 'txttotalcustomSH','value' => set_value('txttotalcustomSH'),'id'=>'txttotalcustomSH', 'class' => 'form-control' ,'readonly' => 'true','style'=>'text-align:right;'); + echo form_input($data); + ?> +
+ +
+ + + 'txttotalAdditionalExciseduty','value' => set_value('txttotalAdditionalExciseduty'),'id'=>'txttotalAdditionalExciseduty', 'class' => 'form-control' ,'readonly' => 'true','style'=>'text-align:right;'); + echo form_input($data); + ?> +
+ + +
+ + + 'txttotalgrossduty','value' => set_value('txttotalgrossduty'),'id'=>'txttotalgrossduty', 'class' => 'form-control' ,'readonly' => 'true','style'=>'text-align:right;'); + echo form_input($data); + ?> +
+ +
+ + + 'txttotalavlmodvat','value' => set_value('txttotalavlmodvat'),'id'=>'txttotalavlmodvat', 'class' => 'form-control' ,'readonly' => 'true','style'=>'text-align:right;'); + echo form_input($data); + ?> +
+ + +
+ + + 'txttotalgrossexpense','value' => set_value('txttotalgrossexpense'),'id'=>'txttotalgrossexpense', 'class' => 'form-control' ,'readonly' => 'true','style'=>'text-align:right;'); + echo form_input($data); + ?> +
+ + + + + + +
+ 'txtSpcialInstruction','value' => set_value('txtSpcialInstruction'),'id'=>'txtSpcialInstruction', 'class' => 'form-control','rows' => '3', 'cols' => '40' ); + echo form_textarea($data); + ?> +
+ + + + +
+ + +
+   Save +   Submit + + +
+
+
+
+ + + + + \ No newline at end of file diff --git a/application/views/changePassword.php b/application/views/changePassword.php old mode 100644 new mode 100755 diff --git a/application/views/costListing.php b/application/views/costListing.php old mode 100644 new mode 100755 diff --git a/application/views/createPOfromRequistion.php b/application/views/createPOfromRequistion.php old mode 100644 new mode 100755 diff --git a/application/views/create_pdf.php b/application/views/create_pdf.php old mode 100644 new mode 100755 diff --git a/application/views/dashboard.php b/application/views/dashboard.php old mode 100644 new mode 100755 diff --git a/application/views/editCapitalPo.php b/application/views/editCapitalPo.php new file mode 100644 index 00000000..17de3bee --- /dev/null +++ b/application/views/editCapitalPo.php @@ -0,0 +1,4359 @@ + FirstName; + $dt = new DateTime('now', new DateTimeZone('Asia/Kolkata')); + $CurrentDate = $dt->format('Y-m-d'); + $res_arr_values = array(); + $DeliverOption=''; + $SupId = ''; + $SupName = ''; + $Address = ''; + $PODate = ''; + + $DeliveryAddress =''; + $POStatus = ''; + $PONO = ''; + $TotalServiceTax = 0; + $TotalEducessTax = 0.0; + $TotalSecHigherEducessTax = 0.0; + $TotalKrishiKalyantax = 0.0; + $TotalSwachhBharattax = 0.0; + $TotalSummary = 0.0; + $TotalBasicAmount = 0.0; + $ServiceDescription = ''; + + $Deliverydt=''; + $DeliverSchedule=''; + $MaxPoDate = ''; + $AvlAmount = 0; + $currentCurrencyType=''; + $exchangeRate = $ExchangeRate; + + $TotalLanding=0; + $tothighseas=0; + $totcustom=0; + $totexciseduty=0; + $totexcisedutyED=0; + $totexciseSH=0; + $totcustomED=0; + $totcustomSH=0; + $totaddtnlexcise=0; + $totgrossduty=0; + $totavlmodvat=0; + $totgrossexpense=0; + $totordervalue=0; + $ExchangeRate=0; + $totorder=0; + $ExchangeRate=''; + $PaymentTerms=''; + $PaymentDays=''; + $PayableAT=''; + $ExchangeDate=''; + $ExchangeRateOn=''; + $UpdatedOn; + +if(!empty($MaxPODate)) +{ + foreach ($MaxPODate as $date) + { + $MaxPoDate = $date->PODate; + + } +} +if(!empty($POMaster)) +{ + + + foreach ($POMaster as $Req) + { + + $SupId = $Req->SupplierID; + + $SupName = $Req->SupplierName; + $Address = $Req->Address; + $pdt = new DateTime($Req->PODate); + $PODate = $pdt->format('Y-m-d'); + $DeliverOption = $Req->DeliveryOption; + + $DeliverSchedule = $Req->DeliverySchedule; + $Ddt = new DateTime($Req->DeliveryDate); + $Deliverydt = $Ddt->format('Y-m-d'); + + $DeliveryAddress =$Req->DeliveryAddress; + $POStatus = $Req->StatusCode; + $PONO = $Req->PONO; + $ServiceDescription = $Req->ServiceDescription; + $PayableAT=$Req->PayableAT; + $ExchangeRateOn=$Req->ExchangeRate; + $PaymentDays=$Req->PaymentDays; + + $PaymentTerms=$Req->PaymentTerms; + $UpdatedOn=$Req->UpdatedOn; + } +} + +if(!empty($AvlBudAmt)) +{ + + $AvlAmount = $AvlBudAmt; + +} +?> + + + + + + + + +
+ 'form-label-left CapitalPO ','name' => 'CapitalPO','id' => 'ImportPO'); + + echo form_open($this->config->base_url().'/purchaseorder/addPO/',$attributes); ?> + + +
+ +
+
+ +

Siddharth Industries - Edit Capital Purchase Order

+ + +
+
+
+
+
+
+ + 'Selected Requisition Numbers'); + if(!empty($ReqList)) + { + + + foreach ($ReqList as $SID): + + + $options[$SID->ReqNo] = $SID->ReqNo ."-". $SID->ReqNo; + + endforeach; + } + echo form_multiselect('RequistionNo', $options,set_value('RequistionNo'),'id="RequistionNo"' , 'required="true"'); + + ?> +
+
+ +
+ + + + CurrencyCode; + $options1[$CurrencyDetail[0]->Currency_Code] = $CurrencyDetail[0]->Currency_Code.' '.' - '.' '.$CurrencyDetail[0]->Country_and_Currency; + + foreach ($Currency as $Cur): + if($CurrencyDetail[0]->Currency_Code!=$Cur->Currency_Code){ + $options1[$Cur->Currency_Code] = $Cur->Currency_Code.' '.' - '.' '.$Cur->Country_and_Currency; + + } + + endforeach; + } + + echo form_dropdown('currencytype', $options1,set_value('currencytype',$currentCurrencyType),'id="currencytype"','class="form-control select2"' , 'required="true"'); + + ?> + +
+
+ +
+
+
+
+ + + SupplierID] = $SID->SupplierID.' '.' - '.' '.$SID->SupplierName; + + endforeach; + } + + echo form_dropdown('drpSupplier', $options2,set_value('drpSupplier',$SupId),'id="drpSupplier"' ,'required="true"' ,'class="form-control select2'); + + ?> + +
+

+ +
+ 'SupAddress','value' => set_value('SupAddress',$Address),'id'=>'SupAddress', 'class' => 'form-control' ,'readonly' => 'true','rows' => '3', 'cols' => '40'); + echo Form_textarea($data); + ?> +
+
+ +
+
+
+ +
+ + 'POType','value' => set_value('POType',CAPITAL),'id'=>'POType', 'class' => 'form-control' ,'readonly' => 'true'); + echo form_input($data); + ?> +
+
+
+ +
+ 'DeliveryAddr','value' => set_value('DeliveryAddr',$DeliveryAddress),'id'=>'DeliveryAddr', 'class' => 'form-control' ,'required' => 'true', 'rows' => '3', 'cols' => '40'); + echo Form_textarea($data); + ?> +
+
+ +
+
+
+ + Select Delivery By
+ + + 'DateRange', 'value' => '0', 'checked' => ('0' == $DeliverOption) ? TRUE : FALSE, 'id' => 'Date')); ?> + + + + 'DateRange', 'value' => '1', 'checked' => ('1' == $DeliverOption) ? TRUE : FALSE, 'id' => 'Schedule')); ?> + + + +
+ + +

+ + + 'Deliverydt','value' => set_value('Deliverydt',$Deliverydt),'id'=>'Deliverydt', 'class' => 'form-control' ,'required' => 'true'); + echo form_input($data); + ?> + +
+ +
+ +
+
+ +
+ +
+ 'Exchangerateon','value' => set_value('Exchangerateon',$ExchangeRateOn),'id'=>'Exchangerateon', 'class' => 'form-control' ,'required' => 'true', 'onkeypress'=>'return false;'); + echo form_input($data); + ?> +
+
+ + +
+ +
+ 'ExchangeRt','value' => set_value('ExchangeRt',$exchangeRate),'id'=>'ExchangeRt', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);'); + echo form_input($data); + ?> +
+ +
+
+ +
+ 'PODate','value' => set_value('PODate',$PODate),'id'=>'PODate', 'class' => 'form-control' ,'required' => 'true', 'onkeypress'=>'return false;'); + echo form_input($data); + ?> +
+
+ + + +
+
+ Payment Details + +
+ Payable Terms + + + PaymentTerms){ + $options6[$rl->PaymentTerms] = $rl->PaymentTerms; + } + + + + endforeach; + + + if(!empty($Payment)) + { + foreach ($Payment as $rl2): + + + if($PaymentTerms!=$rl2->PaymentTerms){ + $options6[$rl2->PaymentTerms] = $rl2->PaymentTerms; + } + + endforeach; + } + + echo form_dropdown('PaymentMethod', $options6,set_value('PaymentMethod',$PaymentTerms),'id="PaymentMethod"' ,'required="true"' ,'class="form-control select2'); + + ?> + + + +
+ +
+ Payable AT + 'PayableAT','value' => set_value('PayableAT',$PayableAT),'id'=>'PayableAT', 'class' => 'form-control' ,'required' => 'true'); + echo form_input($data); + ?> + +
+ +
+ Payment Date
+ + + + + + 'Before', 'value' => 'Before', 'checked' => ('Before' == $PaymentDays) ? TRUE : FALSE, 'id' => 'Before')); ?> + + + + 'After', 'value' => 'After', 'checked' => ('After' == $PaymentDays) ? TRUE : FALSE, 'id' => 'After')); ?> + + + +
+ +
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + $record->MaterialCode,"ReqNo"=>$record->ReqNo); + array_push($res_arr_values, $row); + ?> + + + + +" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ServiceTax; + $TotalEducessTax = $TotalEducessTax+$record->EducessTax; + $TotalSecHigherEducessTax = $TotalSecHigherEducessTax+$record->SecHigherEducessTax; + $TotalKrishiKalyantax = $TotalKrishiKalyantax+$record->KrishiKalyantax; + $TotalSwachhBharattax = $TotalSwachhBharattax+$record->SwachhBharattax; + $TotalSummary = $TotalSummary+$record->ServiceTaxamount; + $TotalBasicAmount = $TotalBasicAmount+$record->BasicValue; + $ServiceDescription = $ServiceDescription; + + $TotalLanding = $TotalLanding + $record->AfterLandingCharge; + $tothighseas = $tothighseas + $record->AfterHighSeasSalesCharge; + $totcustom = $totcustom + $record->AfterCustomDuty; + $totexciseduty = $totexciseduty + $record->ExciseDuty; + $totexcisedutyED = $totexcisedutyED + $record->ExciseDutyEdCess; + $totexciseSH = $totexciseSH + $record->AfterExciseDutySHCess; + $totcustomED = $totcustomED +$record->AfterCustomEdCess; + + $totcustomSH = $totcustomSH + $record->CustomSHCess; + $totaddtnlexcise= $totaddtnlexcise + $record->AddlExciseDuty; + $totgrossduty = $totgrossduty + $record->Grossdutypayable; + $totavlmodvat = $totavlmodvat +$record->AvailableModvat; + + + $totgrossexpense=$totgrossexpense+$record->Grossexpensesduetocustomduty; + $ExchangeRate=$record->ExchangeRate; + // $totorder=$totorder+$record->TotalOrderValue; + $totalCapitalOrder = $totalCapitalOrder+$record->BasicValue; + + + + } + ?> + + + + +
SNoRequisition NoItem NameQuantityUOMRateBasic AmountTax AmountTotal Order AmountAction
ReqNo ?>MaterialName?>Quantity ?>UOM ?>Rate ?>BasicValue ?>ServiceTaxamount?>BasicValue?>     + +    
+
+
+ +
+
+ +
+ +
+
+
+
+
+ Service Tax @14% : +
+ 'TotalAfterServiceTax','value' => set_value('TotalAfterServiceTax',$TotalServiceTax),'id'=>'TotalAfterServiceTax', 'class' => 'form-control' ,'placeholder' => 'After Service Tax','readonly' => 'true'); + echo form_input($data); + ?> +
+
+
+ Education cess @2% on service Tax : +
+ 'TotalAfterEduCess','value' => set_value('TotalAfterEduCess',$TotalEducessTax),'id'=>'TotalAfterEduCess', 'class' => 'form-control' ,'placeholder' => 'After Edu. cess','readonly' => 'true'); + echo form_input($data); + ?> +
+
+
+ Sec. & Higher Edu. cess @1 % on service Tax : +
+ 'TotalAfterSecHighTax','value' => set_value('TotalAfterSecHighTax',$TotalSecHigherEducessTax),'id'=>'TotalAfterSecHighTax', 'class' => 'form-control' ,'placeholder' => 'After High Edu. cess','readonly' => 'true'); + echo form_input($data); + ?> +
+
+
+ Krishi Kalyan tax @.5 % on Basic Amount: +
+ 'TotalAfterKrishiTax','value' => set_value('TotalAfterKrishiTax',$TotalKrishiKalyantax),'id'=>'TotalAfterKrishiTax', 'class' => 'form-control' ,'placeholder' => 'After Krishi Kalyan tax.','readonly' => 'true'); + echo form_input($data); + ?> +
+
+
+ Swachh Bharat tax @.5 % on Basic Amount: +
+ 'TotalAfterSwachhTax','value' => set_value('TotalAfterSwachhTax',$TotalSwachhBharattax),'id'=>'TotalAfterSwachhTax', 'class' => 'form-control' ,'placeholder' => 'After Swatchh Bhart Tax.','readonly' => 'true'); + echo form_input($data); + ?> +
+
+
+ Total Tax Amount: +
+ 'txtToatlOrder','value' => set_value('txtToatlOrder',$TotalSummary),'id'=>'txtToatlOrder', 'class' => 'form-control' ,'required' => 'true','readonly' => 'true'); + echo form_input($data); + ?> +
+
+
+
+ +
+
+ +
+ + + 'txttotallanding','value' => set_value('txttotallanding',$TotalLanding),'id'=>'txttotallanding', 'class' => 'form-control' ,'readonly' => 'true','style'=>'text-align:right;'); + echo form_input($data); + ?> +
+ +
+ + + 'txttotalhighseas','value' => set_value('txttotalhighseas',$tothighseas),'id'=>'txttotalhighseas', 'class' => 'form-control' ,'readonly' => 'true','style'=>'text-align:right;'); + echo form_input($data); + ?> +
+ +
+ + + 'txttotalcustom','value' => set_value('txttotalcustom',$totcustom),'id'=>'txttotalcustom', 'class' => 'form-control' ,'readonly' => 'true','style'=>'text-align:right;'); + echo form_input($data); + ?> +
+ +
+ + + 'txttotalexcise','value' => set_value('txttotalexcise',$totexciseduty),'id'=>'txttotalexcise', 'class' => 'form-control' ,'readonly' => 'true','style'=>'text-align:right;'); + echo form_input($data); + ?> +
+ +
+ + + 'txttotalexciseED','value' => set_value('txttotalexciseED',$totexcisedutyED),'id'=>'txttotalexciseED', 'class' => 'form-control' ,'readonly' => 'true','style'=>'text-align:right;'); + echo form_input($data); + ?> +
+ + +
+ + + 'txttotalexciseSH','value' => set_value('txttotalexciseSH',$totexciseSH),'id'=>'txttotalexciseSH', 'class' => 'form-control' ,'readonly' => 'true','style'=>'text-align:right;'); + echo form_input($data); + ?> +
+ +
+ + + 'txttotalcustomED','value' => set_value('txttotalcustomED',$totcustomED),'id'=>'txttotalcustomED', 'class' => 'form-control' ,'readonly' => 'true','style'=>'text-align:right;'); + echo form_input($data); + ?> +
+ +
+ + + 'txttotalcustomSH','value' => set_value('txttotalcustomSH',$totcustomSH),'id'=>'txttotalcustomSH', 'class' => 'form-control' ,'readonly' => 'true','style'=>'text-align:right;'); + echo form_input($data); + ?> +
+ +
+ + + 'txttotalAdditionalExciseduty','value' => set_value('txttotalAdditionalExciseduty',$totaddtnlexcise),'id'=>'txttotalAdditionalExciseduty', 'class' => 'form-control' ,'readonly' => 'true','style'=>'text-align:right;'); + echo form_input($data); + ?> +
+ + +
+ + + 'txttotalgrossduty','value' => set_value('txttotalgrossduty',$totgrossduty),'id'=>'txttotalgrossduty', 'class' => 'form-control' ,'readonly' => 'true','style'=>'text-align:right;'); + echo form_input($data); + ?> +
+ +
+ + + 'txttotalavlmodvat','value' => set_value('txttotalavlmodvat',$totavlmodvat),'id'=>'txttotalavlmodvat', 'class' => 'form-control' ,'readonly' => 'true','style'=>'text-align:right;'); + echo form_input($data); + ?> +
+ + +
+ + + 'txttotalgrossexpense','value' => set_value('txttotalgrossexpense',$totgrossexpense),'id'=>'txttotalgrossexpense', 'class' => 'form-control' ,'readonly' => 'true','style'=>'text-align:right;'); + echo form_input($data); + ?> +
+ + + + + + +
+ 'txtSpcialInstruction','value' => set_value('txtSpcialInstruction',$ServiceDescription),'id'=>'txtSpcialInstruction', 'class' => 'form-control','rows' => '10', 'cols' => '40' ); + echo form_textarea($data); + ?> +
+ + + + +
+ +
+
+ Request On + 'Requeston','value' => set_value('Requeston',$UpdatedOn),'id'=>'Requeston', 'class' => 'form-control num' ,'required' => 'true', 'onkeypress'=>'return false;'); + echo form_input($data); + ?> +
+
+ Request By + 'RequestBy','value' => set_value('RequestBy',$requestedBy),'id'=>'RequestBy', 'class' => 'form-control' ,'required' => 'true'); + echo form_input($data); + ?> +
+
+ Status + 'Select Status'); + echo form_dropdown('Status', $options,set_value('Status'),'id="Status"' ,'required="true"' ,'class="form-control select2') + ?> +
+
+
+ + + + + + + +   Save +   Submit + + +
+
+ +
+ +
+ + + + + \ No newline at end of file diff --git a/application/views/editEmployee.php b/application/views/editEmployee.php old mode 100644 new mode 100755 diff --git a/application/views/editImportAmendPO.php b/application/views/editImportAmendPO.php old mode 100644 new mode 100755 diff --git a/application/views/editOld.php b/application/views/editOld.php old mode 100644 new mode 100755 diff --git a/application/views/editOldPO.php b/application/views/editOldPO.php old mode 100644 new mode 100755 diff --git a/application/views/editOldRawmaterial.php b/application/views/editOldRawmaterial.php old mode 100644 new mode 100755 diff --git a/application/views/editOldasset.php b/application/views/editOldasset.php old mode 100644 new mode 100755 diff --git a/application/views/editOldcost.php b/application/views/editOldcost.php old mode 100644 new mode 100755 diff --git a/application/views/editOldemployee.php b/application/views/editOldemployee.php old mode 100644 new mode 100755 diff --git a/application/views/editOldemppay.php b/application/views/editOldemppay.php old mode 100644 new mode 100755 diff --git a/application/views/editOldmonthly.php b/application/views/editOldmonthly.php old mode 100644 new mode 100755 diff --git a/application/views/editOldsupplier.php b/application/views/editOldsupplier.php old mode 100644 new mode 100755 diff --git a/application/views/editRevenueAmendPO.php b/application/views/editRevenueAmendPO.php old mode 100644 new mode 100755 diff --git a/application/views/editRevenuepurchaseorder.php b/application/views/editRevenuepurchaseorder.php old mode 100644 new mode 100755 diff --git a/application/views/editServiceAmendPO.php b/application/views/editServiceAmendPO.php old mode 100644 new mode 100755 diff --git a/application/views/editSupplier.php b/application/views/editSupplier.php old mode 100644 new mode 100755 diff --git a/application/views/editimportpo.php b/application/views/editimportpo.php old mode 100644 new mode 100755 diff --git a/application/views/editrequisitionform.php b/application/views/editrequisitionform.php old mode 100644 new mode 100755 diff --git a/application/views/employeeListing.php b/application/views/employeeListing.php old mode 100644 new mode 100755 diff --git a/application/views/emppayListing.php b/application/views/emppayListing.php old mode 100644 new mode 100755 diff --git a/application/views/forgotPassword.php b/application/views/forgotPassword.php old mode 100644 new mode 100755 diff --git a/application/views/importpo.php b/application/views/importpo.php old mode 100644 new mode 100755 diff --git a/application/views/importpopdf.php b/application/views/importpopdf.php old mode 100644 new mode 100755 diff --git a/application/views/includes/footer.php b/application/views/includes/footer.php old mode 100644 new mode 100755 diff --git a/application/views/includes/header.php b/application/views/includes/header.php old mode 100644 new mode 100755 diff --git a/application/views/includes/header.php~ b/application/views/includes/header.php~ old mode 100644 new mode 100755 diff --git a/application/views/includes/pdffooter.php b/application/views/includes/pdffooter.php old mode 100644 new mode 100755 diff --git a/application/views/includes/pdfheader.php b/application/views/includes/pdfheader.php old mode 100644 new mode 100755 diff --git a/application/views/index.html b/application/views/index.html old mode 100644 new mode 100755 diff --git a/application/views/login.php b/application/views/login.php old mode 100644 new mode 100755 diff --git a/application/views/materialinspectionreport.php b/application/views/materialinspectionreport.php old mode 100644 new mode 100755 diff --git a/application/views/monthlyListing.php b/application/views/monthlyListing.php old mode 100644 new mode 100755 diff --git a/application/views/payslipeditable.php b/application/views/payslipeditable.php old mode 100644 new mode 100755 diff --git a/application/views/payslipgenerate.php b/application/views/payslipgenerate.php old mode 100644 new mode 100755 diff --git a/application/views/payslipgenerateprint.php b/application/views/payslipgenerateprint.php old mode 100644 new mode 100755 diff --git a/application/views/payslipupload.php b/application/views/payslipupload.php old mode 100644 new mode 100755 diff --git a/application/views/payslipupload2.php b/application/views/payslipupload2.php old mode 100644 new mode 100755 diff --git a/application/views/poapproval_view.php b/application/views/poapproval_view.php old mode 100644 new mode 100755 diff --git a/application/views/porelease_view.php b/application/views/porelease_view.php old mode 100644 new mode 100755 diff --git a/application/views/purchaseorder.php b/application/views/purchaseorder.php old mode 100644 new mode 100755 diff --git a/application/views/rawmaterialListing.php b/application/views/rawmaterialListing.php old mode 100644 new mode 100755 diff --git a/application/views/requisitionform.php b/application/views/requisitionform.php old mode 100644 new mode 100755 diff --git a/application/views/requisitionlist.php b/application/views/requisitionlist.php old mode 100644 new mode 100755 diff --git a/application/views/requisitionlistapproval.php b/application/views/requisitionlistapproval.php old mode 100644 new mode 100755 diff --git a/application/views/requisitionlisting.php b/application/views/requisitionlisting.php old mode 100644 new mode 100755 diff --git a/application/views/revenuepopdf.php b/application/views/revenuepopdf.php old mode 100644 new mode 100755 diff --git a/application/views/servicePurchaseorder.php b/application/views/servicePurchaseorder.php old mode 100644 new mode 100755 diff --git a/application/views/servicepo.php b/application/views/servicepo.php old mode 100644 new mode 100755 diff --git a/application/views/servicepopdf.php b/application/views/servicepopdf.php old mode 100644 new mode 100755 diff --git a/application/views/supplierListing.php b/application/views/supplierListing.php old mode 100644 new mode 100755 diff --git a/application/views/users.php b/application/views/users.php old mode 100644 new mode 100755 diff --git a/application/views/viewfullpurchaseorder.php b/application/views/viewfullpurchaseorder.php old mode 100644 new mode 100755 diff --git a/application/views/viewinwardgateregister.php b/application/views/viewinwardgateregister.php old mode 100644 new mode 100755 diff --git a/assets/bootstrap/css/bootstrap.css b/assets/bootstrap/css/bootstrap.css old mode 100644 new mode 100755 diff --git a/assets/bootstrap/css/bootstrap.css.map b/assets/bootstrap/css/bootstrap.css.map old mode 100644 new mode 100755 diff --git a/assets/bootstrap/css/bootstrap.min.css b/assets/bootstrap/css/bootstrap.min.css old mode 100644 new mode 100755 diff --git a/assets/bootstrap/fonts/glyphicons-halflings-regular.eot b/assets/bootstrap/fonts/glyphicons-halflings-regular.eot old mode 100644 new mode 100755 diff --git a/assets/bootstrap/fonts/glyphicons-halflings-regular.svg b/assets/bootstrap/fonts/glyphicons-halflings-regular.svg old mode 100644 new mode 100755 diff --git a/assets/bootstrap/fonts/glyphicons-halflings-regular.ttf b/assets/bootstrap/fonts/glyphicons-halflings-regular.ttf old mode 100644 new mode 100755 diff --git a/assets/bootstrap/fonts/glyphicons-halflings-regular.woff b/assets/bootstrap/fonts/glyphicons-halflings-regular.woff old mode 100644 new mode 100755 diff --git a/assets/bootstrap/fonts/glyphicons-halflings-regular.woff2 b/assets/bootstrap/fonts/glyphicons-halflings-regular.woff2 old mode 100644 new mode 100755 diff --git a/assets/bootstrap/js/bootstrap.js b/assets/bootstrap/js/bootstrap.js old mode 100644 new mode 100755 diff --git a/assets/bootstrap/js/bootstrap.min.js b/assets/bootstrap/js/bootstrap.min.js old mode 100644 new mode 100755 diff --git a/assets/bootstrap/js/npm.js b/assets/bootstrap/js/npm.js old mode 100644 new mode 100755 diff --git a/assets/css/animate.css b/assets/css/animate.css old mode 100644 new mode 100755 diff --git a/assets/css/bootstrap.css b/assets/css/bootstrap.css old mode 100644 new mode 100755 diff --git a/assets/css/bootstrap.min.css b/assets/css/bootstrap.min.css old mode 100644 new mode 100755 diff --git a/assets/css/patterns/congruent_pentagon.png b/assets/css/patterns/congruent_pentagon.png old mode 100644 new mode 100755 diff --git a/assets/css/patterns/header-profile-skin-1.png b/assets/css/patterns/header-profile-skin-1.png old mode 100644 new mode 100755 diff --git a/assets/css/patterns/header-profile-skin-2.png b/assets/css/patterns/header-profile-skin-2.png old mode 100644 new mode 100755 diff --git a/assets/css/patterns/header-profile-skin-3.png b/assets/css/patterns/header-profile-skin-3.png old mode 100644 new mode 100755 diff --git a/assets/css/patterns/header-profile.png b/assets/css/patterns/header-profile.png old mode 100644 new mode 100755 diff --git a/assets/css/patterns/otis_redding.png b/assets/css/patterns/otis_redding.png old mode 100644 new mode 100755 diff --git a/assets/css/patterns/shattered.png b/assets/css/patterns/shattered.png old mode 100644 new mode 100755 diff --git a/assets/css/patterns/triangular.png b/assets/css/patterns/triangular.png old mode 100644 new mode 100755 diff --git a/assets/css/plugins/blueimp/css/blueimp-gallery-indicator.css b/assets/css/plugins/blueimp/css/blueimp-gallery-indicator.css old mode 100644 new mode 100755 diff --git a/assets/css/plugins/blueimp/css/blueimp-gallery-video.css b/assets/css/plugins/blueimp/css/blueimp-gallery-video.css old mode 100644 new mode 100755 diff --git a/assets/css/plugins/blueimp/css/blueimp-gallery.css b/assets/css/plugins/blueimp/css/blueimp-gallery.css old mode 100644 new mode 100755 diff --git a/assets/css/plugins/blueimp/css/blueimp-gallery.min.css b/assets/css/plugins/blueimp/css/blueimp-gallery.min.css old mode 100644 new mode 100755 diff --git a/assets/css/plugins/blueimp/css/demo.css b/assets/css/plugins/blueimp/css/demo.css old mode 100644 new mode 100755 diff --git a/assets/css/plugins/blueimp/img/error.png b/assets/css/plugins/blueimp/img/error.png old mode 100644 new mode 100755 diff --git a/assets/css/plugins/blueimp/img/error.svg b/assets/css/plugins/blueimp/img/error.svg old mode 100644 new mode 100755 diff --git a/assets/css/plugins/blueimp/img/loading.gif b/assets/css/plugins/blueimp/img/loading.gif old mode 100644 new mode 100755 diff --git a/assets/css/plugins/blueimp/img/play-pause.png b/assets/css/plugins/blueimp/img/play-pause.png old mode 100644 new mode 100755 diff --git a/assets/css/plugins/blueimp/img/play-pause.svg b/assets/css/plugins/blueimp/img/play-pause.svg old mode 100644 new mode 100755 diff --git a/assets/css/plugins/blueimp/img/video-play.png b/assets/css/plugins/blueimp/img/video-play.png old mode 100644 new mode 100755 diff --git a/assets/css/plugins/blueimp/img/video-play.svg b/assets/css/plugins/blueimp/img/video-play.svg old mode 100644 new mode 100755 diff --git a/assets/css/plugins/bootstrap-rtl/bootstrap-rtl.css b/assets/css/plugins/bootstrap-rtl/bootstrap-rtl.css old mode 100644 new mode 100755 diff --git a/assets/css/plugins/bootstrap-rtl/bootstrap-rtl.css.map b/assets/css/plugins/bootstrap-rtl/bootstrap-rtl.css.map old mode 100644 new mode 100755 diff --git a/assets/css/plugins/bootstrap-rtl/bootstrap-rtl.min.css b/assets/css/plugins/bootstrap-rtl/bootstrap-rtl.min.css old mode 100644 new mode 100755 diff --git a/assets/css/plugins/chosen/chosen-sprite.png b/assets/css/plugins/chosen/chosen-sprite.png old mode 100644 new mode 100755 diff --git a/assets/css/plugins/chosen/chosen-sprite@2x.png b/assets/css/plugins/chosen/chosen-sprite@2x.png old mode 100644 new mode 100755 diff --git a/assets/css/plugins/chosen/chosen.css b/assets/css/plugins/chosen/chosen.css old mode 100644 new mode 100755 diff --git a/assets/css/plugins/codemirror/ambiance.css b/assets/css/plugins/codemirror/ambiance.css old mode 100644 new mode 100755 diff --git a/assets/css/plugins/codemirror/codemirror.css b/assets/css/plugins/codemirror/codemirror.css old mode 100644 new mode 100755 diff --git a/assets/css/plugins/colorpicker/bootstrap-colorpicker.min.css b/assets/css/plugins/colorpicker/bootstrap-colorpicker.min.css old mode 100644 new mode 100755 diff --git a/assets/css/plugins/cropper/cropper.min.css b/assets/css/plugins/cropper/cropper.min.css old mode 100644 new mode 100755 diff --git a/assets/css/plugins/dataTables/dataTables.bootstrap.css b/assets/css/plugins/dataTables/dataTables.bootstrap.css old mode 100644 new mode 100755 diff --git a/assets/css/plugins/dataTables/dataTables.responsive.css b/assets/css/plugins/dataTables/dataTables.responsive.css old mode 100644 new mode 100755 diff --git a/assets/css/plugins/dataTables/dataTables.tableTools.min.css b/assets/css/plugins/dataTables/dataTables.tableTools.min.css old mode 100644 new mode 100755 diff --git a/assets/css/plugins/datapicker/datepicker3.css b/assets/css/plugins/datapicker/datepicker3.css old mode 100644 new mode 100755 diff --git a/assets/css/plugins/dropzone/basic.css b/assets/css/plugins/dropzone/basic.css old mode 100644 new mode 100755 diff --git a/assets/css/plugins/dropzone/dropzone.css b/assets/css/plugins/dropzone/dropzone.css old mode 100644 new mode 100755 diff --git a/assets/css/plugins/fullcalendar/fullcalendar.css b/assets/css/plugins/fullcalendar/fullcalendar.css old mode 100644 new mode 100755 diff --git a/assets/css/plugins/fullcalendar/fullcalendar.print.css b/assets/css/plugins/fullcalendar/fullcalendar.print.css old mode 100644 new mode 100755 diff --git a/assets/css/plugins/iCheck/custom.css b/assets/css/plugins/iCheck/custom.css old mode 100644 new mode 100755 diff --git a/assets/css/plugins/iCheck/green.png b/assets/css/plugins/iCheck/green.png old mode 100644 new mode 100755 diff --git a/assets/css/plugins/iCheck/green@2x.png b/assets/css/plugins/iCheck/green@2x.png old mode 100644 new mode 100755 diff --git a/assets/css/plugins/images/bootstrap-colorpicker/alpha-horizontal.png b/assets/css/plugins/images/bootstrap-colorpicker/alpha-horizontal.png old mode 100644 new mode 100755 diff --git a/assets/css/plugins/images/bootstrap-colorpicker/alpha.png b/assets/css/plugins/images/bootstrap-colorpicker/alpha.png old mode 100644 new mode 100755 diff --git a/assets/css/plugins/images/bootstrap-colorpicker/hue-horizontal.png b/assets/css/plugins/images/bootstrap-colorpicker/hue-horizontal.png old mode 100644 new mode 100755 diff --git a/assets/css/plugins/images/bootstrap-colorpicker/hue.png b/assets/css/plugins/images/bootstrap-colorpicker/hue.png old mode 100644 new mode 100755 diff --git a/assets/css/plugins/images/bootstrap-colorpicker/saturation.png b/assets/css/plugins/images/bootstrap-colorpicker/saturation.png old mode 100644 new mode 100755 diff --git a/assets/css/plugins/images/sort.png b/assets/css/plugins/images/sort.png old mode 100644 new mode 100755 diff --git a/assets/css/plugins/images/sort_asc.png b/assets/css/plugins/images/sort_asc.png old mode 100644 new mode 100755 diff --git a/assets/css/plugins/images/sort_desc.png b/assets/css/plugins/images/sort_desc.png old mode 100644 new mode 100755 diff --git a/assets/css/plugins/images/sprite-skin-flat.png b/assets/css/plugins/images/sprite-skin-flat.png old mode 100644 new mode 100755 diff --git a/assets/css/plugins/images/sprite-skin-flat2.png b/assets/css/plugins/images/sprite-skin-flat2.png old mode 100644 new mode 100755 diff --git a/assets/css/plugins/images/sprite-skin-nice.png b/assets/css/plugins/images/sprite-skin-nice.png old mode 100644 new mode 100755 diff --git a/assets/css/plugins/images/sprite-skin-simple.png b/assets/css/plugins/images/sprite-skin-simple.png old mode 100644 new mode 100755 diff --git a/assets/css/plugins/images/spritemap.png b/assets/css/plugins/images/spritemap.png old mode 100644 new mode 100755 diff --git a/assets/css/plugins/images/spritemap@2x.png b/assets/css/plugins/images/spritemap@2x.png old mode 100644 new mode 100755 diff --git a/assets/css/plugins/ionRangeSlider/ion.rangeSlider.css b/assets/css/plugins/ionRangeSlider/ion.rangeSlider.css old mode 100644 new mode 100755 diff --git a/assets/css/plugins/ionRangeSlider/ion.rangeSlider.skinFlat.css b/assets/css/plugins/ionRangeSlider/ion.rangeSlider.skinFlat.css old mode 100644 new mode 100755 diff --git a/assets/css/plugins/ionRangeSlider/ion.rangeSlider.skinNice.css b/assets/css/plugins/ionRangeSlider/ion.rangeSlider.skinNice.css old mode 100644 new mode 100755 diff --git a/assets/css/plugins/ionRangeSlider/ion.rangeSlider.skinSimple.css b/assets/css/plugins/ionRangeSlider/ion.rangeSlider.skinSimple.css old mode 100644 new mode 100755 diff --git a/assets/css/plugins/jQueryUI/images/animated-overlay.gif b/assets/css/plugins/jQueryUI/images/animated-overlay.gif old mode 100644 new mode 100755 diff --git a/assets/css/plugins/jQueryUI/images/ui-bg_flat_0_aaaaaa_40x100.png b/assets/css/plugins/jQueryUI/images/ui-bg_flat_0_aaaaaa_40x100.png old mode 100644 new mode 100755 diff --git a/assets/css/plugins/jQueryUI/images/ui-bg_flat_75_ffffff_40x100.png b/assets/css/plugins/jQueryUI/images/ui-bg_flat_75_ffffff_40x100.png old mode 100644 new mode 100755 diff --git a/assets/css/plugins/jQueryUI/images/ui-bg_glass_55_fbf9ee_1x400.png b/assets/css/plugins/jQueryUI/images/ui-bg_glass_55_fbf9ee_1x400.png old mode 100644 new mode 100755 diff --git a/assets/css/plugins/jQueryUI/images/ui-bg_glass_65_ffffff_1x400.png b/assets/css/plugins/jQueryUI/images/ui-bg_glass_65_ffffff_1x400.png old mode 100644 new mode 100755 diff --git a/assets/css/plugins/jQueryUI/images/ui-bg_glass_75_dadada_1x400.png b/assets/css/plugins/jQueryUI/images/ui-bg_glass_75_dadada_1x400.png old mode 100644 new mode 100755 diff --git a/assets/css/plugins/jQueryUI/images/ui-bg_glass_75_e6e6e6_1x400.png b/assets/css/plugins/jQueryUI/images/ui-bg_glass_75_e6e6e6_1x400.png old mode 100644 new mode 100755 diff --git a/assets/css/plugins/jQueryUI/images/ui-bg_glass_95_fef1ec_1x400.png b/assets/css/plugins/jQueryUI/images/ui-bg_glass_95_fef1ec_1x400.png old mode 100644 new mode 100755 diff --git a/assets/css/plugins/jQueryUI/images/ui-bg_highlight-soft_75_cccccc_1x100.png b/assets/css/plugins/jQueryUI/images/ui-bg_highlight-soft_75_cccccc_1x100.png old mode 100644 new mode 100755 diff --git a/assets/css/plugins/jQueryUI/images/ui-icons_222222_256x240.png b/assets/css/plugins/jQueryUI/images/ui-icons_222222_256x240.png old mode 100644 new mode 100755 diff --git a/assets/css/plugins/jQueryUI/images/ui-icons_2e83ff_256x240.png b/assets/css/plugins/jQueryUI/images/ui-icons_2e83ff_256x240.png old mode 100644 new mode 100755 diff --git a/assets/css/plugins/jQueryUI/images/ui-icons_454545_256x240.png b/assets/css/plugins/jQueryUI/images/ui-icons_454545_256x240.png old mode 100644 new mode 100755 diff --git a/assets/css/plugins/jQueryUI/images/ui-icons_888888_256x240.png b/assets/css/plugins/jQueryUI/images/ui-icons_888888_256x240.png old mode 100644 new mode 100755 diff --git a/assets/css/plugins/jQueryUI/images/ui-icons_cd0a0a_256x240.png b/assets/css/plugins/jQueryUI/images/ui-icons_cd0a0a_256x240.png old mode 100644 new mode 100755 diff --git a/assets/css/plugins/jQueryUI/jquery-ui-1.10.4.custom.min.css b/assets/css/plugins/jQueryUI/jquery-ui-1.10.4.custom.min.css old mode 100644 new mode 100755 diff --git a/assets/css/plugins/jasny/jasny-bootstrap.min.css b/assets/css/plugins/jasny/jasny-bootstrap.min.css old mode 100644 new mode 100755 diff --git a/assets/css/plugins/jqGrid/ui.jqgrid.css b/assets/css/plugins/jqGrid/ui.jqgrid.css old mode 100644 new mode 100755 diff --git a/assets/css/plugins/jsTree/32px.png b/assets/css/plugins/jsTree/32px.png old mode 100644 new mode 100755 diff --git a/assets/css/plugins/jsTree/39px.png b/assets/css/plugins/jsTree/39px.png old mode 100644 new mode 100755 diff --git a/assets/css/plugins/jsTree/40px.png b/assets/css/plugins/jsTree/40px.png old mode 100644 new mode 100755 diff --git a/assets/css/plugins/jsTree/style.css b/assets/css/plugins/jsTree/style.css old mode 100644 new mode 100755 diff --git a/assets/css/plugins/jsTree/style.min.css b/assets/css/plugins/jsTree/style.min.css old mode 100644 new mode 100755 diff --git a/assets/css/plugins/jsTree/throbber.gif b/assets/css/plugins/jsTree/throbber.gif old mode 100644 new mode 100755 diff --git a/assets/css/plugins/morris/morris-0.4.3.min.css b/assets/css/plugins/morris/morris-0.4.3.min.css old mode 100644 new mode 100755 diff --git a/assets/css/plugins/nouslider/jquery.nouislider.css b/assets/css/plugins/nouslider/jquery.nouislider.css old mode 100644 new mode 100755 diff --git a/assets/css/plugins/social-buttons/social-buttons.css b/assets/css/plugins/social-buttons/social-buttons.css old mode 100644 new mode 100755 diff --git a/assets/css/plugins/steps/jquery.steps.css b/assets/css/plugins/steps/jquery.steps.css old mode 100644 new mode 100755 diff --git a/assets/css/plugins/summernote/summernote-bs3.css b/assets/css/plugins/summernote/summernote-bs3.css old mode 100644 new mode 100755 diff --git a/assets/css/plugins/summernote/summernote.css b/assets/css/plugins/summernote/summernote.css old mode 100644 new mode 100755 diff --git a/assets/css/plugins/switchery/switchery.css b/assets/css/plugins/switchery/switchery.css old mode 100644 new mode 100755 diff --git a/assets/css/plugins/toastr/toastr.min.css b/assets/css/plugins/toastr/toastr.min.css old mode 100644 new mode 100755 diff --git a/assets/css/style.css b/assets/css/style.css old mode 100644 new mode 100755 diff --git a/assets/css/style.min.css b/assets/css/style.min.css old mode 100644 new mode 100755 diff --git a/assets/dist/css/AdminLTE.css b/assets/dist/css/AdminLTE.css old mode 100644 new mode 100755 diff --git a/assets/dist/css/AdminLTE.min.css b/assets/dist/css/AdminLTE.min.css old mode 100644 new mode 100755 diff --git a/assets/dist/css/images/add.png b/assets/dist/css/images/add.png old mode 100644 new mode 100755 diff --git a/assets/dist/css/images/bg.gif b/assets/dist/css/images/bg.gif old mode 100644 new mode 100755 diff --git a/assets/dist/css/images/btn-sprite.gif b/assets/dist/css/images/btn-sprite.gif old mode 100644 new mode 100755 diff --git a/assets/dist/css/images/close.png b/assets/dist/css/images/close.png old mode 100644 new mode 100755 diff --git a/assets/dist/css/images/ddn.png b/assets/dist/css/images/ddn.png old mode 100644 new mode 100755 diff --git a/assets/dist/css/images/dn.png b/assets/dist/css/images/dn.png old mode 100644 new mode 100755 diff --git a/assets/dist/css/images/edit.png b/assets/dist/css/images/edit.png old mode 100644 new mode 100755 diff --git a/assets/dist/css/images/error.png b/assets/dist/css/images/error.png old mode 100644 new mode 100755 diff --git a/assets/dist/css/images/export.png b/assets/dist/css/images/export.png old mode 100644 new mode 100755 diff --git a/assets/dist/css/images/fhbg.gif b/assets/dist/css/images/fhbg.gif old mode 100644 new mode 100755 diff --git a/assets/dist/css/images/first.gif b/assets/dist/css/images/first.gif old mode 100644 new mode 100755 diff --git a/assets/dist/css/images/hl.png b/assets/dist/css/images/hl.png old mode 100644 new mode 100755 diff --git a/assets/dist/css/images/index.html b/assets/dist/css/images/index.html old mode 100644 new mode 100755 diff --git a/assets/dist/css/images/last.gif b/assets/dist/css/images/last.gif old mode 100644 new mode 100755 diff --git a/assets/dist/css/images/line.gif b/assets/dist/css/images/line.gif old mode 100644 new mode 100755 diff --git a/assets/dist/css/images/load.gif b/assets/dist/css/images/load.gif old mode 100644 new mode 100755 diff --git a/assets/dist/css/images/load.png b/assets/dist/css/images/load.png old mode 100644 new mode 100755 diff --git a/assets/dist/css/images/magnifier.png b/assets/dist/css/images/magnifier.png old mode 100644 new mode 100755 diff --git a/assets/dist/css/images/next.gif b/assets/dist/css/images/next.gif old mode 100644 new mode 100755 diff --git a/assets/dist/css/images/prev.gif b/assets/dist/css/images/prev.gif old mode 100644 new mode 100755 diff --git a/assets/dist/css/images/print.png b/assets/dist/css/images/print.png old mode 100644 new mode 100755 diff --git a/assets/dist/css/images/success.png b/assets/dist/css/images/success.png old mode 100644 new mode 100755 diff --git a/assets/dist/css/images/up.png b/assets/dist/css/images/up.png old mode 100644 new mode 100755 diff --git a/assets/dist/css/images/uup.png b/assets/dist/css/images/uup.png old mode 100644 new mode 100755 diff --git a/assets/dist/css/images/wbg.gif b/assets/dist/css/images/wbg.gif old mode 100644 new mode 100755 diff --git a/assets/dist/css/skins/_all-skins.css b/assets/dist/css/skins/_all-skins.css old mode 100644 new mode 100755 diff --git a/assets/dist/css/skins/_all-skins.min.css b/assets/dist/css/skins/_all-skins.min.css old mode 100644 new mode 100755 diff --git a/assets/dist/css/skins/skin-black-light.css b/assets/dist/css/skins/skin-black-light.css old mode 100644 new mode 100755 diff --git a/assets/dist/css/skins/skin-black-light.min.css b/assets/dist/css/skins/skin-black-light.min.css old mode 100644 new mode 100755 diff --git a/assets/dist/css/skins/skin-black.css b/assets/dist/css/skins/skin-black.css old mode 100644 new mode 100755 diff --git a/assets/dist/css/skins/skin-black.min.css b/assets/dist/css/skins/skin-black.min.css old mode 100644 new mode 100755 diff --git a/assets/dist/css/skins/skin-blue-light.css b/assets/dist/css/skins/skin-blue-light.css old mode 100644 new mode 100755 diff --git a/assets/dist/css/skins/skin-blue-light.min.css b/assets/dist/css/skins/skin-blue-light.min.css old mode 100644 new mode 100755 diff --git a/assets/dist/css/skins/skin-blue.css b/assets/dist/css/skins/skin-blue.css old mode 100644 new mode 100755 diff --git a/assets/dist/css/skins/skin-blue.min.css b/assets/dist/css/skins/skin-blue.min.css old mode 100644 new mode 100755 diff --git a/assets/dist/css/skins/skin-green-light.css b/assets/dist/css/skins/skin-green-light.css old mode 100644 new mode 100755 diff --git a/assets/dist/css/skins/skin-green-light.min.css b/assets/dist/css/skins/skin-green-light.min.css old mode 100644 new mode 100755 diff --git a/assets/dist/css/skins/skin-green.css b/assets/dist/css/skins/skin-green.css old mode 100644 new mode 100755 diff --git a/assets/dist/css/skins/skin-green.min.css b/assets/dist/css/skins/skin-green.min.css old mode 100644 new mode 100755 diff --git a/assets/dist/css/skins/skin-purple-light.css b/assets/dist/css/skins/skin-purple-light.css old mode 100644 new mode 100755 diff --git a/assets/dist/css/skins/skin-purple-light.min.css b/assets/dist/css/skins/skin-purple-light.min.css old mode 100644 new mode 100755 diff --git a/assets/dist/css/skins/skin-purple.css b/assets/dist/css/skins/skin-purple.css old mode 100644 new mode 100755 diff --git a/assets/dist/css/skins/skin-purple.min.css b/assets/dist/css/skins/skin-purple.min.css old mode 100644 new mode 100755 diff --git a/assets/dist/css/skins/skin-red-light.css b/assets/dist/css/skins/skin-red-light.css old mode 100644 new mode 100755 diff --git a/assets/dist/css/skins/skin-red-light.min.css b/assets/dist/css/skins/skin-red-light.min.css old mode 100644 new mode 100755 diff --git a/assets/dist/css/skins/skin-red.css b/assets/dist/css/skins/skin-red.css old mode 100644 new mode 100755 diff --git a/assets/dist/css/skins/skin-red.min.css b/assets/dist/css/skins/skin-red.min.css old mode 100644 new mode 100755 diff --git a/assets/dist/css/skins/skin-yellow-light.css b/assets/dist/css/skins/skin-yellow-light.css old mode 100644 new mode 100755 diff --git a/assets/dist/css/skins/skin-yellow-light.min.css b/assets/dist/css/skins/skin-yellow-light.min.css old mode 100644 new mode 100755 diff --git a/assets/dist/css/skins/skin-yellow.css b/assets/dist/css/skins/skin-yellow.css old mode 100644 new mode 100755 diff --git a/assets/dist/css/skins/skin-yellow.min.css b/assets/dist/css/skins/skin-yellow.min.css old mode 100644 new mode 100755 diff --git a/assets/dist/img/avatar.png b/assets/dist/img/avatar.png old mode 100644 new mode 100755 diff --git a/assets/dist/img/avatar04.png b/assets/dist/img/avatar04.png old mode 100644 new mode 100755 diff --git a/assets/dist/img/avatar2.png b/assets/dist/img/avatar2.png old mode 100644 new mode 100755 diff --git a/assets/dist/img/avatar3.png b/assets/dist/img/avatar3.png old mode 100644 new mode 100755 diff --git a/assets/dist/img/avatar5.png b/assets/dist/img/avatar5.png old mode 100644 new mode 100755 diff --git a/assets/dist/img/boxed-bg.jpg b/assets/dist/img/boxed-bg.jpg old mode 100644 new mode 100755 diff --git a/assets/dist/img/boxed-bg.png b/assets/dist/img/boxed-bg.png old mode 100644 new mode 100755 diff --git a/assets/dist/img/credit/american-express.png b/assets/dist/img/credit/american-express.png old mode 100644 new mode 100755 diff --git a/assets/dist/img/credit/cirrus.png b/assets/dist/img/credit/cirrus.png old mode 100644 new mode 100755 diff --git a/assets/dist/img/credit/mastercard.png b/assets/dist/img/credit/mastercard.png old mode 100644 new mode 100755 diff --git a/assets/dist/img/credit/mestro.png b/assets/dist/img/credit/mestro.png old mode 100644 new mode 100755 diff --git a/assets/dist/img/credit/paypal.png b/assets/dist/img/credit/paypal.png old mode 100644 new mode 100755 diff --git a/assets/dist/img/credit/paypal2.png b/assets/dist/img/credit/paypal2.png old mode 100644 new mode 100755 diff --git a/assets/dist/img/credit/visa.png b/assets/dist/img/credit/visa.png old mode 100644 new mode 100755 diff --git a/assets/dist/img/default-50x50.gif b/assets/dist/img/default-50x50.gif old mode 100644 new mode 100755 diff --git a/assets/dist/img/icons.png b/assets/dist/img/icons.png old mode 100644 new mode 100755 diff --git a/assets/dist/img/logo.png b/assets/dist/img/logo.png old mode 100644 new mode 100755 diff --git a/assets/dist/img/red.png b/assets/dist/img/red.png old mode 100644 new mode 100755 diff --git a/assets/dist/jquery.loader.css b/assets/dist/jquery.loader.css old mode 100644 new mode 100755 diff --git a/assets/dist/jquery.loader.js b/assets/dist/jquery.loader.js old mode 100644 new mode 100755 diff --git a/assets/dist/js/app.js b/assets/dist/js/app.js old mode 100644 new mode 100755 diff --git a/assets/dist/js/app.min.js b/assets/dist/js/app.min.js old mode 100644 new mode 100755 diff --git a/assets/dist/js/demo.js b/assets/dist/js/demo.js old mode 100644 new mode 100755 diff --git a/assets/dist/js/pages/dashboard.js b/assets/dist/js/pages/dashboard.js old mode 100644 new mode 100755 diff --git a/assets/dist/js/pages/dashboard2.js b/assets/dist/js/pages/dashboard2.js old mode 100644 new mode 100755 diff --git a/assets/dist/loader.gif b/assets/dist/loader.gif old mode 100644 new mode 100755 diff --git a/assets/dist/sweetalert.css b/assets/dist/sweetalert.css old mode 100644 new mode 100755 diff --git a/assets/dist/sweetalert.min.js b/assets/dist/sweetalert.min.js old mode 100644 new mode 100755 diff --git a/assets/email_templates/action.html b/assets/email_templates/action.html old mode 100644 new mode 100755 diff --git a/assets/email_templates/alert.html b/assets/email_templates/alert.html old mode 100644 new mode 100755 diff --git a/assets/email_templates/billing.html b/assets/email_templates/billing.html old mode 100644 new mode 100755 diff --git a/assets/email_templates/img/header.jpg b/assets/email_templates/img/header.jpg old mode 100644 new mode 100755 diff --git a/assets/email_templates/styles.css b/assets/email_templates/styles.css old mode 100644 new mode 100755 diff --git a/assets/font-awesome/css/font-awesome.css b/assets/font-awesome/css/font-awesome.css old mode 100644 new mode 100755 diff --git a/assets/font-awesome/css/font-awesome.min.css b/assets/font-awesome/css/font-awesome.min.css old mode 100644 new mode 100755 diff --git a/assets/font-awesome/fonts/FontAwesome.otf b/assets/font-awesome/fonts/FontAwesome.otf old mode 100644 new mode 100755 diff --git a/assets/font-awesome/fonts/fontawesome-webfont.eot b/assets/font-awesome/fonts/fontawesome-webfont.eot old mode 100644 new mode 100755 diff --git a/assets/font-awesome/fonts/fontawesome-webfont.svg b/assets/font-awesome/fonts/fontawesome-webfont.svg old mode 100644 new mode 100755 diff --git a/assets/font-awesome/fonts/fontawesome-webfont.ttf b/assets/font-awesome/fonts/fontawesome-webfont.ttf old mode 100644 new mode 100755 diff --git a/assets/font-awesome/fonts/fontawesome-webfont.woff b/assets/font-awesome/fonts/fontawesome-webfont.woff old mode 100644 new mode 100755 diff --git a/assets/font-awesome/fonts/fontawesome-webfont.woff2 b/assets/font-awesome/fonts/fontawesome-webfont.woff2 old mode 100644 new mode 100755 diff --git a/assets/font-awesome/less/animated.less b/assets/font-awesome/less/animated.less old mode 100644 new mode 100755 diff --git a/assets/font-awesome/less/bordered-pulled.less b/assets/font-awesome/less/bordered-pulled.less old mode 100644 new mode 100755 diff --git a/assets/font-awesome/less/core.less b/assets/font-awesome/less/core.less old mode 100644 new mode 100755 diff --git a/assets/font-awesome/less/fixed-width.less b/assets/font-awesome/less/fixed-width.less old mode 100644 new mode 100755 diff --git a/assets/font-awesome/less/font-awesome.less b/assets/font-awesome/less/font-awesome.less old mode 100644 new mode 100755 diff --git a/assets/font-awesome/less/icons.less b/assets/font-awesome/less/icons.less old mode 100644 new mode 100755 diff --git a/assets/font-awesome/less/larger.less b/assets/font-awesome/less/larger.less old mode 100644 new mode 100755 diff --git a/assets/font-awesome/less/list.less b/assets/font-awesome/less/list.less old mode 100644 new mode 100755 diff --git a/assets/font-awesome/less/mixins.less b/assets/font-awesome/less/mixins.less old mode 100644 new mode 100755 diff --git a/assets/font-awesome/less/path.less b/assets/font-awesome/less/path.less old mode 100644 new mode 100755 diff --git a/assets/font-awesome/less/rotated-flipped.less b/assets/font-awesome/less/rotated-flipped.less old mode 100644 new mode 100755 diff --git a/assets/font-awesome/less/spinning.less b/assets/font-awesome/less/spinning.less old mode 100644 new mode 100755 diff --git a/assets/font-awesome/less/stacked.less b/assets/font-awesome/less/stacked.less old mode 100644 new mode 100755 diff --git a/assets/font-awesome/less/variables.less b/assets/font-awesome/less/variables.less old mode 100644 new mode 100755 diff --git a/assets/font-awesome/scss/_animated.scss b/assets/font-awesome/scss/_animated.scss old mode 100644 new mode 100755 diff --git a/assets/font-awesome/scss/_bordered-pulled.scss b/assets/font-awesome/scss/_bordered-pulled.scss old mode 100644 new mode 100755 diff --git a/assets/font-awesome/scss/_core.scss b/assets/font-awesome/scss/_core.scss old mode 100644 new mode 100755 diff --git a/assets/font-awesome/scss/_fixed-width.scss b/assets/font-awesome/scss/_fixed-width.scss old mode 100644 new mode 100755 diff --git a/assets/font-awesome/scss/_icons.scss b/assets/font-awesome/scss/_icons.scss old mode 100644 new mode 100755 diff --git a/assets/font-awesome/scss/_larger.scss b/assets/font-awesome/scss/_larger.scss old mode 100644 new mode 100755 diff --git a/assets/font-awesome/scss/_list.scss b/assets/font-awesome/scss/_list.scss old mode 100644 new mode 100755 diff --git a/assets/font-awesome/scss/_mixins.scss b/assets/font-awesome/scss/_mixins.scss old mode 100644 new mode 100755 diff --git a/assets/font-awesome/scss/_path.scss b/assets/font-awesome/scss/_path.scss old mode 100644 new mode 100755 diff --git a/assets/font-awesome/scss/_rotated-flipped.scss b/assets/font-awesome/scss/_rotated-flipped.scss old mode 100644 new mode 100755 diff --git a/assets/font-awesome/scss/_spinning.scss b/assets/font-awesome/scss/_spinning.scss old mode 100644 new mode 100755 diff --git a/assets/font-awesome/scss/_stacked.scss b/assets/font-awesome/scss/_stacked.scss old mode 100644 new mode 100755 diff --git a/assets/font-awesome/scss/_variables.scss b/assets/font-awesome/scss/_variables.scss old mode 100644 new mode 100755 diff --git a/assets/font-awesome/scss/font-awesome.scss b/assets/font-awesome/scss/font-awesome.scss old mode 100644 new mode 100755 diff --git a/assets/fonts/OpenSans/OpenSans-Bold.ttf b/assets/fonts/OpenSans/OpenSans-Bold.ttf old mode 100644 new mode 100755 diff --git a/assets/fonts/OpenSans/OpenSans-BoldItalic.ttf b/assets/fonts/OpenSans/OpenSans-BoldItalic.ttf old mode 100644 new mode 100755 diff --git a/assets/fonts/OpenSans/OpenSans-ExtraBold.ttf b/assets/fonts/OpenSans/OpenSans-ExtraBold.ttf old mode 100644 new mode 100755 diff --git a/assets/fonts/OpenSans/OpenSans-ExtraBoldItalic.ttf b/assets/fonts/OpenSans/OpenSans-ExtraBoldItalic.ttf old mode 100644 new mode 100755 diff --git a/assets/fonts/OpenSans/OpenSans-Italic.ttf b/assets/fonts/OpenSans/OpenSans-Italic.ttf old mode 100644 new mode 100755 diff --git a/assets/fonts/OpenSans/OpenSans-Light.ttf b/assets/fonts/OpenSans/OpenSans-Light.ttf old mode 100644 new mode 100755 diff --git a/assets/fonts/OpenSans/OpenSans-LightItalic.ttf b/assets/fonts/OpenSans/OpenSans-LightItalic.ttf old mode 100644 new mode 100755 diff --git a/assets/fonts/OpenSans/OpenSans-Regular.ttf b/assets/fonts/OpenSans/OpenSans-Regular.ttf old mode 100644 new mode 100755 diff --git a/assets/fonts/OpenSans/OpenSans-Semibold.ttf b/assets/fonts/OpenSans/OpenSans-Semibold.ttf old mode 100644 new mode 100755 diff --git a/assets/fonts/OpenSans/OpenSans-SemiboldItalic.ttf b/assets/fonts/OpenSans/OpenSans-SemiboldItalic.ttf old mode 100644 new mode 100755 diff --git a/assets/fonts/glyphicons-halflings-regular.eot b/assets/fonts/glyphicons-halflings-regular.eot old mode 100644 new mode 100755 diff --git a/assets/fonts/glyphicons-halflings-regular.svg b/assets/fonts/glyphicons-halflings-regular.svg old mode 100644 new mode 100755 diff --git a/assets/fonts/glyphicons-halflings-regular.ttf b/assets/fonts/glyphicons-halflings-regular.ttf old mode 100644 new mode 100755 diff --git a/assets/fonts/glyphicons-halflings-regular.woff b/assets/fonts/glyphicons-halflings-regular.woff old mode 100644 new mode 100755 diff --git a/assets/images/404.png b/assets/images/404.png old mode 100644 new mode 100755 diff --git a/assets/images/access.png b/assets/images/access.png old mode 100644 new mode 100755 diff --git a/assets/images/access1.png b/assets/images/access1.png old mode 100644 new mode 100755 diff --git a/assets/images/access2.jpg b/assets/images/access2.jpg old mode 100644 new mode 100755 diff --git a/assets/images/access3.jpg b/assets/images/access3.jpg old mode 100644 new mode 100755 diff --git a/assets/index.html b/assets/index.html old mode 100644 new mode 100755 diff --git a/assets/jQueryUI/jquery-ui-1.10.3.js b/assets/jQueryUI/jquery-ui-1.10.3.js old mode 100644 new mode 100755 diff --git a/assets/jQueryUI/jquery-ui-1.10.3.min.js b/assets/jQueryUI/jquery-ui-1.10.3.min.js old mode 100644 new mode 100755 diff --git a/assets/js/CreatePOValidation.js b/assets/js/CreatePOValidation.js old mode 100644 new mode 100755 index 0c136c3e..04075590 --- a/assets/js/CreatePOValidation.js +++ b/assets/js/CreatePOValidation.js @@ -55,7 +55,7 @@ function validate() return false; } else if(PoType=='CAPITAL' ){ -alert(PoType); + if(currencyType=='0'){ alert('Please Select the Currency Type'); $('#currencytype').focus(); diff --git a/assets/js/CreatePOValidation.js~ b/assets/js/CreatePOValidation.js~ old mode 100644 new mode 100755 index 28597352..04075590 --- a/assets/js/CreatePOValidation.js~ +++ b/assets/js/CreatePOValidation.js~ @@ -28,7 +28,8 @@ function myFunction() { } function validate() { - + var PoType = $('#POType').val(); + var currencyType = $('#currencytype').val(); if($('#PODate').val() == '') { alert('Please Enter the Purchase Order date'); @@ -53,6 +54,24 @@ function validate() $('#Deliverydt').focus(); return false; } + else if(PoType=='CAPITAL' ){ + + if(currencyType=='0'){ + alert('Please Select the Currency Type'); + $('#currencytype').focus(); + return false; +} + else if($('#ExchangeRt').val()==''){ + alert('Please Enter the Exchange Rate'); + $('#ExchangeRt').focus(); + return false; + } + else{ + return true; + } + + + } else { @@ -117,7 +136,9 @@ function calculateTotalValue() var tot = parseFloat(totvalue).toFixed(2); $('#txtTotalOrderValue').val(tot); + validateExceedLimit(); + ExceedQuantityCheck(); } function calculateTaxValue() { diff --git a/assets/js/addUser.js b/assets/js/addUser.js old mode 100644 new mode 100755 diff --git a/assets/js/bootstrap.js b/assets/js/bootstrap.js old mode 100644 new mode 100755 diff --git a/assets/js/bootstrap.min.js b/assets/js/bootstrap.min.js old mode 100644 new mode 100755 diff --git a/assets/js/common.js b/assets/js/common.js old mode 100644 new mode 100755 diff --git a/assets/js/demo/chartjs-demo.js b/assets/js/demo/chartjs-demo.js old mode 100644 new mode 100755 diff --git a/assets/js/demo/dashboard-demo.js b/assets/js/demo/dashboard-demo.js old mode 100644 new mode 100755 diff --git a/assets/js/demo/flot-demo.js b/assets/js/demo/flot-demo.js old mode 100644 new mode 100755 diff --git a/assets/js/demo/flot-demo2.js b/assets/js/demo/flot-demo2.js old mode 100644 new mode 100755 diff --git a/assets/js/demo/morris-demo.js b/assets/js/demo/morris-demo.js old mode 100644 new mode 100755 diff --git a/assets/js/demo/peity-demo.js b/assets/js/demo/peity-demo.js old mode 100644 new mode 100755 diff --git a/assets/js/demo/rickshaw-demo.js b/assets/js/demo/rickshaw-demo.js old mode 100644 new mode 100755 diff --git a/assets/js/demo/sparkline-demo.js b/assets/js/demo/sparkline-demo.js old mode 100644 new mode 100755 diff --git a/assets/js/editUser.js b/assets/js/editUser.js old mode 100644 new mode 100755 diff --git a/assets/js/inspinia.js b/assets/js/inspinia.js old mode 100644 new mode 100755 diff --git a/assets/js/jQuery-2.1.4.min.js b/assets/js/jQuery-2.1.4.min.js old mode 100644 new mode 100755 diff --git a/assets/js/jquery-1.12.4.js b/assets/js/jquery-1.12.4.js old mode 100644 new mode 100755 diff --git a/assets/js/jquery-1.12.4.min.js b/assets/js/jquery-1.12.4.min.js old mode 100644 new mode 100755 diff --git a/assets/js/jquery-2.1.1.js b/assets/js/jquery-2.1.1.js old mode 100644 new mode 100755 diff --git a/assets/js/jquery-ui-1.10.4.min.js b/assets/js/jquery-ui-1.10.4.min.js old mode 100644 new mode 100755 diff --git a/assets/js/jquery-ui.custom.min.js b/assets/js/jquery-ui.custom.min.js old mode 100644 new mode 100755 diff --git a/assets/js/jquery.autocomplete.js b/assets/js/jquery.autocomplete.js old mode 100644 new mode 100755 diff --git a/assets/js/jquery.jeditable.js b/assets/js/jquery.jeditable.js old mode 100644 new mode 100755 diff --git a/assets/js/jquery.min.js b/assets/js/jquery.min.js old mode 100644 new mode 100755 diff --git a/assets/js/jquery.plugin.js b/assets/js/jquery.plugin.js old mode 100644 new mode 100755 diff --git a/assets/js/jquery.validate-rules.js b/assets/js/jquery.validate-rules.js old mode 100644 new mode 100755 diff --git a/assets/js/jquery.validate.js b/assets/js/jquery.validate.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/blueimp/jquery.blueimp-gallery.min.js b/assets/js/plugins/blueimp/jquery.blueimp-gallery.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/chartJs/Chart.min.js b/assets/js/plugins/chartJs/Chart.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/chosen/chosen.jquery.js b/assets/js/plugins/chosen/chosen.jquery.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/codemirror.js b/assets/js/plugins/codemirror/codemirror.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/apl/apl.js b/assets/js/plugins/codemirror/mode/apl/apl.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/apl/index.html b/assets/js/plugins/codemirror/mode/apl/index.html old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/asterisk/asterisk.js b/assets/js/plugins/codemirror/mode/asterisk/asterisk.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/asterisk/index.html b/assets/js/plugins/codemirror/mode/asterisk/index.html old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/clike/clike.js b/assets/js/plugins/codemirror/mode/clike/clike.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/clike/index.html b/assets/js/plugins/codemirror/mode/clike/index.html old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/clike/scala.html b/assets/js/plugins/codemirror/mode/clike/scala.html old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/clojure/clojure.js b/assets/js/plugins/codemirror/mode/clojure/clojure.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/clojure/index.html b/assets/js/plugins/codemirror/mode/clojure/index.html old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/cobol/cobol.js b/assets/js/plugins/codemirror/mode/cobol/cobol.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/cobol/index.html b/assets/js/plugins/codemirror/mode/cobol/index.html old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/coffeescript/coffeescript.js b/assets/js/plugins/codemirror/mode/coffeescript/coffeescript.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/coffeescript/index.html b/assets/js/plugins/codemirror/mode/coffeescript/index.html old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/commonlisp/commonlisp.js b/assets/js/plugins/codemirror/mode/commonlisp/commonlisp.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/commonlisp/index.html b/assets/js/plugins/codemirror/mode/commonlisp/index.html old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/css/css.js b/assets/js/plugins/codemirror/mode/css/css.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/css/index.html b/assets/js/plugins/codemirror/mode/css/index.html old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/css/less.html b/assets/js/plugins/codemirror/mode/css/less.html old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/css/less_test.js b/assets/js/plugins/codemirror/mode/css/less_test.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/css/scss.html b/assets/js/plugins/codemirror/mode/css/scss.html old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/css/scss_test.js b/assets/js/plugins/codemirror/mode/css/scss_test.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/css/test.js b/assets/js/plugins/codemirror/mode/css/test.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/cypher/cypher.js b/assets/js/plugins/codemirror/mode/cypher/cypher.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/cypher/index.html b/assets/js/plugins/codemirror/mode/cypher/index.html old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/d/d.js b/assets/js/plugins/codemirror/mode/d/d.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/d/index.html b/assets/js/plugins/codemirror/mode/d/index.html old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/diff/diff.js b/assets/js/plugins/codemirror/mode/diff/diff.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/diff/index.html b/assets/js/plugins/codemirror/mode/diff/index.html old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/django/django.js b/assets/js/plugins/codemirror/mode/django/django.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/django/index.html b/assets/js/plugins/codemirror/mode/django/index.html old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/dtd/dtd.js b/assets/js/plugins/codemirror/mode/dtd/dtd.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/dtd/index.html b/assets/js/plugins/codemirror/mode/dtd/index.html old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/dylan/dylan.js b/assets/js/plugins/codemirror/mode/dylan/dylan.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/dylan/index.html b/assets/js/plugins/codemirror/mode/dylan/index.html old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/ecl/ecl.js b/assets/js/plugins/codemirror/mode/ecl/ecl.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/ecl/index.html b/assets/js/plugins/codemirror/mode/ecl/index.html old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/eiffel/eiffel.js b/assets/js/plugins/codemirror/mode/eiffel/eiffel.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/eiffel/index.html b/assets/js/plugins/codemirror/mode/eiffel/index.html old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/erlang/erlang.js b/assets/js/plugins/codemirror/mode/erlang/erlang.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/erlang/index.html b/assets/js/plugins/codemirror/mode/erlang/index.html old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/fortran/fortran.js b/assets/js/plugins/codemirror/mode/fortran/fortran.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/fortran/index.html b/assets/js/plugins/codemirror/mode/fortran/index.html old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/gas/gas.js b/assets/js/plugins/codemirror/mode/gas/gas.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/gas/index.html b/assets/js/plugins/codemirror/mode/gas/index.html old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/gfm/gfm.js b/assets/js/plugins/codemirror/mode/gfm/gfm.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/gfm/index.html b/assets/js/plugins/codemirror/mode/gfm/index.html old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/gfm/test.js b/assets/js/plugins/codemirror/mode/gfm/test.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/gherkin/gherkin.js b/assets/js/plugins/codemirror/mode/gherkin/gherkin.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/gherkin/index.html b/assets/js/plugins/codemirror/mode/gherkin/index.html old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/go/go.js b/assets/js/plugins/codemirror/mode/go/go.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/go/index.html b/assets/js/plugins/codemirror/mode/go/index.html old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/groovy/groovy.js b/assets/js/plugins/codemirror/mode/groovy/groovy.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/groovy/index.html b/assets/js/plugins/codemirror/mode/groovy/index.html old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/haml/haml.js b/assets/js/plugins/codemirror/mode/haml/haml.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/haml/index.html b/assets/js/plugins/codemirror/mode/haml/index.html old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/haml/test.js b/assets/js/plugins/codemirror/mode/haml/test.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/haskell/haskell.js b/assets/js/plugins/codemirror/mode/haskell/haskell.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/haskell/index.html b/assets/js/plugins/codemirror/mode/haskell/index.html old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/haxe/haxe.js b/assets/js/plugins/codemirror/mode/haxe/haxe.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/haxe/index.html b/assets/js/plugins/codemirror/mode/haxe/index.html old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/htmlembedded/htmlembedded.js b/assets/js/plugins/codemirror/mode/htmlembedded/htmlembedded.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/htmlembedded/index.html b/assets/js/plugins/codemirror/mode/htmlembedded/index.html old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/htmlmixed/htmlmixed.js b/assets/js/plugins/codemirror/mode/htmlmixed/htmlmixed.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/htmlmixed/index.html b/assets/js/plugins/codemirror/mode/htmlmixed/index.html old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/http/http.js b/assets/js/plugins/codemirror/mode/http/http.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/http/index.html b/assets/js/plugins/codemirror/mode/http/index.html old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/index.html b/assets/js/plugins/codemirror/mode/index.html old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/jade/index.html b/assets/js/plugins/codemirror/mode/jade/index.html old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/jade/jade.js b/assets/js/plugins/codemirror/mode/jade/jade.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/javascript/index.html b/assets/js/plugins/codemirror/mode/javascript/index.html old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/javascript/javascript.js b/assets/js/plugins/codemirror/mode/javascript/javascript.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/javascript/json-ld.html b/assets/js/plugins/codemirror/mode/javascript/json-ld.html old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/javascript/test.js b/assets/js/plugins/codemirror/mode/javascript/test.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/javascript/typescript.html b/assets/js/plugins/codemirror/mode/javascript/typescript.html old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/jinja2/index.html b/assets/js/plugins/codemirror/mode/jinja2/index.html old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/jinja2/jinja2.js b/assets/js/plugins/codemirror/mode/jinja2/jinja2.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/julia/index.html b/assets/js/plugins/codemirror/mode/julia/index.html old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/julia/julia.js b/assets/js/plugins/codemirror/mode/julia/julia.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/kotlin/index.html b/assets/js/plugins/codemirror/mode/kotlin/index.html old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/kotlin/kotlin.js b/assets/js/plugins/codemirror/mode/kotlin/kotlin.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/livescript/index.html b/assets/js/plugins/codemirror/mode/livescript/index.html old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/livescript/livescript.js b/assets/js/plugins/codemirror/mode/livescript/livescript.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/lua/index.html b/assets/js/plugins/codemirror/mode/lua/index.html old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/lua/lua.js b/assets/js/plugins/codemirror/mode/lua/lua.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/markdown/index.html b/assets/js/plugins/codemirror/mode/markdown/index.html old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/markdown/markdown.js b/assets/js/plugins/codemirror/mode/markdown/markdown.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/markdown/test.js b/assets/js/plugins/codemirror/mode/markdown/test.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/meta.js b/assets/js/plugins/codemirror/mode/meta.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/mirc/index.html b/assets/js/plugins/codemirror/mode/mirc/index.html old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/mirc/mirc.js b/assets/js/plugins/codemirror/mode/mirc/mirc.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/mllike/index.html b/assets/js/plugins/codemirror/mode/mllike/index.html old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/mllike/mllike.js b/assets/js/plugins/codemirror/mode/mllike/mllike.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/modelica/index.html b/assets/js/plugins/codemirror/mode/modelica/index.html old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/modelica/modelica.js b/assets/js/plugins/codemirror/mode/modelica/modelica.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/nginx/index.html b/assets/js/plugins/codemirror/mode/nginx/index.html old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/nginx/nginx.js b/assets/js/plugins/codemirror/mode/nginx/nginx.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/ntriples/index.html b/assets/js/plugins/codemirror/mode/ntriples/index.html old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/ntriples/ntriples.js b/assets/js/plugins/codemirror/mode/ntriples/ntriples.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/octave/index.html b/assets/js/plugins/codemirror/mode/octave/index.html old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/octave/octave.js b/assets/js/plugins/codemirror/mode/octave/octave.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/pascal/index.html b/assets/js/plugins/codemirror/mode/pascal/index.html old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/pascal/pascal.js b/assets/js/plugins/codemirror/mode/pascal/pascal.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/pegjs/index.html b/assets/js/plugins/codemirror/mode/pegjs/index.html old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/pegjs/pegjs.js b/assets/js/plugins/codemirror/mode/pegjs/pegjs.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/perl/index.html b/assets/js/plugins/codemirror/mode/perl/index.html old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/perl/perl.js b/assets/js/plugins/codemirror/mode/perl/perl.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/php/index.html b/assets/js/plugins/codemirror/mode/php/index.html old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/php/php.js b/assets/js/plugins/codemirror/mode/php/php.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/php/test.js b/assets/js/plugins/codemirror/mode/php/test.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/pig/index.html b/assets/js/plugins/codemirror/mode/pig/index.html old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/pig/pig.js b/assets/js/plugins/codemirror/mode/pig/pig.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/properties/index.html b/assets/js/plugins/codemirror/mode/properties/index.html old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/properties/properties.js b/assets/js/plugins/codemirror/mode/properties/properties.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/puppet/index.html b/assets/js/plugins/codemirror/mode/puppet/index.html old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/puppet/puppet.js b/assets/js/plugins/codemirror/mode/puppet/puppet.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/python/index.html b/assets/js/plugins/codemirror/mode/python/index.html old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/python/python.js b/assets/js/plugins/codemirror/mode/python/python.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/q/index.html b/assets/js/plugins/codemirror/mode/q/index.html old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/q/q.js b/assets/js/plugins/codemirror/mode/q/q.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/r/index.html b/assets/js/plugins/codemirror/mode/r/index.html old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/r/r.js b/assets/js/plugins/codemirror/mode/r/r.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/rpm/changes/index.html b/assets/js/plugins/codemirror/mode/rpm/changes/index.html old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/rpm/index.html b/assets/js/plugins/codemirror/mode/rpm/index.html old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/rpm/rpm.js b/assets/js/plugins/codemirror/mode/rpm/rpm.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/rst/index.html b/assets/js/plugins/codemirror/mode/rst/index.html old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/rst/rst.js b/assets/js/plugins/codemirror/mode/rst/rst.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/ruby/index.html b/assets/js/plugins/codemirror/mode/ruby/index.html old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/ruby/ruby.js b/assets/js/plugins/codemirror/mode/ruby/ruby.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/ruby/test.js b/assets/js/plugins/codemirror/mode/ruby/test.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/rust/index.html b/assets/js/plugins/codemirror/mode/rust/index.html old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/rust/rust.js b/assets/js/plugins/codemirror/mode/rust/rust.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/sass/index.html b/assets/js/plugins/codemirror/mode/sass/index.html old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/sass/sass.js b/assets/js/plugins/codemirror/mode/sass/sass.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/scheme/index.html b/assets/js/plugins/codemirror/mode/scheme/index.html old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/scheme/scheme.js b/assets/js/plugins/codemirror/mode/scheme/scheme.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/shell/index.html b/assets/js/plugins/codemirror/mode/shell/index.html old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/shell/shell.js b/assets/js/plugins/codemirror/mode/shell/shell.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/shell/test.js b/assets/js/plugins/codemirror/mode/shell/test.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/sieve/index.html b/assets/js/plugins/codemirror/mode/sieve/index.html old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/sieve/sieve.js b/assets/js/plugins/codemirror/mode/sieve/sieve.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/slim/index.html b/assets/js/plugins/codemirror/mode/slim/index.html old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/slim/slim.js b/assets/js/plugins/codemirror/mode/slim/slim.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/slim/test.js b/assets/js/plugins/codemirror/mode/slim/test.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/smalltalk/index.html b/assets/js/plugins/codemirror/mode/smalltalk/index.html old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/smalltalk/smalltalk.js b/assets/js/plugins/codemirror/mode/smalltalk/smalltalk.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/smarty/index.html b/assets/js/plugins/codemirror/mode/smarty/index.html old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/smarty/smarty.js b/assets/js/plugins/codemirror/mode/smarty/smarty.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/smartymixed/index.html b/assets/js/plugins/codemirror/mode/smartymixed/index.html old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/smartymixed/smartymixed.js b/assets/js/plugins/codemirror/mode/smartymixed/smartymixed.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/solr/index.html b/assets/js/plugins/codemirror/mode/solr/index.html old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/solr/solr.js b/assets/js/plugins/codemirror/mode/solr/solr.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/sparql/index.html b/assets/js/plugins/codemirror/mode/sparql/index.html old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/sparql/sparql.js b/assets/js/plugins/codemirror/mode/sparql/sparql.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/sql/index.html b/assets/js/plugins/codemirror/mode/sql/index.html old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/sql/sql.js b/assets/js/plugins/codemirror/mode/sql/sql.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/stex/index.html b/assets/js/plugins/codemirror/mode/stex/index.html old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/stex/stex.js b/assets/js/plugins/codemirror/mode/stex/stex.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/stex/test.js b/assets/js/plugins/codemirror/mode/stex/test.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/tcl/index.html b/assets/js/plugins/codemirror/mode/tcl/index.html old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/tcl/tcl.js b/assets/js/plugins/codemirror/mode/tcl/tcl.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/textile/index.html b/assets/js/plugins/codemirror/mode/textile/index.html old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/textile/test.js b/assets/js/plugins/codemirror/mode/textile/test.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/textile/textile.js b/assets/js/plugins/codemirror/mode/textile/textile.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/tiddlywiki/index.html b/assets/js/plugins/codemirror/mode/tiddlywiki/index.html old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/tiddlywiki/tiddlywiki.css b/assets/js/plugins/codemirror/mode/tiddlywiki/tiddlywiki.css old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/tiddlywiki/tiddlywiki.js b/assets/js/plugins/codemirror/mode/tiddlywiki/tiddlywiki.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/tiki/index.html b/assets/js/plugins/codemirror/mode/tiki/index.html old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/tiki/tiki.css b/assets/js/plugins/codemirror/mode/tiki/tiki.css old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/tiki/tiki.js b/assets/js/plugins/codemirror/mode/tiki/tiki.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/toml/index.html b/assets/js/plugins/codemirror/mode/toml/index.html old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/toml/toml.js b/assets/js/plugins/codemirror/mode/toml/toml.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/tornado/index.html b/assets/js/plugins/codemirror/mode/tornado/index.html old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/tornado/tornado.js b/assets/js/plugins/codemirror/mode/tornado/tornado.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/turtle/index.html b/assets/js/plugins/codemirror/mode/turtle/index.html old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/turtle/turtle.js b/assets/js/plugins/codemirror/mode/turtle/turtle.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/vb/index.html b/assets/js/plugins/codemirror/mode/vb/index.html old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/vb/vb.js b/assets/js/plugins/codemirror/mode/vb/vb.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/vbscript/index.html b/assets/js/plugins/codemirror/mode/vbscript/index.html old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/vbscript/vbscript.js b/assets/js/plugins/codemirror/mode/vbscript/vbscript.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/velocity/index.html b/assets/js/plugins/codemirror/mode/velocity/index.html old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/velocity/velocity.js b/assets/js/plugins/codemirror/mode/velocity/velocity.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/verilog/index.html b/assets/js/plugins/codemirror/mode/verilog/index.html old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/verilog/test.js b/assets/js/plugins/codemirror/mode/verilog/test.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/verilog/verilog.js b/assets/js/plugins/codemirror/mode/verilog/verilog.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/xml/index.html b/assets/js/plugins/codemirror/mode/xml/index.html old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/xml/test.js b/assets/js/plugins/codemirror/mode/xml/test.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/xml/xml.js b/assets/js/plugins/codemirror/mode/xml/xml.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/xquery/index.html b/assets/js/plugins/codemirror/mode/xquery/index.html old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/xquery/test.js b/assets/js/plugins/codemirror/mode/xquery/test.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/xquery/xquery.js b/assets/js/plugins/codemirror/mode/xquery/xquery.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/yaml/index.html b/assets/js/plugins/codemirror/mode/yaml/index.html old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/yaml/yaml.js b/assets/js/plugins/codemirror/mode/yaml/yaml.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/z80/index.html b/assets/js/plugins/codemirror/mode/z80/index.html old mode 100644 new mode 100755 diff --git a/assets/js/plugins/codemirror/mode/z80/z80.js b/assets/js/plugins/codemirror/mode/z80/z80.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/colorpicker/bootstrap-colorpicker.min.js b/assets/js/plugins/colorpicker/bootstrap-colorpicker.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/cropper/cropper.min.js b/assets/js/plugins/cropper/cropper.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/dataTables/dataTables.bootstrap.js b/assets/js/plugins/dataTables/dataTables.bootstrap.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/dataTables/dataTables.responsive.js b/assets/js/plugins/dataTables/dataTables.responsive.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/dataTables/dataTables.tableTools.min.js b/assets/js/plugins/dataTables/dataTables.tableTools.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/dataTables/jquery.dataTables.js b/assets/js/plugins/dataTables/jquery.dataTables.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/dataTables/swf/copy_csv_xls.swf b/assets/js/plugins/dataTables/swf/copy_csv_xls.swf old mode 100644 new mode 100755 diff --git a/assets/js/plugins/dataTables/swf/copy_csv_xls_pdf.swf b/assets/js/plugins/dataTables/swf/copy_csv_xls_pdf.swf old mode 100644 new mode 100755 diff --git a/assets/js/plugins/datapicker/bootstrap-datepicker.js b/assets/js/plugins/datapicker/bootstrap-datepicker.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/dropzone/dropzone.js b/assets/js/plugins/dropzone/dropzone.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/easypiechart/easypiechart.js b/assets/js/plugins/easypiechart/easypiechart.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/easypiechart/jquery.easypiechart.js b/assets/js/plugins/easypiechart/jquery.easypiechart.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/flot/curvedLines.js b/assets/js/plugins/flot/curvedLines.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/flot/excanvas.min.js b/assets/js/plugins/flot/excanvas.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/flot/jquery.flot.js b/assets/js/plugins/flot/jquery.flot.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/flot/jquery.flot.pie.js b/assets/js/plugins/flot/jquery.flot.pie.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/flot/jquery.flot.resize.js b/assets/js/plugins/flot/jquery.flot.resize.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/flot/jquery.flot.spline.js b/assets/js/plugins/flot/jquery.flot.spline.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/flot/jquery.flot.symbol.js b/assets/js/plugins/flot/jquery.flot.symbol.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/flot/jquery.flot.time.js b/assets/js/plugins/flot/jquery.flot.time.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/flot/jquery.flot.tooltip.min.js b/assets/js/plugins/flot/jquery.flot.tooltip.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/fullcalendar/fullcalendar.min.js b/assets/js/plugins/fullcalendar/fullcalendar.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/fullcalendar/moment.min.js b/assets/js/plugins/fullcalendar/moment.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/gritter/images/gritter-light.png b/assets/js/plugins/gritter/images/gritter-light.png old mode 100644 new mode 100755 diff --git a/assets/js/plugins/gritter/images/gritter-long.png b/assets/js/plugins/gritter/images/gritter-long.png old mode 100644 new mode 100755 diff --git a/assets/js/plugins/gritter/images/gritter.png b/assets/js/plugins/gritter/images/gritter.png old mode 100644 new mode 100755 diff --git a/assets/js/plugins/gritter/images/ie-spacer.gif b/assets/js/plugins/gritter/images/ie-spacer.gif old mode 100644 new mode 100755 diff --git a/assets/js/plugins/gritter/jquery.gritter.css b/assets/js/plugins/gritter/jquery.gritter.css old mode 100644 new mode 100755 diff --git a/assets/js/plugins/gritter/jquery.gritter.min.js b/assets/js/plugins/gritter/jquery.gritter.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/iCheck/icheck.min.js b/assets/js/plugins/iCheck/icheck.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/ionRangeSlider/ion.rangeSlider.min.js b/assets/js/plugins/ionRangeSlider/ion.rangeSlider.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jasny/jasny-bootstrap.min.js b/assets/js/plugins/jasny/jasny-bootstrap.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jeditable/jquery.jeditable.js b/assets/js/plugins/jeditable/jquery.jeditable.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jqGrid/i18n/grid.locale-ar.js b/assets/js/plugins/jqGrid/i18n/grid.locale-ar.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jqGrid/i18n/grid.locale-bg.js b/assets/js/plugins/jqGrid/i18n/grid.locale-bg.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jqGrid/i18n/grid.locale-bg1251.js b/assets/js/plugins/jqGrid/i18n/grid.locale-bg1251.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jqGrid/i18n/grid.locale-cat.js b/assets/js/plugins/jqGrid/i18n/grid.locale-cat.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jqGrid/i18n/grid.locale-cn.js b/assets/js/plugins/jqGrid/i18n/grid.locale-cn.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jqGrid/i18n/grid.locale-cs.js b/assets/js/plugins/jqGrid/i18n/grid.locale-cs.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jqGrid/i18n/grid.locale-da.js b/assets/js/plugins/jqGrid/i18n/grid.locale-da.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jqGrid/i18n/grid.locale-de.js b/assets/js/plugins/jqGrid/i18n/grid.locale-de.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jqGrid/i18n/grid.locale-dk.js b/assets/js/plugins/jqGrid/i18n/grid.locale-dk.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jqGrid/i18n/grid.locale-el.js b/assets/js/plugins/jqGrid/i18n/grid.locale-el.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jqGrid/i18n/grid.locale-en.js b/assets/js/plugins/jqGrid/i18n/grid.locale-en.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jqGrid/i18n/grid.locale-es.js b/assets/js/plugins/jqGrid/i18n/grid.locale-es.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jqGrid/i18n/grid.locale-fa.js b/assets/js/plugins/jqGrid/i18n/grid.locale-fa.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jqGrid/i18n/grid.locale-fi.js b/assets/js/plugins/jqGrid/i18n/grid.locale-fi.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jqGrid/i18n/grid.locale-fr.js b/assets/js/plugins/jqGrid/i18n/grid.locale-fr.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jqGrid/i18n/grid.locale-gl.js b/assets/js/plugins/jqGrid/i18n/grid.locale-gl.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jqGrid/i18n/grid.locale-he.js b/assets/js/plugins/jqGrid/i18n/grid.locale-he.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jqGrid/i18n/grid.locale-hr.js b/assets/js/plugins/jqGrid/i18n/grid.locale-hr.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jqGrid/i18n/grid.locale-hr1250.js b/assets/js/plugins/jqGrid/i18n/grid.locale-hr1250.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jqGrid/i18n/grid.locale-hu.js b/assets/js/plugins/jqGrid/i18n/grid.locale-hu.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jqGrid/i18n/grid.locale-id.js b/assets/js/plugins/jqGrid/i18n/grid.locale-id.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jqGrid/i18n/grid.locale-is.js b/assets/js/plugins/jqGrid/i18n/grid.locale-is.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jqGrid/i18n/grid.locale-it.js b/assets/js/plugins/jqGrid/i18n/grid.locale-it.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jqGrid/i18n/grid.locale-ja.js b/assets/js/plugins/jqGrid/i18n/grid.locale-ja.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jqGrid/i18n/grid.locale-kr.js b/assets/js/plugins/jqGrid/i18n/grid.locale-kr.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jqGrid/i18n/grid.locale-lt.js b/assets/js/plugins/jqGrid/i18n/grid.locale-lt.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jqGrid/i18n/grid.locale-mne.js b/assets/js/plugins/jqGrid/i18n/grid.locale-mne.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jqGrid/i18n/grid.locale-nl.js b/assets/js/plugins/jqGrid/i18n/grid.locale-nl.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jqGrid/i18n/grid.locale-no.js b/assets/js/plugins/jqGrid/i18n/grid.locale-no.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jqGrid/i18n/grid.locale-pl.js b/assets/js/plugins/jqGrid/i18n/grid.locale-pl.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jqGrid/i18n/grid.locale-pt-br.js b/assets/js/plugins/jqGrid/i18n/grid.locale-pt-br.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jqGrid/i18n/grid.locale-pt.js b/assets/js/plugins/jqGrid/i18n/grid.locale-pt.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jqGrid/i18n/grid.locale-ro.js b/assets/js/plugins/jqGrid/i18n/grid.locale-ro.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jqGrid/i18n/grid.locale-ru.js b/assets/js/plugins/jqGrid/i18n/grid.locale-ru.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jqGrid/i18n/grid.locale-sk.js b/assets/js/plugins/jqGrid/i18n/grid.locale-sk.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jqGrid/i18n/grid.locale-sr-latin.js b/assets/js/plugins/jqGrid/i18n/grid.locale-sr-latin.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jqGrid/i18n/grid.locale-sr.js b/assets/js/plugins/jqGrid/i18n/grid.locale-sr.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jqGrid/i18n/grid.locale-sv.js b/assets/js/plugins/jqGrid/i18n/grid.locale-sv.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jqGrid/i18n/grid.locale-th.js b/assets/js/plugins/jqGrid/i18n/grid.locale-th.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jqGrid/i18n/grid.locale-tr.js b/assets/js/plugins/jqGrid/i18n/grid.locale-tr.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jqGrid/i18n/grid.locale-tw.js b/assets/js/plugins/jqGrid/i18n/grid.locale-tw.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jqGrid/i18n/grid.locale-ua.js b/assets/js/plugins/jqGrid/i18n/grid.locale-ua.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jqGrid/i18n/grid.locale-vi.js b/assets/js/plugins/jqGrid/i18n/grid.locale-vi.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jqGrid/jquery.jqGrid.min.js b/assets/js/plugins/jqGrid/jquery.jqGrid.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jquery-ui/i18n/jquery-ui-i18n.min.js b/assets/js/plugins/jquery-ui/i18n/jquery-ui-i18n.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-af.min.js b/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-af.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-ar-DZ.min.js b/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-ar-DZ.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-ar.min.js b/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-ar.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-az.min.js b/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-az.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-be.min.js b/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-be.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-bg.min.js b/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-bg.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-bs.min.js b/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-bs.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-ca.min.js b/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-ca.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-cs.min.js b/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-cs.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-cy-GB.min.js b/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-cy-GB.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-da.min.js b/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-da.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-de.min.js b/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-de.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-el.min.js b/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-el.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-en-AU.min.js b/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-en-AU.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-en-GB.min.js b/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-en-GB.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-en-NZ.min.js b/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-en-NZ.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-eo.min.js b/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-eo.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-es.min.js b/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-es.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-et.min.js b/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-et.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-eu.min.js b/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-eu.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-fa.min.js b/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-fa.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-fi.min.js b/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-fi.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-fo.min.js b/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-fo.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-fr-CA.min.js b/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-fr-CA.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-fr-CH.min.js b/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-fr-CH.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-fr.min.js b/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-fr.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-gl.min.js b/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-gl.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-he.min.js b/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-he.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-hi.min.js b/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-hi.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-hr.min.js b/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-hr.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-hu.min.js b/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-hu.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-hy.min.js b/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-hy.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-id.min.js b/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-id.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-is.min.js b/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-is.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-it.min.js b/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-it.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-ja.min.js b/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-ja.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-ka.min.js b/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-ka.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-kk.min.js b/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-kk.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-km.min.js b/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-km.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-ko.min.js b/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-ko.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-ky.min.js b/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-ky.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-lb.min.js b/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-lb.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-lt.min.js b/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-lt.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-lv.min.js b/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-lv.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-mk.min.js b/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-mk.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-ml.min.js b/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-ml.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-ms.min.js b/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-ms.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-nb.min.js b/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-nb.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-nl-BE.min.js b/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-nl-BE.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-nl.min.js b/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-nl.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-nn.min.js b/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-nn.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-no.min.js b/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-no.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-pl.min.js b/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-pl.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-pt-BR.min.js b/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-pt-BR.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-pt.min.js b/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-pt.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-rm.min.js b/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-rm.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-ro.min.js b/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-ro.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-ru.min.js b/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-ru.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-sk.min.js b/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-sk.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-sl.min.js b/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-sl.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-sq.min.js b/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-sq.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-sr-SR.min.js b/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-sr-SR.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-sr.min.js b/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-sr.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-sv.min.js b/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-sv.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-ta.min.js b/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-ta.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-th.min.js b/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-th.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-tj.min.js b/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-tj.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-tr.min.js b/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-tr.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-uk.min.js b/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-uk.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-vi.min.js b/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-vi.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-zh-CN.min.js b/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-zh-CN.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-zh-HK.min.js b/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-zh-HK.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-zh-TW.min.js b/assets/js/plugins/jquery-ui/i18n/jquery.ui.datepicker-zh-TW.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jquery-ui/images/animated-overlay.gif b/assets/js/plugins/jquery-ui/images/animated-overlay.gif old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jquery-ui/images/ui-bg_flat_0_aaaaaa_40x100.png b/assets/js/plugins/jquery-ui/images/ui-bg_flat_0_aaaaaa_40x100.png old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jquery-ui/images/ui-bg_flat_75_ffffff_40x100.png b/assets/js/plugins/jquery-ui/images/ui-bg_flat_75_ffffff_40x100.png old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jquery-ui/images/ui-bg_glass_55_fbf9ee_1x400.png b/assets/js/plugins/jquery-ui/images/ui-bg_glass_55_fbf9ee_1x400.png old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jquery-ui/images/ui-bg_glass_65_ffffff_1x400.png b/assets/js/plugins/jquery-ui/images/ui-bg_glass_65_ffffff_1x400.png old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jquery-ui/images/ui-bg_glass_75_dadada_1x400.png b/assets/js/plugins/jquery-ui/images/ui-bg_glass_75_dadada_1x400.png old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jquery-ui/images/ui-bg_glass_75_e6e6e6_1x400.png b/assets/js/plugins/jquery-ui/images/ui-bg_glass_75_e6e6e6_1x400.png old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jquery-ui/images/ui-bg_glass_95_fef1ec_1x400.png b/assets/js/plugins/jquery-ui/images/ui-bg_glass_95_fef1ec_1x400.png old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jquery-ui/images/ui-bg_highlight-soft_75_cccccc_1x100.png b/assets/js/plugins/jquery-ui/images/ui-bg_highlight-soft_75_cccccc_1x100.png old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jquery-ui/images/ui-icons_222222_256x240.png b/assets/js/plugins/jquery-ui/images/ui-icons_222222_256x240.png old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jquery-ui/images/ui-icons_2e83ff_256x240.png b/assets/js/plugins/jquery-ui/images/ui-icons_2e83ff_256x240.png old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jquery-ui/images/ui-icons_454545_256x240.png b/assets/js/plugins/jquery-ui/images/ui-icons_454545_256x240.png old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jquery-ui/images/ui-icons_888888_256x240.png b/assets/js/plugins/jquery-ui/images/ui-icons_888888_256x240.png old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jquery-ui/images/ui-icons_cd0a0a_256x240.png b/assets/js/plugins/jquery-ui/images/ui-icons_cd0a0a_256x240.png old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jquery-ui/jquery-ui.css b/assets/js/plugins/jquery-ui/jquery-ui.css old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jquery-ui/jquery-ui.js b/assets/js/plugins/jquery-ui/jquery-ui.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jquery-ui/jquery-ui.min.css b/assets/js/plugins/jquery-ui/jquery-ui.min.css old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jquery-ui/jquery-ui.min.js b/assets/js/plugins/jquery-ui/jquery-ui.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jsKnob/jquery.knob.js b/assets/js/plugins/jsKnob/jquery.knob.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jsTree/jstree.min.js b/assets/js/plugins/jsTree/jstree.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/justified-gallery/README.md b/assets/js/plugins/justified-gallery/README.md old mode 100644 new mode 100755 diff --git a/assets/js/plugins/justified-gallery/jquery.justifiedgallery.css b/assets/js/plugins/justified-gallery/jquery.justifiedgallery.css old mode 100644 new mode 100755 diff --git a/assets/js/plugins/justified-gallery/jquery.justifiedgallery.js b/assets/js/plugins/justified-gallery/jquery.justifiedgallery.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/justified-gallery/jquery.justifiedgallery.min.css b/assets/js/plugins/justified-gallery/jquery.justifiedgallery.min.css old mode 100644 new mode 100755 diff --git a/assets/js/plugins/justified-gallery/jquery.justifiedgallery.min.js b/assets/js/plugins/justified-gallery/jquery.justifiedgallery.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/justified-gallery/loading.gif b/assets/js/plugins/justified-gallery/loading.gif old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jvectormap/jquery-jvectormap-1.2.2.min.js b/assets/js/plugins/jvectormap/jquery-jvectormap-1.2.2.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/jvectormap/jquery-jvectormap-world-mill-en.js b/assets/js/plugins/jvectormap/jquery-jvectormap-world-mill-en.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/metisMenu/jquery.metisMenu.js b/assets/js/plugins/metisMenu/jquery.metisMenu.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/morris/morris.js b/assets/js/plugins/morris/morris.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/morris/raphael-2.1.0.min.js b/assets/js/plugins/morris/raphael-2.1.0.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/nestable/jquery.nestable.js b/assets/js/plugins/nestable/jquery.nestable.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/nouslider/jquery.nouislider.min.js b/assets/js/plugins/nouslider/jquery.nouislider.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/pace/pace.min.js b/assets/js/plugins/pace/pace.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/peity/jquery.peity.min.js b/assets/js/plugins/peity/jquery.peity.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/rickshaw/rickshaw.min.js b/assets/js/plugins/rickshaw/rickshaw.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/rickshaw/vendor/d3.v3.js b/assets/js/plugins/rickshaw/vendor/d3.v3.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/slimscroll/jquery.slimscroll.js b/assets/js/plugins/slimscroll/jquery.slimscroll.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/slimscroll/jquery.slimscroll.min.js b/assets/js/plugins/slimscroll/jquery.slimscroll.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/sparkline/jquery.sparkline.min.js b/assets/js/plugins/sparkline/jquery.sparkline.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/staps/jquery.steps.min.js b/assets/js/plugins/staps/jquery.steps.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/summernote/summernote.min.js b/assets/js/plugins/summernote/summernote.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/switchery/switchery.js b/assets/js/plugins/switchery/switchery.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/toastr/toastr.min.js b/assets/js/plugins/toastr/toastr.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/validate/jquery.validate.min.js b/assets/js/plugins/validate/jquery.validate.min.js old mode 100644 new mode 100755 diff --git a/assets/js/plugins/video/responsible-video.js b/assets/js/plugins/video/responsible-video.js old mode 100644 new mode 100755 diff --git a/assets/js/tsort.min.js b/assets/js/tsort.min.js old mode 100644 new mode 100755 diff --git a/assets/js/underscore.js b/assets/js/underscore.js old mode 100644 new mode 100755 diff --git a/assets/js/upload.min.js b/assets/js/upload.min.js old mode 100644 new mode 100755 diff --git a/assets/js/validation.js b/assets/js/validation.js old mode 100644 new mode 100755 diff --git a/assets/plugins/bootstrap-slider/bootstrap-slider.js b/assets/plugins/bootstrap-slider/bootstrap-slider.js old mode 100644 new mode 100755 diff --git a/assets/plugins/bootstrap-slider/slider.css b/assets/plugins/bootstrap-slider/slider.css old mode 100644 new mode 100755 diff --git a/assets/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.all.min.js b/assets/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.all.min.js old mode 100644 new mode 100755 diff --git a/assets/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.css b/assets/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.css old mode 100644 new mode 100755 diff --git a/assets/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.js b/assets/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.js old mode 100644 new mode 100755 diff --git a/assets/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.min.css b/assets/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.min.css old mode 100644 new mode 100755 diff --git a/assets/plugins/chartjs/Chart.js b/assets/plugins/chartjs/Chart.js old mode 100644 new mode 100755 diff --git a/assets/plugins/chartjs/Chart.min.js b/assets/plugins/chartjs/Chart.min.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/CHANGES.md b/assets/plugins/ckeditor/CHANGES.md old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/LICENSE.md b/assets/plugins/ckeditor/LICENSE.md old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/README.md b/assets/plugins/ckeditor/README.md old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/adapters/jquery.js b/assets/plugins/ckeditor/adapters/jquery.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/build-config.js b/assets/plugins/ckeditor/build-config.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/ckeditor.js b/assets/plugins/ckeditor/ckeditor.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/config.js b/assets/plugins/ckeditor/config.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/contents.css b/assets/plugins/ckeditor/contents.css old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/lang/af.js b/assets/plugins/ckeditor/lang/af.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/lang/ar.js b/assets/plugins/ckeditor/lang/ar.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/lang/bg.js b/assets/plugins/ckeditor/lang/bg.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/lang/bn.js b/assets/plugins/ckeditor/lang/bn.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/lang/bs.js b/assets/plugins/ckeditor/lang/bs.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/lang/ca.js b/assets/plugins/ckeditor/lang/ca.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/lang/cs.js b/assets/plugins/ckeditor/lang/cs.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/lang/cy.js b/assets/plugins/ckeditor/lang/cy.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/lang/da.js b/assets/plugins/ckeditor/lang/da.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/lang/de.js b/assets/plugins/ckeditor/lang/de.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/lang/el.js b/assets/plugins/ckeditor/lang/el.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/lang/en-au.js b/assets/plugins/ckeditor/lang/en-au.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/lang/en-ca.js b/assets/plugins/ckeditor/lang/en-ca.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/lang/en-gb.js b/assets/plugins/ckeditor/lang/en-gb.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/lang/en.js b/assets/plugins/ckeditor/lang/en.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/lang/eo.js b/assets/plugins/ckeditor/lang/eo.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/lang/es.js b/assets/plugins/ckeditor/lang/es.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/lang/et.js b/assets/plugins/ckeditor/lang/et.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/lang/eu.js b/assets/plugins/ckeditor/lang/eu.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/lang/fa.js b/assets/plugins/ckeditor/lang/fa.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/lang/fi.js b/assets/plugins/ckeditor/lang/fi.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/lang/fo.js b/assets/plugins/ckeditor/lang/fo.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/lang/fr-ca.js b/assets/plugins/ckeditor/lang/fr-ca.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/lang/fr.js b/assets/plugins/ckeditor/lang/fr.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/lang/gl.js b/assets/plugins/ckeditor/lang/gl.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/lang/gu.js b/assets/plugins/ckeditor/lang/gu.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/lang/he.js b/assets/plugins/ckeditor/lang/he.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/lang/hi.js b/assets/plugins/ckeditor/lang/hi.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/lang/hr.js b/assets/plugins/ckeditor/lang/hr.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/lang/hu.js b/assets/plugins/ckeditor/lang/hu.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/lang/id.js b/assets/plugins/ckeditor/lang/id.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/lang/is.js b/assets/plugins/ckeditor/lang/is.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/lang/it.js b/assets/plugins/ckeditor/lang/it.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/lang/ja.js b/assets/plugins/ckeditor/lang/ja.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/lang/ka.js b/assets/plugins/ckeditor/lang/ka.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/lang/km.js b/assets/plugins/ckeditor/lang/km.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/lang/ko.js b/assets/plugins/ckeditor/lang/ko.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/lang/ku.js b/assets/plugins/ckeditor/lang/ku.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/lang/lt.js b/assets/plugins/ckeditor/lang/lt.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/lang/lv.js b/assets/plugins/ckeditor/lang/lv.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/lang/mk.js b/assets/plugins/ckeditor/lang/mk.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/lang/mn.js b/assets/plugins/ckeditor/lang/mn.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/lang/ms.js b/assets/plugins/ckeditor/lang/ms.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/lang/nb.js b/assets/plugins/ckeditor/lang/nb.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/lang/nl.js b/assets/plugins/ckeditor/lang/nl.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/lang/no.js b/assets/plugins/ckeditor/lang/no.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/lang/pl.js b/assets/plugins/ckeditor/lang/pl.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/lang/pt-br.js b/assets/plugins/ckeditor/lang/pt-br.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/lang/pt.js b/assets/plugins/ckeditor/lang/pt.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/lang/ro.js b/assets/plugins/ckeditor/lang/ro.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/lang/ru.js b/assets/plugins/ckeditor/lang/ru.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/lang/si.js b/assets/plugins/ckeditor/lang/si.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/lang/sk.js b/assets/plugins/ckeditor/lang/sk.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/lang/sl.js b/assets/plugins/ckeditor/lang/sl.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/lang/sq.js b/assets/plugins/ckeditor/lang/sq.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/lang/sr-latn.js b/assets/plugins/ckeditor/lang/sr-latn.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/lang/sr.js b/assets/plugins/ckeditor/lang/sr.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/lang/sv.js b/assets/plugins/ckeditor/lang/sv.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/lang/th.js b/assets/plugins/ckeditor/lang/th.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/lang/tr.js b/assets/plugins/ckeditor/lang/tr.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/lang/ug.js b/assets/plugins/ckeditor/lang/ug.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/lang/uk.js b/assets/plugins/ckeditor/lang/uk.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/lang/vi.js b/assets/plugins/ckeditor/lang/vi.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/lang/zh-cn.js b/assets/plugins/ckeditor/lang/zh-cn.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/lang/zh.js b/assets/plugins/ckeditor/lang/zh.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/a11yhelp.js b/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/a11yhelp.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/_translationstatus.txt b/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/_translationstatus.txt old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/ar.js b/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/ar.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/bg.js b/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/bg.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/ca.js b/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/ca.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/cs.js b/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/cs.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/cy.js b/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/cy.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/da.js b/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/da.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/de.js b/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/de.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/el.js b/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/el.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/en.js b/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/en.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/eo.js b/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/eo.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/es.js b/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/es.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/et.js b/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/et.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/fa.js b/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/fa.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/fi.js b/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/fi.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/fr-ca.js b/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/fr-ca.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/fr.js b/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/fr.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/gl.js b/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/gl.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/gu.js b/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/gu.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/he.js b/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/he.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/hi.js b/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/hi.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/hr.js b/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/hr.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/hu.js b/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/hu.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/id.js b/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/id.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/it.js b/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/it.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/ja.js b/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/ja.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/km.js b/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/km.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/ko.js b/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/ko.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/ku.js b/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/ku.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/lt.js b/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/lt.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/lv.js b/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/lv.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/mk.js b/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/mk.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/mn.js b/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/mn.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/nb.js b/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/nb.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/nl.js b/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/nl.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/no.js b/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/no.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/pl.js b/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/pl.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/pt-br.js b/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/pt-br.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/pt.js b/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/pt.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/ro.js b/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/ro.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/ru.js b/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/ru.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/si.js b/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/si.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/sk.js b/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/sk.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/sl.js b/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/sl.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/sq.js b/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/sq.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/sr-latn.js b/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/sr-latn.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/sr.js b/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/sr.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/sv.js b/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/sv.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/th.js b/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/th.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/tr.js b/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/tr.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/ug.js b/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/ug.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/uk.js b/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/uk.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/vi.js b/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/vi.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/zh-cn.js b/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/zh-cn.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/zh.js b/assets/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/zh.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/about/dialogs/about.js b/assets/plugins/ckeditor/plugins/about/dialogs/about.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/about/dialogs/hidpi/logo_ckeditor.png b/assets/plugins/ckeditor/plugins/about/dialogs/hidpi/logo_ckeditor.png old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/about/dialogs/logo_ckeditor.png b/assets/plugins/ckeditor/plugins/about/dialogs/logo_ckeditor.png old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/clipboard/dialogs/paste.js b/assets/plugins/ckeditor/plugins/clipboard/dialogs/paste.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/dialog/dialogDefinition.js b/assets/plugins/ckeditor/plugins/dialog/dialogDefinition.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/fakeobjects/images/spacer.gif b/assets/plugins/ckeditor/plugins/fakeobjects/images/spacer.gif old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/icons.png b/assets/plugins/ckeditor/plugins/icons.png old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/icons_hidpi.png b/assets/plugins/ckeditor/plugins/icons_hidpi.png old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/image/dialogs/image.js b/assets/plugins/ckeditor/plugins/image/dialogs/image.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/image/images/noimage.png b/assets/plugins/ckeditor/plugins/image/images/noimage.png old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/link/dialogs/anchor.js b/assets/plugins/ckeditor/plugins/link/dialogs/anchor.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/link/dialogs/link.js b/assets/plugins/ckeditor/plugins/link/dialogs/link.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/link/images/anchor.png b/assets/plugins/ckeditor/plugins/link/images/anchor.png old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/link/images/hidpi/anchor.png b/assets/plugins/ckeditor/plugins/link/images/hidpi/anchor.png old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/magicline/images/hidpi/icon.png b/assets/plugins/ckeditor/plugins/magicline/images/hidpi/icon.png old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/magicline/images/icon.png b/assets/plugins/ckeditor/plugins/magicline/images/icon.png old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/pastefromword/filter/default.js b/assets/plugins/ckeditor/plugins/pastefromword/filter/default.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/scayt/LICENSE.md b/assets/plugins/ckeditor/plugins/scayt/LICENSE.md old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/scayt/README.md b/assets/plugins/ckeditor/plugins/scayt/README.md old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/scayt/dialogs/options.js b/assets/plugins/ckeditor/plugins/scayt/dialogs/options.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/scayt/dialogs/toolbar.css b/assets/plugins/ckeditor/plugins/scayt/dialogs/toolbar.css old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/_translationstatus.txt b/assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/_translationstatus.txt old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/ar.js b/assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/ar.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/bg.js b/assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/bg.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/ca.js b/assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/ca.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/cs.js b/assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/cs.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/cy.js b/assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/cy.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/de.js b/assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/de.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/el.js b/assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/el.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/en.js b/assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/en.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/eo.js b/assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/eo.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/es.js b/assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/es.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/et.js b/assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/et.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/fa.js b/assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/fa.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/fi.js b/assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/fi.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/fr-ca.js b/assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/fr-ca.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/fr.js b/assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/fr.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/gl.js b/assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/gl.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/he.js b/assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/he.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/hr.js b/assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/hr.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/hu.js b/assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/hu.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/id.js b/assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/id.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/it.js b/assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/it.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/ja.js b/assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/ja.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/km.js b/assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/km.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/ku.js b/assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/ku.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/lv.js b/assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/lv.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/nb.js b/assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/nb.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/nl.js b/assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/nl.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/no.js b/assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/no.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/pl.js b/assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/pl.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/pt-br.js b/assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/pt-br.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/pt.js b/assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/pt.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/ru.js b/assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/ru.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/si.js b/assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/si.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/sk.js b/assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/sk.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/sl.js b/assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/sl.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/sq.js b/assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/sq.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/sv.js b/assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/sv.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/th.js b/assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/th.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/tr.js b/assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/tr.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/ug.js b/assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/ug.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/uk.js b/assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/uk.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/vi.js b/assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/vi.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/zh-cn.js b/assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/zh-cn.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/zh.js b/assets/plugins/ckeditor/plugins/specialchar/dialogs/lang/zh.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/specialchar/dialogs/specialchar.js b/assets/plugins/ckeditor/plugins/specialchar/dialogs/specialchar.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/table/dialogs/table.js b/assets/plugins/ckeditor/plugins/table/dialogs/table.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/tabletools/dialogs/tableCell.js b/assets/plugins/ckeditor/plugins/tabletools/dialogs/tableCell.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/wsc/LICENSE.md b/assets/plugins/ckeditor/plugins/wsc/LICENSE.md old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/wsc/README.md b/assets/plugins/ckeditor/plugins/wsc/README.md old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/wsc/dialogs/ciframe.html b/assets/plugins/ckeditor/plugins/wsc/dialogs/ciframe.html old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/wsc/dialogs/tmp.html b/assets/plugins/ckeditor/plugins/wsc/dialogs/tmp.html old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/wsc/dialogs/tmpFrameset.html b/assets/plugins/ckeditor/plugins/wsc/dialogs/tmpFrameset.html old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/wsc/dialogs/wsc.css b/assets/plugins/ckeditor/plugins/wsc/dialogs/wsc.css old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/wsc/dialogs/wsc.js b/assets/plugins/ckeditor/plugins/wsc/dialogs/wsc.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/plugins/wsc/dialogs/wsc_ie.js b/assets/plugins/ckeditor/plugins/wsc/dialogs/wsc_ie.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/skins/moono/dialog.css b/assets/plugins/ckeditor/skins/moono/dialog.css old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/skins/moono/dialog_ie.css b/assets/plugins/ckeditor/skins/moono/dialog_ie.css old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/skins/moono/dialog_ie7.css b/assets/plugins/ckeditor/skins/moono/dialog_ie7.css old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/skins/moono/dialog_ie8.css b/assets/plugins/ckeditor/skins/moono/dialog_ie8.css old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/skins/moono/dialog_iequirks.css b/assets/plugins/ckeditor/skins/moono/dialog_iequirks.css old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/skins/moono/dialog_opera.css b/assets/plugins/ckeditor/skins/moono/dialog_opera.css old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/skins/moono/editor.css b/assets/plugins/ckeditor/skins/moono/editor.css old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/skins/moono/editor_gecko.css b/assets/plugins/ckeditor/skins/moono/editor_gecko.css old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/skins/moono/editor_ie.css b/assets/plugins/ckeditor/skins/moono/editor_ie.css old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/skins/moono/editor_ie7.css b/assets/plugins/ckeditor/skins/moono/editor_ie7.css old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/skins/moono/editor_ie8.css b/assets/plugins/ckeditor/skins/moono/editor_ie8.css old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/skins/moono/editor_iequirks.css b/assets/plugins/ckeditor/skins/moono/editor_iequirks.css old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/skins/moono/icons.png b/assets/plugins/ckeditor/skins/moono/icons.png old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/skins/moono/icons_hidpi.png b/assets/plugins/ckeditor/skins/moono/icons_hidpi.png old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/skins/moono/images/arrow.png b/assets/plugins/ckeditor/skins/moono/images/arrow.png old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/skins/moono/images/close.png b/assets/plugins/ckeditor/skins/moono/images/close.png old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/skins/moono/images/hidpi/close.png b/assets/plugins/ckeditor/skins/moono/images/hidpi/close.png old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/skins/moono/images/hidpi/lock-open.png b/assets/plugins/ckeditor/skins/moono/images/hidpi/lock-open.png old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/skins/moono/images/hidpi/lock.png b/assets/plugins/ckeditor/skins/moono/images/hidpi/lock.png old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/skins/moono/images/hidpi/refresh.png b/assets/plugins/ckeditor/skins/moono/images/hidpi/refresh.png old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/skins/moono/images/lock-open.png b/assets/plugins/ckeditor/skins/moono/images/lock-open.png old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/skins/moono/images/lock.png b/assets/plugins/ckeditor/skins/moono/images/lock.png old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/skins/moono/images/refresh.png b/assets/plugins/ckeditor/skins/moono/images/refresh.png old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/skins/moono/readme.md b/assets/plugins/ckeditor/skins/moono/readme.md old mode 100644 new mode 100755 diff --git a/assets/plugins/ckeditor/styles.js b/assets/plugins/ckeditor/styles.js old mode 100644 new mode 100755 diff --git a/assets/plugins/colorpicker/bootstrap-colorpicker.css b/assets/plugins/colorpicker/bootstrap-colorpicker.css old mode 100644 new mode 100755 diff --git a/assets/plugins/colorpicker/bootstrap-colorpicker.js b/assets/plugins/colorpicker/bootstrap-colorpicker.js old mode 100644 new mode 100755 diff --git a/assets/plugins/colorpicker/bootstrap-colorpicker.min.css b/assets/plugins/colorpicker/bootstrap-colorpicker.min.css old mode 100644 new mode 100755 diff --git a/assets/plugins/colorpicker/bootstrap-colorpicker.min.js b/assets/plugins/colorpicker/bootstrap-colorpicker.min.js old mode 100644 new mode 100755 diff --git a/assets/plugins/colorpicker/img/alpha-horizontal.png b/assets/plugins/colorpicker/img/alpha-horizontal.png old mode 100644 new mode 100755 diff --git a/assets/plugins/colorpicker/img/alpha.png b/assets/plugins/colorpicker/img/alpha.png old mode 100644 new mode 100755 diff --git a/assets/plugins/colorpicker/img/hue-horizontal.png b/assets/plugins/colorpicker/img/hue-horizontal.png old mode 100644 new mode 100755 diff --git a/assets/plugins/colorpicker/img/hue.png b/assets/plugins/colorpicker/img/hue.png old mode 100644 new mode 100755 diff --git a/assets/plugins/colorpicker/img/saturation.png b/assets/plugins/colorpicker/img/saturation.png old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/dataTables.bootstrap.css b/assets/plugins/datatables/dataTables.bootstrap.css old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/dataTables.bootstrap.js b/assets/plugins/datatables/dataTables.bootstrap.js old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/dataTables.bootstrap.min.js b/assets/plugins/datatables/dataTables.bootstrap.min.js old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/AutoFill/Readme.txt b/assets/plugins/datatables/extensions/AutoFill/Readme.txt old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/AutoFill/css/dataTables.autoFill.css b/assets/plugins/datatables/extensions/AutoFill/css/dataTables.autoFill.css old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/AutoFill/css/dataTables.autoFill.min.css b/assets/plugins/datatables/extensions/AutoFill/css/dataTables.autoFill.min.css old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/AutoFill/examples/columns.html b/assets/plugins/datatables/extensions/AutoFill/examples/columns.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/AutoFill/examples/complete-callback.html b/assets/plugins/datatables/extensions/AutoFill/examples/complete-callback.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/AutoFill/examples/fill-both.html b/assets/plugins/datatables/extensions/AutoFill/examples/fill-both.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/AutoFill/examples/fill-horizontal.html b/assets/plugins/datatables/extensions/AutoFill/examples/fill-horizontal.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/AutoFill/examples/index.html b/assets/plugins/datatables/extensions/AutoFill/examples/index.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/AutoFill/examples/scrolling.html b/assets/plugins/datatables/extensions/AutoFill/examples/scrolling.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/AutoFill/examples/simple.html b/assets/plugins/datatables/extensions/AutoFill/examples/simple.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/AutoFill/examples/step-callback.html b/assets/plugins/datatables/extensions/AutoFill/examples/step-callback.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/AutoFill/images/filler.png b/assets/plugins/datatables/extensions/AutoFill/images/filler.png old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/AutoFill/js/dataTables.autoFill.js b/assets/plugins/datatables/extensions/AutoFill/js/dataTables.autoFill.js old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/AutoFill/js/dataTables.autoFill.min.js b/assets/plugins/datatables/extensions/AutoFill/js/dataTables.autoFill.min.js old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/ColVis/License.txt b/assets/plugins/datatables/extensions/ColVis/License.txt old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/ColVis/Readme.md b/assets/plugins/datatables/extensions/ColVis/Readme.md old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/ColVis/css/dataTables.colVis.css b/assets/plugins/datatables/extensions/ColVis/css/dataTables.colVis.css old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/ColVis/css/dataTables.colVis.min.css b/assets/plugins/datatables/extensions/ColVis/css/dataTables.colVis.min.css old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/ColVis/css/dataTables.colvis.jqueryui.css b/assets/plugins/datatables/extensions/ColVis/css/dataTables.colvis.jqueryui.css old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/ColVis/examples/button_order.html b/assets/plugins/datatables/extensions/ColVis/examples/button_order.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/ColVis/examples/exclude_columns.html b/assets/plugins/datatables/extensions/ColVis/examples/exclude_columns.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/ColVis/examples/group_columns.html b/assets/plugins/datatables/extensions/ColVis/examples/group_columns.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/ColVis/examples/index.html b/assets/plugins/datatables/extensions/ColVis/examples/index.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/ColVis/examples/jqueryui.html b/assets/plugins/datatables/extensions/ColVis/examples/jqueryui.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/ColVis/examples/mouseover.html b/assets/plugins/datatables/extensions/ColVis/examples/mouseover.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/ColVis/examples/new_init.html b/assets/plugins/datatables/extensions/ColVis/examples/new_init.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/ColVis/examples/restore.html b/assets/plugins/datatables/extensions/ColVis/examples/restore.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/ColVis/examples/simple.html b/assets/plugins/datatables/extensions/ColVis/examples/simple.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/ColVis/examples/text.html b/assets/plugins/datatables/extensions/ColVis/examples/text.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/ColVis/examples/title_callback.html b/assets/plugins/datatables/extensions/ColVis/examples/title_callback.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/ColVis/examples/two_tables.html b/assets/plugins/datatables/extensions/ColVis/examples/two_tables.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/ColVis/examples/two_tables_identical.html b/assets/plugins/datatables/extensions/ColVis/examples/two_tables_identical.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/ColVis/js/dataTables.colVis.js b/assets/plugins/datatables/extensions/ColVis/js/dataTables.colVis.js old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/ColVis/js/dataTables.colVis.min.js b/assets/plugins/datatables/extensions/ColVis/js/dataTables.colVis.min.js old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/FixedColumns/License.txt b/assets/plugins/datatables/extensions/FixedColumns/License.txt old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/FixedColumns/Readme.md b/assets/plugins/datatables/extensions/FixedColumns/Readme.md old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/FixedColumns/css/dataTables.fixedColumns.css b/assets/plugins/datatables/extensions/FixedColumns/css/dataTables.fixedColumns.css old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/FixedColumns/css/dataTables.fixedColumns.min.css b/assets/plugins/datatables/extensions/FixedColumns/css/dataTables.fixedColumns.min.css old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/FixedColumns/examples/bootstrap.html b/assets/plugins/datatables/extensions/FixedColumns/examples/bootstrap.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/FixedColumns/examples/col_filter.html b/assets/plugins/datatables/extensions/FixedColumns/examples/col_filter.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/FixedColumns/examples/colvis.html b/assets/plugins/datatables/extensions/FixedColumns/examples/colvis.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/FixedColumns/examples/css_size.html b/assets/plugins/datatables/extensions/FixedColumns/examples/css_size.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/FixedColumns/examples/index.html b/assets/plugins/datatables/extensions/FixedColumns/examples/index.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/FixedColumns/examples/index_column.html b/assets/plugins/datatables/extensions/FixedColumns/examples/index_column.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/FixedColumns/examples/left_right_columns.html b/assets/plugins/datatables/extensions/FixedColumns/examples/left_right_columns.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/FixedColumns/examples/right_column.html b/assets/plugins/datatables/extensions/FixedColumns/examples/right_column.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/FixedColumns/examples/rowspan.html b/assets/plugins/datatables/extensions/FixedColumns/examples/rowspan.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/FixedColumns/examples/server-side-processing.html b/assets/plugins/datatables/extensions/FixedColumns/examples/server-side-processing.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/FixedColumns/examples/simple.html b/assets/plugins/datatables/extensions/FixedColumns/examples/simple.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/FixedColumns/examples/size_fixed.html b/assets/plugins/datatables/extensions/FixedColumns/examples/size_fixed.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/FixedColumns/examples/size_fluid.html b/assets/plugins/datatables/extensions/FixedColumns/examples/size_fluid.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/FixedColumns/examples/two_columns.html b/assets/plugins/datatables/extensions/FixedColumns/examples/two_columns.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/FixedColumns/js/dataTables.fixedColumns.js b/assets/plugins/datatables/extensions/FixedColumns/js/dataTables.fixedColumns.js old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/FixedColumns/js/dataTables.fixedColumns.min.js b/assets/plugins/datatables/extensions/FixedColumns/js/dataTables.fixedColumns.min.js old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/FixedHeader/Readme.txt b/assets/plugins/datatables/extensions/FixedHeader/Readme.txt old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/FixedHeader/css/dataTables.fixedHeader.css b/assets/plugins/datatables/extensions/FixedHeader/css/dataTables.fixedHeader.css old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/FixedHeader/css/dataTables.fixedHeader.min.css b/assets/plugins/datatables/extensions/FixedHeader/css/dataTables.fixedHeader.min.css old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/FixedHeader/examples/header_footer.html b/assets/plugins/datatables/extensions/FixedHeader/examples/header_footer.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/FixedHeader/examples/index.html b/assets/plugins/datatables/extensions/FixedHeader/examples/index.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/FixedHeader/examples/simple.html b/assets/plugins/datatables/extensions/FixedHeader/examples/simple.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/FixedHeader/examples/top_left_right.html b/assets/plugins/datatables/extensions/FixedHeader/examples/top_left_right.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/FixedHeader/examples/two_tables.html b/assets/plugins/datatables/extensions/FixedHeader/examples/two_tables.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/FixedHeader/examples/zIndexes.html b/assets/plugins/datatables/extensions/FixedHeader/examples/zIndexes.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/FixedHeader/js/dataTables.fixedHeader.js b/assets/plugins/datatables/extensions/FixedHeader/js/dataTables.fixedHeader.js old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/FixedHeader/js/dataTables.fixedHeader.min.js b/assets/plugins/datatables/extensions/FixedHeader/js/dataTables.fixedHeader.min.js old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/KeyTable/Readme.txt b/assets/plugins/datatables/extensions/KeyTable/Readme.txt old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/KeyTable/css/dataTables.keyTable.css b/assets/plugins/datatables/extensions/KeyTable/css/dataTables.keyTable.css old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/KeyTable/css/dataTables.keyTable.min.css b/assets/plugins/datatables/extensions/KeyTable/css/dataTables.keyTable.min.css old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/KeyTable/examples/events.html b/assets/plugins/datatables/extensions/KeyTable/examples/events.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/KeyTable/examples/html.html b/assets/plugins/datatables/extensions/KeyTable/examples/html.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/KeyTable/examples/index.html b/assets/plugins/datatables/extensions/KeyTable/examples/index.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/KeyTable/examples/scrolling.html b/assets/plugins/datatables/extensions/KeyTable/examples/scrolling.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/KeyTable/examples/simple.html b/assets/plugins/datatables/extensions/KeyTable/examples/simple.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/KeyTable/js/dataTables.keyTable.js b/assets/plugins/datatables/extensions/KeyTable/js/dataTables.keyTable.js old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/KeyTable/js/dataTables.keyTable.min.js b/assets/plugins/datatables/extensions/KeyTable/js/dataTables.keyTable.min.js old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/Responsive/License.txt b/assets/plugins/datatables/extensions/Responsive/License.txt old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/Responsive/Readme.md b/assets/plugins/datatables/extensions/Responsive/Readme.md old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/Responsive/css/dataTables.responsive.css b/assets/plugins/datatables/extensions/Responsive/css/dataTables.responsive.css old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/Responsive/css/dataTables.responsive.scss b/assets/plugins/datatables/extensions/Responsive/css/dataTables.responsive.scss old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/Responsive/examples/child-rows/column-control.html b/assets/plugins/datatables/extensions/Responsive/examples/child-rows/column-control.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/Responsive/examples/child-rows/custom-renderer.html b/assets/plugins/datatables/extensions/Responsive/examples/child-rows/custom-renderer.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/Responsive/examples/child-rows/disable-child-rows.html b/assets/plugins/datatables/extensions/Responsive/examples/child-rows/disable-child-rows.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/Responsive/examples/child-rows/index.html b/assets/plugins/datatables/extensions/Responsive/examples/child-rows/index.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/Responsive/examples/child-rows/right-column.html b/assets/plugins/datatables/extensions/Responsive/examples/child-rows/right-column.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/Responsive/examples/child-rows/whole-row-control.html b/assets/plugins/datatables/extensions/Responsive/examples/child-rows/whole-row-control.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/Responsive/examples/display-control/auto.html b/assets/plugins/datatables/extensions/Responsive/examples/display-control/auto.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/Responsive/examples/display-control/classes.html b/assets/plugins/datatables/extensions/Responsive/examples/display-control/classes.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/Responsive/examples/display-control/complexHeader.html b/assets/plugins/datatables/extensions/Responsive/examples/display-control/complexHeader.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/Responsive/examples/display-control/fixedHeader.html b/assets/plugins/datatables/extensions/Responsive/examples/display-control/fixedHeader.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/Responsive/examples/display-control/index.html b/assets/plugins/datatables/extensions/Responsive/examples/display-control/index.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/Responsive/examples/display-control/init-classes.html b/assets/plugins/datatables/extensions/Responsive/examples/display-control/init-classes.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/Responsive/examples/index.html b/assets/plugins/datatables/extensions/Responsive/examples/index.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/Responsive/examples/initialisation/ajax.html b/assets/plugins/datatables/extensions/Responsive/examples/initialisation/ajax.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/Responsive/examples/initialisation/className.html b/assets/plugins/datatables/extensions/Responsive/examples/initialisation/className.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/Responsive/examples/initialisation/default.html b/assets/plugins/datatables/extensions/Responsive/examples/initialisation/default.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/Responsive/examples/initialisation/index.html b/assets/plugins/datatables/extensions/Responsive/examples/initialisation/index.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/Responsive/examples/initialisation/new.html b/assets/plugins/datatables/extensions/Responsive/examples/initialisation/new.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/Responsive/examples/initialisation/option.html b/assets/plugins/datatables/extensions/Responsive/examples/initialisation/option.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/Responsive/examples/styling/bootstrap.html b/assets/plugins/datatables/extensions/Responsive/examples/styling/bootstrap.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/Responsive/examples/styling/compact.html b/assets/plugins/datatables/extensions/Responsive/examples/styling/compact.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/Responsive/examples/styling/foundation.html b/assets/plugins/datatables/extensions/Responsive/examples/styling/foundation.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/Responsive/examples/styling/index.html b/assets/plugins/datatables/extensions/Responsive/examples/styling/index.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/Responsive/examples/styling/scrolling.html b/assets/plugins/datatables/extensions/Responsive/examples/styling/scrolling.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/Responsive/js/dataTables.responsive.js b/assets/plugins/datatables/extensions/Responsive/js/dataTables.responsive.js old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/Responsive/js/dataTables.responsive.min.js b/assets/plugins/datatables/extensions/Responsive/js/dataTables.responsive.min.js old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/Scroller/Readme.txt b/assets/plugins/datatables/extensions/Scroller/Readme.txt old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/Scroller/css/dataTables.scroller.css b/assets/plugins/datatables/extensions/Scroller/css/dataTables.scroller.css old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/Scroller/css/dataTables.scroller.min.css b/assets/plugins/datatables/extensions/Scroller/css/dataTables.scroller.min.css old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/Scroller/examples/api_scrolling.html b/assets/plugins/datatables/extensions/Scroller/examples/api_scrolling.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/Scroller/examples/data/2500.txt b/assets/plugins/datatables/extensions/Scroller/examples/data/2500.txt old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/Scroller/examples/data/ssp.php b/assets/plugins/datatables/extensions/Scroller/examples/data/ssp.php old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/Scroller/examples/index.html b/assets/plugins/datatables/extensions/Scroller/examples/index.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/Scroller/examples/large_js_source.html b/assets/plugins/datatables/extensions/Scroller/examples/large_js_source.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/Scroller/examples/server-side_processing.html b/assets/plugins/datatables/extensions/Scroller/examples/server-side_processing.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/Scroller/examples/simple.html b/assets/plugins/datatables/extensions/Scroller/examples/simple.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/Scroller/examples/state_saving.html b/assets/plugins/datatables/extensions/Scroller/examples/state_saving.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/Scroller/images/loading-background.png b/assets/plugins/datatables/extensions/Scroller/images/loading-background.png old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/Scroller/js/dataTables.scroller.js b/assets/plugins/datatables/extensions/Scroller/js/dataTables.scroller.js old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/Scroller/js/dataTables.scroller.min.js b/assets/plugins/datatables/extensions/Scroller/js/dataTables.scroller.min.js old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/TableTools/Readme.md b/assets/plugins/datatables/extensions/TableTools/Readme.md old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/TableTools/css/dataTables.tableTools.css b/assets/plugins/datatables/extensions/TableTools/css/dataTables.tableTools.css old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/TableTools/css/dataTables.tableTools.min.css b/assets/plugins/datatables/extensions/TableTools/css/dataTables.tableTools.min.css old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/TableTools/examples/ajax.html b/assets/plugins/datatables/extensions/TableTools/examples/ajax.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/TableTools/examples/alter_buttons.html b/assets/plugins/datatables/extensions/TableTools/examples/alter_buttons.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/TableTools/examples/bootstrap.html b/assets/plugins/datatables/extensions/TableTools/examples/bootstrap.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/TableTools/examples/button_text.html b/assets/plugins/datatables/extensions/TableTools/examples/button_text.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/TableTools/examples/collection.html b/assets/plugins/datatables/extensions/TableTools/examples/collection.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/TableTools/examples/defaults.html b/assets/plugins/datatables/extensions/TableTools/examples/defaults.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/TableTools/examples/index.html b/assets/plugins/datatables/extensions/TableTools/examples/index.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/TableTools/examples/jqueryui.html b/assets/plugins/datatables/extensions/TableTools/examples/jqueryui.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/TableTools/examples/multi_instance.html b/assets/plugins/datatables/extensions/TableTools/examples/multi_instance.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/TableTools/examples/multiple_tables.html b/assets/plugins/datatables/extensions/TableTools/examples/multiple_tables.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/TableTools/examples/new_init.html b/assets/plugins/datatables/extensions/TableTools/examples/new_init.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/TableTools/examples/pdf_message.html b/assets/plugins/datatables/extensions/TableTools/examples/pdf_message.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/TableTools/examples/plug-in.html b/assets/plugins/datatables/extensions/TableTools/examples/plug-in.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/TableTools/examples/select_column.html b/assets/plugins/datatables/extensions/TableTools/examples/select_column.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/TableTools/examples/select_multi.html b/assets/plugins/datatables/extensions/TableTools/examples/select_multi.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/TableTools/examples/select_os.html b/assets/plugins/datatables/extensions/TableTools/examples/select_os.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/TableTools/examples/select_single.html b/assets/plugins/datatables/extensions/TableTools/examples/select_single.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/TableTools/examples/simple.html b/assets/plugins/datatables/extensions/TableTools/examples/simple.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/TableTools/examples/swf_path.html b/assets/plugins/datatables/extensions/TableTools/examples/swf_path.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/TableTools/images/collection.png b/assets/plugins/datatables/extensions/TableTools/images/collection.png old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/TableTools/images/collection_hover.png b/assets/plugins/datatables/extensions/TableTools/images/collection_hover.png old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/TableTools/images/copy.png b/assets/plugins/datatables/extensions/TableTools/images/copy.png old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/TableTools/images/copy_hover.png b/assets/plugins/datatables/extensions/TableTools/images/copy_hover.png old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/TableTools/images/csv.png b/assets/plugins/datatables/extensions/TableTools/images/csv.png old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/TableTools/images/csv_hover.png b/assets/plugins/datatables/extensions/TableTools/images/csv_hover.png old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/TableTools/images/pdf.png b/assets/plugins/datatables/extensions/TableTools/images/pdf.png old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/TableTools/images/pdf_hover.png b/assets/plugins/datatables/extensions/TableTools/images/pdf_hover.png old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/TableTools/images/print.png b/assets/plugins/datatables/extensions/TableTools/images/print.png old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/TableTools/images/print_hover.png b/assets/plugins/datatables/extensions/TableTools/images/print_hover.png old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/TableTools/images/psd/collection.psd b/assets/plugins/datatables/extensions/TableTools/images/psd/collection.psd old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/TableTools/images/psd/copy document.psd b/assets/plugins/datatables/extensions/TableTools/images/psd/copy document.psd old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/TableTools/images/psd/file_types.psd b/assets/plugins/datatables/extensions/TableTools/images/psd/file_types.psd old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/TableTools/images/psd/printer.psd b/assets/plugins/datatables/extensions/TableTools/images/psd/printer.psd old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/TableTools/images/xls.png b/assets/plugins/datatables/extensions/TableTools/images/xls.png old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/TableTools/images/xls_hover.png b/assets/plugins/datatables/extensions/TableTools/images/xls_hover.png old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/TableTools/js/dataTables.tableTools.js b/assets/plugins/datatables/extensions/TableTools/js/dataTables.tableTools.js old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/TableTools/js/dataTables.tableTools.min.js b/assets/plugins/datatables/extensions/TableTools/js/dataTables.tableTools.min.js old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/TableTools/swf/copy_csv_xls.swf b/assets/plugins/datatables/extensions/TableTools/swf/copy_csv_xls.swf old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/TableTools/swf/copy_csv_xls_pdf.swf b/assets/plugins/datatables/extensions/TableTools/swf/copy_csv_xls_pdf.swf old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/colreorder/License.txt b/assets/plugins/datatables/extensions/colreorder/License.txt old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/colreorder/Readme.md b/assets/plugins/datatables/extensions/colreorder/Readme.md old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/colreorder/css/dataTables.colReorder.css b/assets/plugins/datatables/extensions/colreorder/css/dataTables.colReorder.css old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/colreorder/css/dataTables.colReorder.min.css b/assets/plugins/datatables/extensions/colreorder/css/dataTables.colReorder.min.css old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/colreorder/examples/alt_insert.html b/assets/plugins/datatables/extensions/colreorder/examples/alt_insert.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/colreorder/examples/col_filter.html b/assets/plugins/datatables/extensions/colreorder/examples/col_filter.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/colreorder/examples/colvis.html b/assets/plugins/datatables/extensions/colreorder/examples/colvis.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/colreorder/examples/fixedcolumns.html b/assets/plugins/datatables/extensions/colreorder/examples/fixedcolumns.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/colreorder/examples/fixedheader.html b/assets/plugins/datatables/extensions/colreorder/examples/fixedheader.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/colreorder/examples/index.html b/assets/plugins/datatables/extensions/colreorder/examples/index.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/colreorder/examples/jqueryui.html b/assets/plugins/datatables/extensions/colreorder/examples/jqueryui.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/colreorder/examples/new_init.html b/assets/plugins/datatables/extensions/colreorder/examples/new_init.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/colreorder/examples/predefined.html b/assets/plugins/datatables/extensions/colreorder/examples/predefined.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/colreorder/examples/realtime.html b/assets/plugins/datatables/extensions/colreorder/examples/realtime.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/colreorder/examples/reset.html b/assets/plugins/datatables/extensions/colreorder/examples/reset.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/colreorder/examples/scrolling.html b/assets/plugins/datatables/extensions/colreorder/examples/scrolling.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/colreorder/examples/server_side.html b/assets/plugins/datatables/extensions/colreorder/examples/server_side.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/colreorder/examples/simple.html b/assets/plugins/datatables/extensions/colreorder/examples/simple.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/colreorder/examples/state_save.html b/assets/plugins/datatables/extensions/colreorder/examples/state_save.html old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/colreorder/images/insert.png b/assets/plugins/datatables/extensions/colreorder/images/insert.png old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/colreorder/js/dataTables.colReorder.js b/assets/plugins/datatables/extensions/colreorder/js/dataTables.colReorder.js old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/extensions/colreorder/js/dataTables.colReorder.min.js b/assets/plugins/datatables/extensions/colreorder/js/dataTables.colReorder.min.js old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/images/sort_asc.png b/assets/plugins/datatables/images/sort_asc.png old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/images/sort_asc_disabled.png b/assets/plugins/datatables/images/sort_asc_disabled.png old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/images/sort_both.png b/assets/plugins/datatables/images/sort_both.png old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/images/sort_desc.png b/assets/plugins/datatables/images/sort_desc.png old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/images/sort_desc_disabled.png b/assets/plugins/datatables/images/sort_desc_disabled.png old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/jquery.dataTables.css b/assets/plugins/datatables/jquery.dataTables.css old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/jquery.dataTables.js b/assets/plugins/datatables/jquery.dataTables.js old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/jquery.dataTables.min.css b/assets/plugins/datatables/jquery.dataTables.min.css old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/jquery.dataTables.min.js b/assets/plugins/datatables/jquery.dataTables.min.js old mode 100644 new mode 100755 diff --git a/assets/plugins/datatables/jquery.dataTables_themeroller.css b/assets/plugins/datatables/jquery.dataTables_themeroller.css old mode 100644 new mode 100755 diff --git a/assets/plugins/datepicker/bootstrap-datepicker.js b/assets/plugins/datepicker/bootstrap-datepicker.js old mode 100644 new mode 100755 diff --git a/assets/plugins/datepicker/datepicker3.css b/assets/plugins/datepicker/datepicker3.css old mode 100644 new mode 100755 diff --git a/assets/plugins/datepicker/locales/bootstrap-datepicker.ar.js b/assets/plugins/datepicker/locales/bootstrap-datepicker.ar.js old mode 100644 new mode 100755 diff --git a/assets/plugins/datepicker/locales/bootstrap-datepicker.az.js b/assets/plugins/datepicker/locales/bootstrap-datepicker.az.js old mode 100644 new mode 100755 diff --git a/assets/plugins/datepicker/locales/bootstrap-datepicker.bg.js b/assets/plugins/datepicker/locales/bootstrap-datepicker.bg.js old mode 100644 new mode 100755 diff --git a/assets/plugins/datepicker/locales/bootstrap-datepicker.ca.js b/assets/plugins/datepicker/locales/bootstrap-datepicker.ca.js old mode 100644 new mode 100755 diff --git a/assets/plugins/datepicker/locales/bootstrap-datepicker.cs.js b/assets/plugins/datepicker/locales/bootstrap-datepicker.cs.js old mode 100644 new mode 100755 diff --git a/assets/plugins/datepicker/locales/bootstrap-datepicker.cy.js b/assets/plugins/datepicker/locales/bootstrap-datepicker.cy.js old mode 100644 new mode 100755 diff --git a/assets/plugins/datepicker/locales/bootstrap-datepicker.da.js b/assets/plugins/datepicker/locales/bootstrap-datepicker.da.js old mode 100644 new mode 100755 diff --git a/assets/plugins/datepicker/locales/bootstrap-datepicker.de.js b/assets/plugins/datepicker/locales/bootstrap-datepicker.de.js old mode 100644 new mode 100755 diff --git a/assets/plugins/datepicker/locales/bootstrap-datepicker.el.js b/assets/plugins/datepicker/locales/bootstrap-datepicker.el.js old mode 100644 new mode 100755 diff --git a/assets/plugins/datepicker/locales/bootstrap-datepicker.es.js b/assets/plugins/datepicker/locales/bootstrap-datepicker.es.js old mode 100644 new mode 100755 diff --git a/assets/plugins/datepicker/locales/bootstrap-datepicker.et.js b/assets/plugins/datepicker/locales/bootstrap-datepicker.et.js old mode 100644 new mode 100755 diff --git a/assets/plugins/datepicker/locales/bootstrap-datepicker.fa.js b/assets/plugins/datepicker/locales/bootstrap-datepicker.fa.js old mode 100644 new mode 100755 diff --git a/assets/plugins/datepicker/locales/bootstrap-datepicker.fi.js b/assets/plugins/datepicker/locales/bootstrap-datepicker.fi.js old mode 100644 new mode 100755 diff --git a/assets/plugins/datepicker/locales/bootstrap-datepicker.fr.js b/assets/plugins/datepicker/locales/bootstrap-datepicker.fr.js old mode 100644 new mode 100755 diff --git a/assets/plugins/datepicker/locales/bootstrap-datepicker.gl.js b/assets/plugins/datepicker/locales/bootstrap-datepicker.gl.js old mode 100644 new mode 100755 diff --git a/assets/plugins/datepicker/locales/bootstrap-datepicker.he.js b/assets/plugins/datepicker/locales/bootstrap-datepicker.he.js old mode 100644 new mode 100755 diff --git a/assets/plugins/datepicker/locales/bootstrap-datepicker.hr.js b/assets/plugins/datepicker/locales/bootstrap-datepicker.hr.js old mode 100644 new mode 100755 diff --git a/assets/plugins/datepicker/locales/bootstrap-datepicker.hu.js b/assets/plugins/datepicker/locales/bootstrap-datepicker.hu.js old mode 100644 new mode 100755 diff --git a/assets/plugins/datepicker/locales/bootstrap-datepicker.id.js b/assets/plugins/datepicker/locales/bootstrap-datepicker.id.js old mode 100644 new mode 100755 diff --git a/assets/plugins/datepicker/locales/bootstrap-datepicker.is.js b/assets/plugins/datepicker/locales/bootstrap-datepicker.is.js old mode 100644 new mode 100755 diff --git a/assets/plugins/datepicker/locales/bootstrap-datepicker.it.js b/assets/plugins/datepicker/locales/bootstrap-datepicker.it.js old mode 100644 new mode 100755 diff --git a/assets/plugins/datepicker/locales/bootstrap-datepicker.ja.js b/assets/plugins/datepicker/locales/bootstrap-datepicker.ja.js old mode 100644 new mode 100755 diff --git a/assets/plugins/datepicker/locales/bootstrap-datepicker.ka.js b/assets/plugins/datepicker/locales/bootstrap-datepicker.ka.js old mode 100644 new mode 100755 diff --git a/assets/plugins/datepicker/locales/bootstrap-datepicker.kk.js b/assets/plugins/datepicker/locales/bootstrap-datepicker.kk.js old mode 100644 new mode 100755 diff --git a/assets/plugins/datepicker/locales/bootstrap-datepicker.kr.js b/assets/plugins/datepicker/locales/bootstrap-datepicker.kr.js old mode 100644 new mode 100755 diff --git a/assets/plugins/datepicker/locales/bootstrap-datepicker.lt.js b/assets/plugins/datepicker/locales/bootstrap-datepicker.lt.js old mode 100644 new mode 100755 diff --git a/assets/plugins/datepicker/locales/bootstrap-datepicker.lv.js b/assets/plugins/datepicker/locales/bootstrap-datepicker.lv.js old mode 100644 new mode 100755 diff --git a/assets/plugins/datepicker/locales/bootstrap-datepicker.mk.js b/assets/plugins/datepicker/locales/bootstrap-datepicker.mk.js old mode 100644 new mode 100755 diff --git a/assets/plugins/datepicker/locales/bootstrap-datepicker.ms.js b/assets/plugins/datepicker/locales/bootstrap-datepicker.ms.js old mode 100644 new mode 100755 diff --git a/assets/plugins/datepicker/locales/bootstrap-datepicker.nb.js b/assets/plugins/datepicker/locales/bootstrap-datepicker.nb.js old mode 100644 new mode 100755 diff --git a/assets/plugins/datepicker/locales/bootstrap-datepicker.nl-BE.js b/assets/plugins/datepicker/locales/bootstrap-datepicker.nl-BE.js old mode 100644 new mode 100755 diff --git a/assets/plugins/datepicker/locales/bootstrap-datepicker.nl.js b/assets/plugins/datepicker/locales/bootstrap-datepicker.nl.js old mode 100644 new mode 100755 diff --git a/assets/plugins/datepicker/locales/bootstrap-datepicker.no.js b/assets/plugins/datepicker/locales/bootstrap-datepicker.no.js old mode 100644 new mode 100755 diff --git a/assets/plugins/datepicker/locales/bootstrap-datepicker.pl.js b/assets/plugins/datepicker/locales/bootstrap-datepicker.pl.js old mode 100644 new mode 100755 diff --git a/assets/plugins/datepicker/locales/bootstrap-datepicker.pt-BR.js b/assets/plugins/datepicker/locales/bootstrap-datepicker.pt-BR.js old mode 100644 new mode 100755 diff --git a/assets/plugins/datepicker/locales/bootstrap-datepicker.pt.js b/assets/plugins/datepicker/locales/bootstrap-datepicker.pt.js old mode 100644 new mode 100755 diff --git a/assets/plugins/datepicker/locales/bootstrap-datepicker.ro.js b/assets/plugins/datepicker/locales/bootstrap-datepicker.ro.js old mode 100644 new mode 100755 diff --git a/assets/plugins/datepicker/locales/bootstrap-datepicker.rs-latin.js b/assets/plugins/datepicker/locales/bootstrap-datepicker.rs-latin.js old mode 100644 new mode 100755 diff --git a/assets/plugins/datepicker/locales/bootstrap-datepicker.rs.js b/assets/plugins/datepicker/locales/bootstrap-datepicker.rs.js old mode 100644 new mode 100755 diff --git a/assets/plugins/datepicker/locales/bootstrap-datepicker.ru.js b/assets/plugins/datepicker/locales/bootstrap-datepicker.ru.js old mode 100644 new mode 100755 diff --git a/assets/plugins/datepicker/locales/bootstrap-datepicker.sk.js b/assets/plugins/datepicker/locales/bootstrap-datepicker.sk.js old mode 100644 new mode 100755 diff --git a/assets/plugins/datepicker/locales/bootstrap-datepicker.sl.js b/assets/plugins/datepicker/locales/bootstrap-datepicker.sl.js old mode 100644 new mode 100755 diff --git a/assets/plugins/datepicker/locales/bootstrap-datepicker.sq.js b/assets/plugins/datepicker/locales/bootstrap-datepicker.sq.js old mode 100644 new mode 100755 diff --git a/assets/plugins/datepicker/locales/bootstrap-datepicker.sv.js b/assets/plugins/datepicker/locales/bootstrap-datepicker.sv.js old mode 100644 new mode 100755 diff --git a/assets/plugins/datepicker/locales/bootstrap-datepicker.sw.js b/assets/plugins/datepicker/locales/bootstrap-datepicker.sw.js old mode 100644 new mode 100755 diff --git a/assets/plugins/datepicker/locales/bootstrap-datepicker.th.js b/assets/plugins/datepicker/locales/bootstrap-datepicker.th.js old mode 100644 new mode 100755 diff --git a/assets/plugins/datepicker/locales/bootstrap-datepicker.tr.js b/assets/plugins/datepicker/locales/bootstrap-datepicker.tr.js old mode 100644 new mode 100755 diff --git a/assets/plugins/datepicker/locales/bootstrap-datepicker.ua.js b/assets/plugins/datepicker/locales/bootstrap-datepicker.ua.js old mode 100644 new mode 100755 diff --git a/assets/plugins/datepicker/locales/bootstrap-datepicker.vi.js b/assets/plugins/datepicker/locales/bootstrap-datepicker.vi.js old mode 100644 new mode 100755 diff --git a/assets/plugins/datepicker/locales/bootstrap-datepicker.zh-CN.js b/assets/plugins/datepicker/locales/bootstrap-datepicker.zh-CN.js old mode 100644 new mode 100755 diff --git a/assets/plugins/datepicker/locales/bootstrap-datepicker.zh-TW.js b/assets/plugins/datepicker/locales/bootstrap-datepicker.zh-TW.js old mode 100644 new mode 100755 diff --git a/assets/plugins/daterangepicker/daterangepicker-bs3.css b/assets/plugins/daterangepicker/daterangepicker-bs3.css old mode 100644 new mode 100755 diff --git a/assets/plugins/daterangepicker/daterangepicker.css b/assets/plugins/daterangepicker/daterangepicker.css old mode 100644 new mode 100755 diff --git a/assets/plugins/daterangepicker/daterangepicker.js b/assets/plugins/daterangepicker/daterangepicker.js old mode 100644 new mode 100755 diff --git a/assets/plugins/daterangepicker/moment.js b/assets/plugins/daterangepicker/moment.js old mode 100644 new mode 100755 diff --git a/assets/plugins/daterangepicker/moment.min.js b/assets/plugins/daterangepicker/moment.min.js old mode 100644 new mode 100755 diff --git a/assets/plugins/fastclick/fastclick.js b/assets/plugins/fastclick/fastclick.js old mode 100644 new mode 100755 diff --git a/assets/plugins/fastclick/fastclick.min.js b/assets/plugins/fastclick/fastclick.min.js old mode 100644 new mode 100755 diff --git a/assets/plugins/flot/excanvas.js b/assets/plugins/flot/excanvas.js old mode 100644 new mode 100755 diff --git a/assets/plugins/flot/excanvas.min.js b/assets/plugins/flot/excanvas.min.js old mode 100644 new mode 100755 diff --git a/assets/plugins/flot/jquery.colorhelpers.js b/assets/plugins/flot/jquery.colorhelpers.js old mode 100644 new mode 100755 diff --git a/assets/plugins/flot/jquery.colorhelpers.min.js b/assets/plugins/flot/jquery.colorhelpers.min.js old mode 100644 new mode 100755 diff --git a/assets/plugins/flot/jquery.flot.canvas.js b/assets/plugins/flot/jquery.flot.canvas.js old mode 100644 new mode 100755 diff --git a/assets/plugins/flot/jquery.flot.canvas.min.js b/assets/plugins/flot/jquery.flot.canvas.min.js old mode 100644 new mode 100755 diff --git a/assets/plugins/flot/jquery.flot.categories.js b/assets/plugins/flot/jquery.flot.categories.js old mode 100644 new mode 100755 diff --git a/assets/plugins/flot/jquery.flot.categories.min.js b/assets/plugins/flot/jquery.flot.categories.min.js old mode 100644 new mode 100755 diff --git a/assets/plugins/flot/jquery.flot.crosshair.js b/assets/plugins/flot/jquery.flot.crosshair.js old mode 100644 new mode 100755 diff --git a/assets/plugins/flot/jquery.flot.crosshair.min.js b/assets/plugins/flot/jquery.flot.crosshair.min.js old mode 100644 new mode 100755 diff --git a/assets/plugins/flot/jquery.flot.errorbars.js b/assets/plugins/flot/jquery.flot.errorbars.js old mode 100644 new mode 100755 diff --git a/assets/plugins/flot/jquery.flot.errorbars.min.js b/assets/plugins/flot/jquery.flot.errorbars.min.js old mode 100644 new mode 100755 diff --git a/assets/plugins/flot/jquery.flot.fillbetween.js b/assets/plugins/flot/jquery.flot.fillbetween.js old mode 100644 new mode 100755 diff --git a/assets/plugins/flot/jquery.flot.fillbetween.min.js b/assets/plugins/flot/jquery.flot.fillbetween.min.js old mode 100644 new mode 100755 diff --git a/assets/plugins/flot/jquery.flot.image.js b/assets/plugins/flot/jquery.flot.image.js old mode 100644 new mode 100755 diff --git a/assets/plugins/flot/jquery.flot.image.min.js b/assets/plugins/flot/jquery.flot.image.min.js old mode 100644 new mode 100755 diff --git a/assets/plugins/flot/jquery.flot.js b/assets/plugins/flot/jquery.flot.js old mode 100644 new mode 100755 diff --git a/assets/plugins/flot/jquery.flot.min.js b/assets/plugins/flot/jquery.flot.min.js old mode 100644 new mode 100755 diff --git a/assets/plugins/flot/jquery.flot.navigate.js b/assets/plugins/flot/jquery.flot.navigate.js old mode 100644 new mode 100755 diff --git a/assets/plugins/flot/jquery.flot.navigate.min.js b/assets/plugins/flot/jquery.flot.navigate.min.js old mode 100644 new mode 100755 diff --git a/assets/plugins/flot/jquery.flot.pie.js b/assets/plugins/flot/jquery.flot.pie.js old mode 100644 new mode 100755 diff --git a/assets/plugins/flot/jquery.flot.pie.min.js b/assets/plugins/flot/jquery.flot.pie.min.js old mode 100644 new mode 100755 diff --git a/assets/plugins/flot/jquery.flot.resize.js b/assets/plugins/flot/jquery.flot.resize.js old mode 100644 new mode 100755 diff --git a/assets/plugins/flot/jquery.flot.resize.min.js b/assets/plugins/flot/jquery.flot.resize.min.js old mode 100644 new mode 100755 diff --git a/assets/plugins/flot/jquery.flot.selection.js b/assets/plugins/flot/jquery.flot.selection.js old mode 100644 new mode 100755 diff --git a/assets/plugins/flot/jquery.flot.selection.min.js b/assets/plugins/flot/jquery.flot.selection.min.js old mode 100644 new mode 100755 diff --git a/assets/plugins/flot/jquery.flot.stack.js b/assets/plugins/flot/jquery.flot.stack.js old mode 100644 new mode 100755 diff --git a/assets/plugins/flot/jquery.flot.stack.min.js b/assets/plugins/flot/jquery.flot.stack.min.js old mode 100644 new mode 100755 diff --git a/assets/plugins/flot/jquery.flot.symbol.js b/assets/plugins/flot/jquery.flot.symbol.js old mode 100644 new mode 100755 diff --git a/assets/plugins/flot/jquery.flot.symbol.min.js b/assets/plugins/flot/jquery.flot.symbol.min.js old mode 100644 new mode 100755 diff --git a/assets/plugins/flot/jquery.flot.threshold.js b/assets/plugins/flot/jquery.flot.threshold.js old mode 100644 new mode 100755 diff --git a/assets/plugins/flot/jquery.flot.threshold.min.js b/assets/plugins/flot/jquery.flot.threshold.min.js old mode 100644 new mode 100755 diff --git a/assets/plugins/flot/jquery.flot.time.js b/assets/plugins/flot/jquery.flot.time.js old mode 100644 new mode 100755 diff --git a/assets/plugins/flot/jquery.flot.time.min.js b/assets/plugins/flot/jquery.flot.time.min.js old mode 100644 new mode 100755 diff --git a/assets/plugins/fullcalendar/fullcalendar.css b/assets/plugins/fullcalendar/fullcalendar.css old mode 100644 new mode 100755 diff --git a/assets/plugins/fullcalendar/fullcalendar.js b/assets/plugins/fullcalendar/fullcalendar.js old mode 100644 new mode 100755 diff --git a/assets/plugins/fullcalendar/fullcalendar.min.css b/assets/plugins/fullcalendar/fullcalendar.min.css old mode 100644 new mode 100755 diff --git a/assets/plugins/fullcalendar/fullcalendar.min.js b/assets/plugins/fullcalendar/fullcalendar.min.js old mode 100644 new mode 100755 diff --git a/assets/plugins/fullcalendar/fullcalendar.print.css b/assets/plugins/fullcalendar/fullcalendar.print.css old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/all.css b/assets/plugins/iCheck/all.css old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/flat/_all.css b/assets/plugins/iCheck/flat/_all.css old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/flat/aero.css b/assets/plugins/iCheck/flat/aero.css old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/flat/aero.png b/assets/plugins/iCheck/flat/aero.png old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/flat/aero@2x.png b/assets/plugins/iCheck/flat/aero@2x.png old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/flat/blue.css b/assets/plugins/iCheck/flat/blue.css old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/flat/blue.png b/assets/plugins/iCheck/flat/blue.png old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/flat/blue@2x.png b/assets/plugins/iCheck/flat/blue@2x.png old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/flat/flat.css b/assets/plugins/iCheck/flat/flat.css old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/flat/flat.png b/assets/plugins/iCheck/flat/flat.png old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/flat/flat@2x.png b/assets/plugins/iCheck/flat/flat@2x.png old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/flat/green.css b/assets/plugins/iCheck/flat/green.css old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/flat/green.png b/assets/plugins/iCheck/flat/green.png old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/flat/green@2x.png b/assets/plugins/iCheck/flat/green@2x.png old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/flat/grey.css b/assets/plugins/iCheck/flat/grey.css old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/flat/grey.png b/assets/plugins/iCheck/flat/grey.png old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/flat/grey@2x.png b/assets/plugins/iCheck/flat/grey@2x.png old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/flat/orange.css b/assets/plugins/iCheck/flat/orange.css old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/flat/orange.png b/assets/plugins/iCheck/flat/orange.png old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/flat/orange@2x.png b/assets/plugins/iCheck/flat/orange@2x.png old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/flat/pink.css b/assets/plugins/iCheck/flat/pink.css old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/flat/pink.png b/assets/plugins/iCheck/flat/pink.png old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/flat/pink@2x.png b/assets/plugins/iCheck/flat/pink@2x.png old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/flat/purple.css b/assets/plugins/iCheck/flat/purple.css old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/flat/purple.png b/assets/plugins/iCheck/flat/purple.png old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/flat/purple@2x.png b/assets/plugins/iCheck/flat/purple@2x.png old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/flat/red.css b/assets/plugins/iCheck/flat/red.css old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/flat/red.png b/assets/plugins/iCheck/flat/red.png old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/flat/red@2x.png b/assets/plugins/iCheck/flat/red@2x.png old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/flat/yellow.css b/assets/plugins/iCheck/flat/yellow.css old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/flat/yellow.png b/assets/plugins/iCheck/flat/yellow.png old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/flat/yellow@2x.png b/assets/plugins/iCheck/flat/yellow@2x.png old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/futurico/futurico.css b/assets/plugins/iCheck/futurico/futurico.css old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/futurico/futurico.png b/assets/plugins/iCheck/futurico/futurico.png old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/futurico/futurico@2x.png b/assets/plugins/iCheck/futurico/futurico@2x.png old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/icheck.js b/assets/plugins/iCheck/icheck.js old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/icheck.min.js b/assets/plugins/iCheck/icheck.min.js old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/line/_all.css b/assets/plugins/iCheck/line/_all.css old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/line/aero.css b/assets/plugins/iCheck/line/aero.css old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/line/blue.css b/assets/plugins/iCheck/line/blue.css old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/line/green.css b/assets/plugins/iCheck/line/green.css old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/line/grey.css b/assets/plugins/iCheck/line/grey.css old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/line/line.css b/assets/plugins/iCheck/line/line.css old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/line/line.png b/assets/plugins/iCheck/line/line.png old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/line/line@2x.png b/assets/plugins/iCheck/line/line@2x.png old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/line/orange.css b/assets/plugins/iCheck/line/orange.css old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/line/pink.css b/assets/plugins/iCheck/line/pink.css old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/line/purple.css b/assets/plugins/iCheck/line/purple.css old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/line/red.css b/assets/plugins/iCheck/line/red.css old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/line/yellow.css b/assets/plugins/iCheck/line/yellow.css old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/minimal/_all.css b/assets/plugins/iCheck/minimal/_all.css old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/minimal/aero.css b/assets/plugins/iCheck/minimal/aero.css old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/minimal/aero.png b/assets/plugins/iCheck/minimal/aero.png old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/minimal/aero@2x.png b/assets/plugins/iCheck/minimal/aero@2x.png old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/minimal/blue.css b/assets/plugins/iCheck/minimal/blue.css old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/minimal/blue.png b/assets/plugins/iCheck/minimal/blue.png old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/minimal/blue@2x.png b/assets/plugins/iCheck/minimal/blue@2x.png old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/minimal/green.css b/assets/plugins/iCheck/minimal/green.css old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/minimal/green.png b/assets/plugins/iCheck/minimal/green.png old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/minimal/green@2x.png b/assets/plugins/iCheck/minimal/green@2x.png old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/minimal/grey.css b/assets/plugins/iCheck/minimal/grey.css old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/minimal/grey.png b/assets/plugins/iCheck/minimal/grey.png old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/minimal/grey@2x.png b/assets/plugins/iCheck/minimal/grey@2x.png old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/minimal/minimal.css b/assets/plugins/iCheck/minimal/minimal.css old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/minimal/minimal.png b/assets/plugins/iCheck/minimal/minimal.png old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/minimal/minimal@2x.png b/assets/plugins/iCheck/minimal/minimal@2x.png old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/minimal/orange.css b/assets/plugins/iCheck/minimal/orange.css old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/minimal/orange.png b/assets/plugins/iCheck/minimal/orange.png old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/minimal/orange@2x.png b/assets/plugins/iCheck/minimal/orange@2x.png old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/minimal/pink.css b/assets/plugins/iCheck/minimal/pink.css old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/minimal/pink.png b/assets/plugins/iCheck/minimal/pink.png old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/minimal/pink@2x.png b/assets/plugins/iCheck/minimal/pink@2x.png old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/minimal/purple.css b/assets/plugins/iCheck/minimal/purple.css old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/minimal/purple.png b/assets/plugins/iCheck/minimal/purple.png old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/minimal/purple@2x.png b/assets/plugins/iCheck/minimal/purple@2x.png old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/minimal/red.css b/assets/plugins/iCheck/minimal/red.css old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/minimal/red.png b/assets/plugins/iCheck/minimal/red.png old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/minimal/red@2x.png b/assets/plugins/iCheck/minimal/red@2x.png old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/minimal/yellow.css b/assets/plugins/iCheck/minimal/yellow.css old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/minimal/yellow.png b/assets/plugins/iCheck/minimal/yellow.png old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/minimal/yellow@2x.png b/assets/plugins/iCheck/minimal/yellow@2x.png old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/polaris/polaris.css b/assets/plugins/iCheck/polaris/polaris.css old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/polaris/polaris.png b/assets/plugins/iCheck/polaris/polaris.png old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/polaris/polaris@2x.png b/assets/plugins/iCheck/polaris/polaris@2x.png old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/square/_all.css b/assets/plugins/iCheck/square/_all.css old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/square/aero.css b/assets/plugins/iCheck/square/aero.css old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/square/aero.png b/assets/plugins/iCheck/square/aero.png old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/square/aero@2x.png b/assets/plugins/iCheck/square/aero@2x.png old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/square/blue.css b/assets/plugins/iCheck/square/blue.css old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/square/blue.png b/assets/plugins/iCheck/square/blue.png old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/square/blue@2x.png b/assets/plugins/iCheck/square/blue@2x.png old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/square/green.css b/assets/plugins/iCheck/square/green.css old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/square/green.png b/assets/plugins/iCheck/square/green.png old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/square/green@2x.png b/assets/plugins/iCheck/square/green@2x.png old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/square/grey.css b/assets/plugins/iCheck/square/grey.css old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/square/grey.png b/assets/plugins/iCheck/square/grey.png old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/square/grey@2x.png b/assets/plugins/iCheck/square/grey@2x.png old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/square/orange.css b/assets/plugins/iCheck/square/orange.css old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/square/orange.png b/assets/plugins/iCheck/square/orange.png old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/square/orange@2x.png b/assets/plugins/iCheck/square/orange@2x.png old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/square/pink.css b/assets/plugins/iCheck/square/pink.css old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/square/pink.png b/assets/plugins/iCheck/square/pink.png old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/square/pink@2x.png b/assets/plugins/iCheck/square/pink@2x.png old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/square/purple.css b/assets/plugins/iCheck/square/purple.css old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/square/purple.png b/assets/plugins/iCheck/square/purple.png old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/square/purple@2x.png b/assets/plugins/iCheck/square/purple@2x.png old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/square/red.css b/assets/plugins/iCheck/square/red.css old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/square/red.png b/assets/plugins/iCheck/square/red.png old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/square/red@2x.png b/assets/plugins/iCheck/square/red@2x.png old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/square/square.css b/assets/plugins/iCheck/square/square.css old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/square/square.png b/assets/plugins/iCheck/square/square.png old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/square/square@2x.png b/assets/plugins/iCheck/square/square@2x.png old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/square/yellow.css b/assets/plugins/iCheck/square/yellow.css old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/square/yellow.png b/assets/plugins/iCheck/square/yellow.png old mode 100644 new mode 100755 diff --git a/assets/plugins/iCheck/square/yellow@2x.png b/assets/plugins/iCheck/square/yellow@2x.png old mode 100644 new mode 100755 diff --git a/assets/plugins/input-mask/jquery.inputmask.date.extensions.js b/assets/plugins/input-mask/jquery.inputmask.date.extensions.js old mode 100644 new mode 100755 diff --git a/assets/plugins/input-mask/jquery.inputmask.extensions.js b/assets/plugins/input-mask/jquery.inputmask.extensions.js old mode 100644 new mode 100755 diff --git a/assets/plugins/input-mask/jquery.inputmask.js b/assets/plugins/input-mask/jquery.inputmask.js old mode 100644 new mode 100755 diff --git a/assets/plugins/input-mask/jquery.inputmask.numeric.extensions.js b/assets/plugins/input-mask/jquery.inputmask.numeric.extensions.js old mode 100644 new mode 100755 diff --git a/assets/plugins/input-mask/jquery.inputmask.phone.extensions.js b/assets/plugins/input-mask/jquery.inputmask.phone.extensions.js old mode 100644 new mode 100755 diff --git a/assets/plugins/input-mask/jquery.inputmask.regex.extensions.js b/assets/plugins/input-mask/jquery.inputmask.regex.extensions.js old mode 100644 new mode 100755 diff --git a/assets/plugins/input-mask/phone-codes/phone-be.json b/assets/plugins/input-mask/phone-codes/phone-be.json old mode 100644 new mode 100755 diff --git a/assets/plugins/input-mask/phone-codes/phone-codes.json b/assets/plugins/input-mask/phone-codes/phone-codes.json old mode 100644 new mode 100755 diff --git a/assets/plugins/input-mask/phone-codes/readme.txt b/assets/plugins/input-mask/phone-codes/readme.txt old mode 100644 new mode 100755 diff --git a/assets/plugins/ionslider/img/sprite-skin-flat.png b/assets/plugins/ionslider/img/sprite-skin-flat.png old mode 100644 new mode 100755 diff --git a/assets/plugins/ionslider/img/sprite-skin-nice.png b/assets/plugins/ionslider/img/sprite-skin-nice.png old mode 100644 new mode 100755 diff --git a/assets/plugins/ionslider/ion.rangeSlider.css b/assets/plugins/ionslider/ion.rangeSlider.css old mode 100644 new mode 100755 diff --git a/assets/plugins/ionslider/ion.rangeSlider.min.js b/assets/plugins/ionslider/ion.rangeSlider.min.js old mode 100644 new mode 100755 diff --git a/assets/plugins/ionslider/ion.rangeSlider.skinFlat.css b/assets/plugins/ionslider/ion.rangeSlider.skinFlat.css old mode 100644 new mode 100755 diff --git a/assets/plugins/ionslider/ion.rangeSlider.skinNice.css b/assets/plugins/ionslider/ion.rangeSlider.skinNice.css old mode 100644 new mode 100755 diff --git a/assets/plugins/jQuery/jQuery-2.1.4.min.js b/assets/plugins/jQuery/jQuery-2.1.4.min.js old mode 100644 new mode 100755 diff --git a/assets/plugins/jQueryUI/jquery-ui-1.10.3.js b/assets/plugins/jQueryUI/jquery-ui-1.10.3.js old mode 100644 new mode 100755 diff --git a/assets/plugins/jQueryUI/jquery-ui-1.10.3.min.js b/assets/plugins/jQueryUI/jquery-ui-1.10.3.min.js old mode 100644 new mode 100755 diff --git a/assets/plugins/jvectormap/jquery-jvectormap-1.2.2.css b/assets/plugins/jvectormap/jquery-jvectormap-1.2.2.css old mode 100644 new mode 100755 diff --git a/assets/plugins/jvectormap/jquery-jvectormap-1.2.2.min.js b/assets/plugins/jvectormap/jquery-jvectormap-1.2.2.min.js old mode 100644 new mode 100755 diff --git a/assets/plugins/jvectormap/jquery-jvectormap-world-mill-en.js b/assets/plugins/jvectormap/jquery-jvectormap-world-mill-en.js old mode 100644 new mode 100755 diff --git a/assets/plugins/knob/jquery.knob.js b/assets/plugins/knob/jquery.knob.js old mode 100644 new mode 100755 diff --git a/assets/plugins/morris/morris.css b/assets/plugins/morris/morris.css old mode 100644 new mode 100755 diff --git a/assets/plugins/morris/morris.js b/assets/plugins/morris/morris.js old mode 100644 new mode 100755 diff --git a/assets/plugins/morris/morris.min.js b/assets/plugins/morris/morris.min.js old mode 100644 new mode 100755 diff --git a/assets/plugins/pace/pace.js b/assets/plugins/pace/pace.js old mode 100644 new mode 100755 diff --git a/assets/plugins/select2/i18n/ar.js b/assets/plugins/select2/i18n/ar.js old mode 100644 new mode 100755 diff --git a/assets/plugins/select2/i18n/az.js b/assets/plugins/select2/i18n/az.js old mode 100644 new mode 100755 diff --git a/assets/plugins/select2/i18n/bg.js b/assets/plugins/select2/i18n/bg.js old mode 100644 new mode 100755 diff --git a/assets/plugins/select2/i18n/ca.js b/assets/plugins/select2/i18n/ca.js old mode 100644 new mode 100755 diff --git a/assets/plugins/select2/i18n/cs.js b/assets/plugins/select2/i18n/cs.js old mode 100644 new mode 100755 diff --git a/assets/plugins/select2/i18n/da.js b/assets/plugins/select2/i18n/da.js old mode 100644 new mode 100755 diff --git a/assets/plugins/select2/i18n/de.js b/assets/plugins/select2/i18n/de.js old mode 100644 new mode 100755 diff --git a/assets/plugins/select2/i18n/el.js b/assets/plugins/select2/i18n/el.js old mode 100644 new mode 100755 diff --git a/assets/plugins/select2/i18n/en.js b/assets/plugins/select2/i18n/en.js old mode 100644 new mode 100755 diff --git a/assets/plugins/select2/i18n/es.js b/assets/plugins/select2/i18n/es.js old mode 100644 new mode 100755 diff --git a/assets/plugins/select2/i18n/et.js b/assets/plugins/select2/i18n/et.js old mode 100644 new mode 100755 diff --git a/assets/plugins/select2/i18n/eu.js b/assets/plugins/select2/i18n/eu.js old mode 100644 new mode 100755 diff --git a/assets/plugins/select2/i18n/fa.js b/assets/plugins/select2/i18n/fa.js old mode 100644 new mode 100755 diff --git a/assets/plugins/select2/i18n/fi.js b/assets/plugins/select2/i18n/fi.js old mode 100644 new mode 100755 diff --git a/assets/plugins/select2/i18n/fr.js b/assets/plugins/select2/i18n/fr.js old mode 100644 new mode 100755 diff --git a/assets/plugins/select2/i18n/gl.js b/assets/plugins/select2/i18n/gl.js old mode 100644 new mode 100755 diff --git a/assets/plugins/select2/i18n/he.js b/assets/plugins/select2/i18n/he.js old mode 100644 new mode 100755 diff --git a/assets/plugins/select2/i18n/hi.js b/assets/plugins/select2/i18n/hi.js old mode 100644 new mode 100755 diff --git a/assets/plugins/select2/i18n/hr.js b/assets/plugins/select2/i18n/hr.js old mode 100644 new mode 100755 diff --git a/assets/plugins/select2/i18n/hu.js b/assets/plugins/select2/i18n/hu.js old mode 100644 new mode 100755 diff --git a/assets/plugins/select2/i18n/id.js b/assets/plugins/select2/i18n/id.js old mode 100644 new mode 100755 diff --git a/assets/plugins/select2/i18n/is.js b/assets/plugins/select2/i18n/is.js old mode 100644 new mode 100755 diff --git a/assets/plugins/select2/i18n/it.js b/assets/plugins/select2/i18n/it.js old mode 100644 new mode 100755 diff --git a/assets/plugins/select2/i18n/ja.js b/assets/plugins/select2/i18n/ja.js old mode 100644 new mode 100755 diff --git a/assets/plugins/select2/i18n/km.js b/assets/plugins/select2/i18n/km.js old mode 100644 new mode 100755 diff --git a/assets/plugins/select2/i18n/ko.js b/assets/plugins/select2/i18n/ko.js old mode 100644 new mode 100755 diff --git a/assets/plugins/select2/i18n/lt.js b/assets/plugins/select2/i18n/lt.js old mode 100644 new mode 100755 diff --git a/assets/plugins/select2/i18n/lv.js b/assets/plugins/select2/i18n/lv.js old mode 100644 new mode 100755 diff --git a/assets/plugins/select2/i18n/mk.js b/assets/plugins/select2/i18n/mk.js old mode 100644 new mode 100755 diff --git a/assets/plugins/select2/i18n/ms.js b/assets/plugins/select2/i18n/ms.js old mode 100644 new mode 100755 diff --git a/assets/plugins/select2/i18n/nb.js b/assets/plugins/select2/i18n/nb.js old mode 100644 new mode 100755 diff --git a/assets/plugins/select2/i18n/nl.js b/assets/plugins/select2/i18n/nl.js old mode 100644 new mode 100755 diff --git a/assets/plugins/select2/i18n/pl.js b/assets/plugins/select2/i18n/pl.js old mode 100644 new mode 100755 diff --git a/assets/plugins/select2/i18n/pt-BR.js b/assets/plugins/select2/i18n/pt-BR.js old mode 100644 new mode 100755 diff --git a/assets/plugins/select2/i18n/pt.js b/assets/plugins/select2/i18n/pt.js old mode 100644 new mode 100755 diff --git a/assets/plugins/select2/i18n/ro.js b/assets/plugins/select2/i18n/ro.js old mode 100644 new mode 100755 diff --git a/assets/plugins/select2/i18n/ru.js b/assets/plugins/select2/i18n/ru.js old mode 100644 new mode 100755 diff --git a/assets/plugins/select2/i18n/sk.js b/assets/plugins/select2/i18n/sk.js old mode 100644 new mode 100755 diff --git a/assets/plugins/select2/i18n/sr-Cyrl.js b/assets/plugins/select2/i18n/sr-Cyrl.js old mode 100644 new mode 100755 diff --git a/assets/plugins/select2/i18n/sr.js b/assets/plugins/select2/i18n/sr.js old mode 100644 new mode 100755 diff --git a/assets/plugins/select2/i18n/sv.js b/assets/plugins/select2/i18n/sv.js old mode 100644 new mode 100755 diff --git a/assets/plugins/select2/i18n/th.js b/assets/plugins/select2/i18n/th.js old mode 100644 new mode 100755 diff --git a/assets/plugins/select2/i18n/tr.js b/assets/plugins/select2/i18n/tr.js old mode 100644 new mode 100755 diff --git a/assets/plugins/select2/i18n/uk.js b/assets/plugins/select2/i18n/uk.js old mode 100644 new mode 100755 diff --git a/assets/plugins/select2/i18n/vi.js b/assets/plugins/select2/i18n/vi.js old mode 100644 new mode 100755 diff --git a/assets/plugins/select2/i18n/zh-CN.js b/assets/plugins/select2/i18n/zh-CN.js old mode 100644 new mode 100755 diff --git a/assets/plugins/select2/i18n/zh-TW.js b/assets/plugins/select2/i18n/zh-TW.js old mode 100644 new mode 100755 diff --git a/assets/plugins/select2/select2.css b/assets/plugins/select2/select2.css old mode 100644 new mode 100755 diff --git a/assets/plugins/select2/select2.full.js b/assets/plugins/select2/select2.full.js old mode 100644 new mode 100755 diff --git a/assets/plugins/select2/select2.full.min.js b/assets/plugins/select2/select2.full.min.js old mode 100644 new mode 100755 diff --git a/assets/plugins/select2/select2.js b/assets/plugins/select2/select2.js old mode 100644 new mode 100755 diff --git a/assets/plugins/select2/select2.min.css b/assets/plugins/select2/select2.min.css old mode 100644 new mode 100755 diff --git a/assets/plugins/select2/select2.min.js b/assets/plugins/select2/select2.min.js old mode 100644 new mode 100755 diff --git a/assets/plugins/slimScroll/jquery.slimscroll.js b/assets/plugins/slimScroll/jquery.slimscroll.js old mode 100644 new mode 100755 diff --git a/assets/plugins/slimScroll/jquery.slimscroll.min.js b/assets/plugins/slimScroll/jquery.slimscroll.min.js old mode 100644 new mode 100755 diff --git a/assets/plugins/sparkline/jquery.sparkline.js b/assets/plugins/sparkline/jquery.sparkline.js old mode 100644 new mode 100755 diff --git a/assets/plugins/sparkline/jquery.sparkline.min.js b/assets/plugins/sparkline/jquery.sparkline.min.js old mode 100644 new mode 100755 diff --git a/assets/plugins/timepicker/bootstrap-timepicker.css b/assets/plugins/timepicker/bootstrap-timepicker.css old mode 100644 new mode 100755 diff --git a/assets/plugins/timepicker/bootstrap-timepicker.js b/assets/plugins/timepicker/bootstrap-timepicker.js old mode 100644 new mode 100755 diff --git a/assets/plugins/timepicker/bootstrap-timepicker.min.css b/assets/plugins/timepicker/bootstrap-timepicker.min.css old mode 100644 new mode 100755 diff --git a/assets/plugins/timepicker/bootstrap-timepicker.min.js b/assets/plugins/timepicker/bootstrap-timepicker.min.js old mode 100644 new mode 100755 diff --git a/assets/purchase_order.html b/assets/purchase_order.html old mode 100644 new mode 100755 diff --git a/assets/raw_material.html b/assets/raw_material.html old mode 100644 new mode 100755 diff --git a/assets/register.html b/assets/register.html old mode 100644 new mode 100755 diff --git a/assets/scss/badgets_labels.scss b/assets/scss/badgets_labels.scss old mode 100644 new mode 100755 diff --git a/assets/scss/base.scss b/assets/scss/base.scss old mode 100644 new mode 100755 diff --git a/assets/scss/buttons.scss b/assets/scss/buttons.scss old mode 100644 new mode 100755 diff --git a/assets/scss/custom.scss b/assets/scss/custom.scss old mode 100644 new mode 100755 diff --git a/assets/scss/elements.scss b/assets/scss/elements.scss old mode 100644 new mode 100755 diff --git a/assets/scss/media.scss b/assets/scss/media.scss old mode 100644 new mode 100755 diff --git a/assets/scss/mixins.scss b/assets/scss/mixins.scss old mode 100644 new mode 100755 diff --git a/assets/scss/navigation.scss b/assets/scss/navigation.scss old mode 100644 new mode 100755 diff --git a/assets/scss/pages.scss b/assets/scss/pages.scss old mode 100644 new mode 100755 diff --git a/assets/scss/rtl.scss b/assets/scss/rtl.scss old mode 100644 new mode 100755 diff --git a/assets/scss/sidebar.scss b/assets/scss/sidebar.scss old mode 100644 new mode 100755 diff --git a/assets/scss/skins.scss b/assets/scss/skins.scss old mode 100644 new mode 100755 diff --git a/assets/scss/style.scss b/assets/scss/style.scss old mode 100644 new mode 100755 diff --git a/assets/scss/theme-config.scss b/assets/scss/theme-config.scss old mode 100644 new mode 100755 diff --git a/assets/scss/top_navigation.scss b/assets/scss/top_navigation.scss old mode 100644 new mode 100755 diff --git a/assets/scss/typography.scss b/assets/scss/typography.scss old mode 100644 new mode 100755 diff --git a/assets/scss/variables.scss b/assets/scss/variables.scss old mode 100644 new mode 100755 diff --git a/assets/supplier.html b/assets/supplier.html old mode 100644 new mode 100755