alaali
Member-
Posts
104 -
Joined
-
Last visited
About alaali
alaali's Achievements
Senior Member (3/3)
0
Reputation
-
need Elavon Converge payment gateway module developed
alaali replied to LongtimeUser's topic in Service Offers & Requests
Hi, If you still need this I can do it for you. Please let me know. -
I am in the same boat! There should be a better way of managing next due date. Actually if I changed anything I just go to the DB to check that the due date is set correctly!
-
Hi, I have done something similar but it is related to devices stocks. I will keep a list of the available devices and then assign one of these devices to an order. It will show to me which customer has which device and part of which order. However I am still managing everything on a side spreadsheet just to be sure. If you are interested on something similar maybe you can share your specification here or on the marketplace to get estimation about the price/time of creating an addon to handle this for you. Thanks, Sayed
-
Hi, I tried today to add order for one of my customers, I used capital letters to add the domain name in the field. The order price is not updated. I tried using small letters and it worked. Is there any issue regarding using capital letters? I am using WHMCS 5.3.8 and Blend template for admin. Thanks, Sayed
-
You can visit: http://docs.whmcs.com/Licensing_Addon To use a license you should create a product which use the license addon. Everything is written on the link above. You can use the sample code also which is provided with the addon.
-
Holiday issue with Invoices requires to be resolved
alaali replied to m8internet's topic in Using WHMCS
Hi, Did you try "Invoice selected items" button which is on the summary client page (admin area). Just select the domains or the services you want to make invoices early for. and press the button. It will create invoices which can be paid by your customer. -
Thanks intelweb. Just for who want to use the same thing, this is the code: {php} $userid = $this->_tpl_vars['clientsdetails']['userid']; $result = mysql_query("SELECT value FROM tblcustomfieldsvalues WHERE relid=$userid AND fieldid=###"); $data = mysql_fetch_array($result); $value = $data['value']; $this->assign('fieldlink',$value); {/php} Then just use {$fieldlink} as a normal smarty variable.
-
I will need to have a closer look at the installation to find the cause of error. It could be that you are checking the original file now which don't have the code I gave your. Add the code again and check the error and find on that line what is the code. I suspect that there is a PHP code at that line. now it is just smarty syntax.
-
{php} $userid = $this->_tpl_vars['clientsdetails']['userid']; $result = mysql_query("SELECT value FROM tblcustomfieldsvalues WHERE relid=$userid AND fieldid=###"); $data = mysql_fetch_array($result); $value = $data[“value"]; echo $value; {/php} Just change ### with the field id. and put that on the template which you want to show the link on. It should work however I did not test it. If you need more help please contact us on https://gh.bh/cp/submitticket.php?step=2&deptid=2
-
{php} $userid = $this->_tpl_vars['clientsdetails']['userid']; $result = mysql_query("SELECT value FROM tblcustomfieldsvalues WHERE relid=$userid AND fieldid=###"); $data = mysql_fetch_array($result); $value = $data[“value"]; echo $value; {/php} Just change ### with the field id. and put that on the template which you want to show the link on. It should work however I did not test it. If you want a paid help please post on Marketplace forum and you will get a quotes for a lot of WHMCS professionals to help you on this.
-
I write an addon to do this for me. So it will take the actual dates on invoice lines and set it to a one month back. Just to make it clear that I make the period to start from 1st of the month and end at the last day of month, so if you need to make the days as same as the ones which are on the invoice item lines then the code need to be changed a little bit. Just activate the addon and at the setting set the productid if you have more than one service or product you need to apply this to, please separate them by a comma. if the period is (01/12/2013 - 31/12/2013) it will be changed to (01/11/2013 - 30/11/2013). if it is (05/12/2013-04/01/2014) it will be changed to (01/11/2013 - 30/11/2013). This update will be reflected on the invoice lines and it will not changed any other things on the products due date or any other thing. changeperiod.zip
-
Hi, InvoiceCreated action hook just have invoiceid. You will need to look for the userid using a query. The same for PreCalculateCartTotals action hook. Try to use InvoiceCreated action hook and look for userid, try this code: $table = "tblinvoices"; $fields = "userid"; $where = array("id"=>$vars['invoiceid']); $result = select_query($table,$fields,$where); $data = mysql_fetch_array($result); $userid = $data[''userid];
-
Hi, I am providing a service where the customer pay after each month. so the payment is after actually using the service for one month and not paying before using the service. Is there a way to do that using WHMCS? because now if the invoice is generated on 01/12/2013 the period in invoice is shown as (1/12/2013-31/12/2013). What I want is to show the period of last month (1/11/2013-30/11/2013).