Atualizando companies_budgets_form.php

This commit is contained in:
Kenio 2025-07-30 08:52:55 -03:00
parent 628643b41e
commit b575699c8a

View file

@ -356,7 +356,7 @@ try{
<input type="hidden" name="ACTION" value="companies_budgets_save" />
<input type="hidden" name="FOLDER" value="action" />
<input type="hidden" name="products_id" id="products_id" value="" />
<input type="hidden" name="companies_budgets_id" id="companies_budgets_id" value="<?php echo $companiesBudgetsResult->client_budgets_id;?>" />
<input type="hidden" name="companies_budgets_id" id="companies_budgets_id" value="<?php echo $companiesBudgetsResult->companies_budgets_id;?>" />
</div>
</form>
@ -466,7 +466,7 @@ try{
request('FOLDER=view&TABLE=companies_budgets&ACTION=companies_budgets_commissions_datagrid&company_id='+$('#company_id option:selected').val(), '', true, '', '', '#loadCommissions', 'Carregando comissões...', 'blue', 'circle', 'sm', true);
/** Carrega os produtos do cliente informado */
request('FOLDER=view&TABLE=client_products&ACTION=client_products_datagrid&company_id=<?php echo $companiesResult->company_id;?>', '', true, '', '', '#loadProducts', 'Carregando produtos...', 'blue', 'circle', 'sm', true);
request('FOLDER=view&TABLE=companies_products&ACTION=companies_products_datagrid&company_id=<?php echo $companiesResult->company_id;?>', '', true, '', '', '#loadProducts', 'Carregando produtos...', 'blue', 'circle', 'sm', true);
/** Carrega os documentos do cliente informado */
request('FOLDER=view&TABLE=companies&ACTION=companies_documents_datagrid&company_id=<?php echo $companiesResult->company_id;?>', '', true, '', '', '#loadDocuments', 'Carregando Documentos...', 'blue', 'circle', 'sm', true);
@ -506,7 +506,7 @@ try{
});
<?php if($companiesBudgetsResult->client_budgets_id > 0){?>
<?php if($companiesBudgetsResult->companies_budgets_id > 0){?>
/** Habilita o formulário caso esteja oculto */
$('.collapse').collapse();
<?php } ?>