Atualizando arquivos
This commit is contained in:
parent
161db04558
commit
f33122cba6
2 changed files with 4 additions and 4 deletions
|
|
@ -1853,7 +1853,7 @@ function prepareBudget(id, source, productId, budgetsId){
|
|||
}
|
||||
|
||||
/** Aplica o foco no campo indicado */
|
||||
$('#readjustment_type').focus();
|
||||
$('#budget').focus();
|
||||
|
||||
// /** Limpa o ID caso tenha um edição anterior */
|
||||
// $('#clients_budgets_id').val('');
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
/** Importação de classes */
|
||||
use vendor\model\CompaniesBudgets;
|
||||
use vendor\model\CompaniesProducts;
|
||||
use vendor\model\ProductsCompanies;
|
||||
use vendor\controller\client_budgets\CompaniesBudgetsValidate;
|
||||
|
||||
try{
|
||||
|
|
@ -12,7 +12,7 @@ try{
|
|||
|
||||
/** Instânciamento de classes */
|
||||
$CompaniesBudgets = new CompaniesBudgets();
|
||||
$CompaniesProducts = new CompaniesProducts();
|
||||
$ProductsCompanies = new ProductsCompanies();
|
||||
$CompaniesBudgetsValidate = new CompaniesBudgetsValidate();
|
||||
|
||||
/** Parametros de entrada */
|
||||
|
|
@ -94,7 +94,7 @@ try{
|
|||
if($budgetsId > 0){
|
||||
|
||||
/** Atualiza o valor do produto do orçamento */
|
||||
$CompaniesProducts->UpdateValueProduct($CompaniesBudgetsValidate->getcompanyId(), $CompaniesBudgetsValidate->getProductsId(), $CompaniesBudgetsValidate->getReadjustmentBudget());
|
||||
$ProductsCompanies->UpdateValueProduct($CompaniesBudgetsValidate->getcompanyId(), $CompaniesBudgetsValidate->getProductsId(), $CompaniesBudgetsValidate->getReadjustmentBudget());
|
||||
|
||||
/** Prepara o retorno */
|
||||
$procedure = '<script type="text/javascript">';
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue