done new changes in capital and service

This commit is contained in:
gandhimathi 2017-09-20 13:14:53 +05:30
parent 017a55af1f
commit 041c66bf6a
2 changed files with 19 additions and 2 deletions

View File

@ -238,6 +238,7 @@ class purchaseorder extends BaseController
}
else if($ReqType == CAPITAL)
{
$data['staticspecialinstruction']=$this->purchaseorder_model->getConfigValue('C027');
$CapitalAvlBudget = $this->purchaseorder_model->GetAvailableCapitalBudgetAmount($CostCode,$FYdt,$ReqType);

View File

@ -1,4 +1,12 @@
<?php
$t='';
if(!empty($staticspecialinstruction)){
foreach($staticspecialinstruction as $text)
$t=$text->ConfigValue;
}
$insuranceStatus = array(
array("name"=>"NO","value"=>"0"),array("name"=>"YES","value"=>"1")
);
@ -95,7 +103,15 @@ if(!empty($INRSYMBOL))
menubar: false,
statusbar: false,
toolbar: false
toolbar: false,
setup : function(ed)
{
ed.on('init', function(evt)
{
ed.setContent('<?php echo $t;?>');
});
}
});
tinymce.init({
selector: "textarea#ItemDescription",
@ -4987,7 +5003,7 @@ function SetCapitalPo()
$('#HideImportTaxTotal').hide();
$('#ModalImportTaxHide').hide();
$('#EditModalImportTaxHide').hide();
tinyMCE.get('txtSpcialInstruction').setContent('');