/** Ofuz Open Source version is released under the GNU Affero General Public License, please read the full license at: http://www.gnu.org/licenses/agpl-3.0.html **/
// Copyright 2008 - 2010 all rights reserved, SQLFusion LLC, info@sqlfusion.com
/** Ofuz Open Source version is released under the GNU Affero General Public License, please read the full license at: http://www.gnu.org/licenses/agpl-3.0.html **/
$pageTitle = 'Ofuz :: Invoices';
$Author = 'SQLFusion LLC';
$Keywords = 'Keywords for search engine';
$Description = 'Description for search engine';
$background_color = 'white';
include_once('config.php');
include_once('includes/ofuz_check_access.script.inc.php');
include_once('includes/header.inc.php');
$do_notes = new ContactNotes($GLOBALS['conx']);
$do_contact = new Contact($GLOBALS['conx']);
$do_company = new Company($GLOBALS['conx']);
$do_task = new Task($GLOBALS['conx']);
$do_task_category = new TaskCategory($GLOBALS['conx']);
$do_contact_task = new Contact();
if (!is_object($_SESSION['do_invoice_list_up'])) {
$do_invoice_list = new Invoice();
$do_invoice_list->sessionPersistent("do_invoice_list_up", "index.php", OFUZ_TTL);
}
//echo $_SESSION['do_invoice_list']->getSqlQuery();
$user_settings = $_SESSION['do_User']->getChildUserSettings();
if($user_settings->getNumRows()){
while($user_settings->next()){
if($user_settings->setting_name == 'currency' && $user_settings->setting_value != ''){
$currency = explode("-",$user_settings->setting_value) ;
$_SESSION['do_invoice_list_up']->currency_iso_code = $currency[0];
$_SESSION['do_invoice_list_up']->currency_sign = $currency[1];
//$_SESSION['do_invoice_list']->currency = $_SESSION['do_invoice_list']->currecy_sign ;
$_SESSION['do_invoice_list_up']->setCurrencyDisplay() ;
$_SESSION['do_invoice_list_up']->getCurrencyPostion() ;
}
}
}
$do_payment_inv = new PaymentInvoice();
?>
createFeedbackBox(); ?>
Ofuz Open Source version is released under the GNU Affero General Public License, please read the full license at: http://www.gnu.org/licenses/agpl-3.0.html