Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 05/13/2021 in all areas

  1. ClientX Blesta client area theme v1.1.0 ClientX is a fully responsive Blesta template offering the rich user experience. Features 1. Fully responsive - ClientX is a fully responsive Blesta theme. 2. Easy Branding - You can add logo to your Blesta theme with just a few clicks. 3. RTL Supported *coming soon 4. Order Form image display Bug Fixing 1. Unable to select other payment gateway over checkout page as well on payment method add page 2. Order Form display pages break when it have package group Improvements 1. Compatible with Blesta 5.1.2 & 5.1.3 2. Module configuration field design redefined 3. Affiliate pages design redefined 4. Domain Modules support and pages design redefined PRICING AND PACKAGES 1. Startup License (Applicable for 1 Website domain) - $99.95 Order Now 2. Enterprise License (Applicable for Multiples Websites & Domains) - $430 Demo link : https://demo.whmcsglobalservices.com/blestademo/ username : developer@whmcsglobalservices.com Password : demo@123 Included in package 1 year of theme updates 1 year of support* License for 1 domain - license will be active for lifetime. 1 year of support INCLUDE: tickets reply within 24 hours. solving any theme bugs. We offer ClientX theme customization services: Basic Integration service - $99 Advanced integration service - $299 Custom design and development services - $25/hr
    1 point
  2. Blesta Addons

    Base64 Encoded Email?

    i think so, the function setBody() is your friend;
    1 point
  3. It depends where you want to place the value in the PDF, but consider this example which places it below the "Due Date" field: Update /components/invoice_templates/default_invoice/default_invoice_pdf.php (line 402): private function drawInvoiceInfo() { $data = array( array( 'name'=>Language::_("DefaultInvoice.invoice_id_code", true), 'space'=>null, 'value'=>$this->invoice->id_code ), array( 'name'=>Language::_("DefaultInvoice.client_id_code", true), 'space'=>null, 'value'=>$this->invoice->client->id_code ), array( 'name'=>Language::_("DefaultInvoice.date_billed", true), 'space'=>null, 'value'=>date($this->invoice->client->settings['date_format'], strtotime($this->invoice->date_billed)) ), array( 'name'=>Language::_("DefaultInvoice.date_due", true), 'space'=>null, 'value'=>date($this->invoice->client->settings['date_format'], strtotime($this->invoice->date_due)) ) ); to private function drawInvoiceInfo() { $cf_data = array(); if (property_exists($this->invoice->client, "id")) { Loader::loadModels($this, array("Clients")); $field_id = 6; $values = $this->Clients->getCustomFieldValues($this->invoice->client->id); foreach ($values as $value) { if ($value->id == $field_id) { $cf_data = array( 'name' => $value->name . ":", 'space' => null, 'value' => $value->value ); break; } } unset($values, $value); } $data = array( array( 'name'=>Language::_("DefaultInvoice.invoice_id_code", true), 'space'=>null, 'value'=>$this->invoice->id_code ), array( 'name'=>Language::_("DefaultInvoice.client_id_code", true), 'space'=>null, 'value'=>$this->invoice->client->id_code ), array( 'name'=>Language::_("DefaultInvoice.date_billed", true), 'space'=>null, 'value'=>date($this->invoice->client->settings['date_format'], strtotime($this->invoice->date_billed)) ), array( 'name'=>Language::_("DefaultInvoice.date_due", true), 'space'=>null, 'value'=>date($this->invoice->client->settings['date_format'], strtotime($this->invoice->date_due)) ) ); if (!empty($cf_data)) $data[] = $cf_data; You need to update line 407 to set the integer to the correct custom field ID for your custom field. For example, if you go to edit the custom field in Blesta, the integer value will you're looking for appears at the end of the URL. Note that this is a core file in Blesta, and future patches/updates from us may overwrite this file, and you will need to merge these changes with any subsequent update accordingly.
    1 point
×
×
  • Create New...