[Vtigercrm-developers] Sales orders please help me.
apcloic
apcloic at gmail.com
Tue Mar 25 15:30:11 GMT 2014
Hi Arnold,
Yes, I've applied the patch and modified the following code like this :
* if(strtotime($nextRecurringDate) == strtotime(date('Y-m-d'))) {
$adb->pquery('update vtiger_invoice_recurring_info SET last_recurring_date
= ? WHERE salesorderid = ?', array($nextRecurringDate, $salesorder_id));
createInvoice($salesorder_id);
}*
Then, to run recurringInvoice task, I do something like :
*cd /var/www/vtigercrm
./cron/vtigercron.sh*
My vtigercron.sh content is :
*#*********************************************************************************
# The contents of this file are subject to the vtiger CRM Public License
Version 1.0
# ("License"); You may not use this file except in compliance with the
License
# The Original Code is: vtiger CRM Open Source
# The Initial Developer of the Original Code is vtiger.
# Portions created by vtiger are Copyright (C) vtiger.
# All Rights Reserved.
#
#
********************************************************************************
export VTIGERCRM_ROOTDIR=`dirname "$0"`/..
export USE_PHP=php
cd $VTIGERCRM_ROOTDIR
# TO RUN ALL CORN JOBS
$USE_PHP -f vtigercron.php *
'hope it helps ;)
Regards
--
View this message in context: http://vtiger-crm.2324883.n4.nabble.com/Vtigercrm-developers-Sales-orders-please-help-me-tp9148p9971.html
Sent from the vtigercrm-developers mailing list archive at Nabble.com.
More information about the vtigercrm-developers
mailing list