Search the Community
Showing results for tags 'tags'.
-
Hello, Can I manipulate tags in email template ? For eg - Consider support manager plugin (https://docs.blesta.com/display/user/Support+Manager) . I'm editing an email template for "Ticket Received" and I noticed that there are multiple tags available. One of them is {ticket.date_added}. According to the doc, that tag would show "The UTC datetime stamp of ticket creation". Can I change the timezone ? I'd like to show the ticket creation time based on my timezone. Second tag is {ticket.client_id}, which should client id. Can I show client name ? {First name} {last name} {ticket.date_added} (in my timezone) {ticket.details_html} Lastly, why do I need to use {ticket_hash_code} in the subject line to allow for tickets to be replied to by email and not {ticket.code} ? I'm assuming {ticket.code} is unique too. I'm just curious about this. Its not an issue.
- 15 replies
-
- tags
- email template
-
(and 1 more)
Tagged with:
-
Guys, easy to implement, but would help a lot of people: TWO digit year in invoice numbering -- eg. 16100986 -- {shortyear}{month}{day}{num} -- Settings > Company > Invoice Customization here is the patch (but use rather that attached one): --- ./invoices-old.php 2016-10-09 11:45:43.000000000 +0200 +++ ./app/models/invoices.php 2016-10-09 12:10:29.000000000 +0200 @@ -2383,8 +2383,8 @@ // Set the id format accordingly, also replace the {year} tag with the appropriate year, // the {month} tag with the appropriate month, and the {day} tag with the appropriate day // to ensure the id_value is calculated appropriately on a year-by-year basis - $tags = array("{year}", "{month}", "{day}"); - $replacements = array($this->Date->format("Y"), $this->Date->format("m"), $this->Date->format("d")); + $tags = array("{year}", "{shortyear}", "{month}", "{day}"); + $replacements = array($this->Date->format("Y"), $this->Date->format("y"), $this->Date->format("m"), $this->Date->format("d")); $vars['id_format'] = str_ireplace($tags, $replacements, $inv_format); // Creates subquery to calculate the next invoice ID value on the fly patch
- 5 replies
-
- invoicing
- date_format
-
(and 1 more)
Tagged with: