2010-08-14 15:48:18 -05:00
|
|
|
/** utils.h
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
|
|
|
* MA 02110-1301, USA.
|
|
|
|
*
|
|
|
|
* Developed from code written by Sebastian Held <sebastian.held@gmx.de>
|
|
|
|
* as part of his invoice importer module
|
|
|
|
* Mike Evans <mikee@saxicola.co.uk>
|
|
|
|
*
|
|
|
|
**********************************************************************/
|
2017-10-26 04:14:21 -05:00
|
|
|
#include <config.h>
|
2010-08-14 15:48:18 -05:00
|
|
|
#include <glib/gi18n.h>
|
|
|
|
#include <regex.h>
|
|
|
|
#include <glib.h>
|
|
|
|
#include <glib/gstdio.h>
|
2010-08-17 14:52:24 -05:00
|
|
|
#include "qof.h"
|
|
|
|
//#include "gncAddressP.h"
|
2010-08-14 15:48:18 -05:00
|
|
|
#include "gncCustomerP.h"
|
2010-08-17 14:52:24 -05:00
|
|
|
//#include "gncCustomer.h"
|
2010-08-14 15:48:18 -05:00
|
|
|
#include "gncInvoice.h"
|
2010-08-17 14:52:24 -05:00
|
|
|
#include "gncBusiness.h"
|
2010-08-14 15:48:18 -05:00
|
|
|
// query
|
|
|
|
|
|
|
|
|
2010-08-31 12:06:21 -05:00
|
|
|
#ifndef GNC_invoice_import_invoice_import_H
|
|
|
|
#define GNC_invoice_import_invoice_import_H
|
2010-08-17 14:52:24 -05:00
|
|
|
|
2010-08-31 12:06:21 -05:00
|
|
|
|
|
|
|
GncCustomer * gnc_search_customer_on_id (QofBook *book, const gchar *id);
|
|
|
|
GncInvoice * gnc_search_invoice_on_id (QofBook *book, const gchar *id);
|
|
|
|
GncInvoice * gnc_search_bill_on_id (QofBook *book, const gchar *id);
|
|
|
|
GncVendor * gnc_search_vendor_on_id (QofBook *book, const gchar *id);
|
2010-08-14 15:48:18 -05:00
|
|
|
|
|
|
|
#endif
|