done new changes in capital and service
This commit is contained in:
parent
017a55af1f
commit
041c66bf6a
@ -238,6 +238,7 @@ class purchaseorder extends BaseController
|
|||||||
}
|
}
|
||||||
else if($ReqType == CAPITAL)
|
else if($ReqType == CAPITAL)
|
||||||
{
|
{
|
||||||
|
$data['staticspecialinstruction']=$this->purchaseorder_model->getConfigValue('C027');
|
||||||
$CapitalAvlBudget = $this->purchaseorder_model->GetAvailableCapitalBudgetAmount($CostCode,$FYdt,$ReqType);
|
$CapitalAvlBudget = $this->purchaseorder_model->GetAvailableCapitalBudgetAmount($CostCode,$FYdt,$ReqType);
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -1,4 +1,12 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
$t='';
|
||||||
|
if(!empty($staticspecialinstruction)){
|
||||||
|
foreach($staticspecialinstruction as $text)
|
||||||
|
$t=$text->ConfigValue;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
$insuranceStatus = array(
|
$insuranceStatus = array(
|
||||||
array("name"=>"NO","value"=>"0"),array("name"=>"YES","value"=>"1")
|
array("name"=>"NO","value"=>"0"),array("name"=>"YES","value"=>"1")
|
||||||
);
|
);
|
||||||
@ -95,7 +103,15 @@ if(!empty($INRSYMBOL))
|
|||||||
|
|
||||||
menubar: false,
|
menubar: false,
|
||||||
statusbar: false,
|
statusbar: false,
|
||||||
toolbar: false
|
toolbar: false,
|
||||||
|
setup : function(ed)
|
||||||
|
{
|
||||||
|
ed.on('init', function(evt)
|
||||||
|
{
|
||||||
|
|
||||||
|
ed.setContent('<?php echo $t;?>');
|
||||||
|
});
|
||||||
|
}
|
||||||
});
|
});
|
||||||
tinymce.init({
|
tinymce.init({
|
||||||
selector: "textarea#ItemDescription",
|
selector: "textarea#ItemDescription",
|
||||||
@ -4987,7 +5003,7 @@ function SetCapitalPo()
|
|||||||
$('#HideImportTaxTotal').hide();
|
$('#HideImportTaxTotal').hide();
|
||||||
$('#ModalImportTaxHide').hide();
|
$('#ModalImportTaxHide').hide();
|
||||||
$('#EditModalImportTaxHide').hide();
|
$('#EditModalImportTaxHide').hide();
|
||||||
|
tinyMCE.get('txtSpcialInstruction').setContent('');
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user