void *save;
memset(&fact, 0, sizeof(t_Factura));
prop = xml_get_prop(node, "NroFac");
- PERR(prop);
fact.numero = atoi(prop); xmlFree(prop);
prop = xml_get_prop(node, "PorcDoI");
fact.procdoi = atof(prop); xmlFree(prop);
cant++;
its = (t_Item *)realloc(its, cant*sizeof(t_Item));
if (its != NULL) {
+ art_actualizar_stock(atoi(entrada), atoi(cv));
its[cant-1].numero = atoi(entrada);
- strcpy(its[cant-1].cv, form_obtener_valor_char(form, "CV"));
+ strcpy(its[cant-1].cv, cv);
strcpy(its[cant-1].pvu, art->pvu);
}
free(art);