Jump to content

Question

8 answers to this question

Recommended Posts

  • 1
Posted
2 hours ago, hazimdds said:

Thanks For Replay ,

Ok i like to hide it within the code If  there any hint or place to start from,

it is a big application (Blesta) it will take some  time to look to the code.

 

open file app\views\client\bootstrap\client_invoices.pdt

qoute this line

// array('name'=>$this->_("ClientInvoices.index.categorylink_make_payment", true), 'attributes'=>array("href"=>$this->base_uri . "pay/"))

 

  • 1
Posted
8 minutes ago, hazimdds said:

Thakns man it work 

 

Realy Great and Fast Help

if please more help how to change or Hide mention of 'credits'   in the client area like the  attached image 

Screenshot (1).png

Screenshot (2).png

 

 

Go to: /app/views/client/themename/client_main_myinfo.pdt

Remove:

<div class="amounts"></div>

And

<?php
		$this->Javascript->setInline('
			$(document).ready(function() {
				fetchCurrencyAmounts("' . $this->Html->ifSet($contact->settings['default_currency']) . '");
				$(".col-md-3 .amounts").on("click", "a", function() {
					fetchCurrencyAmounts($(this).attr("id"));
					return false;
				});
			});
			
			function fetchCurrencyAmounts(currency) {
				$(this).blestaRequest("GET", "' . $this->Html->safe($this->base_uri . "main/getcurrencyamounts/") . '" + currency, null, function(data) {
					if (data)
						$(".amounts").html(data);
				},
				null,
				{dataType:"json"});
			}
		');
		?>

 

  • 0
Posted

Blesta doesn't currently have an option to deny accepting payments unless they are for specific invoices. A customer could add a payment now for something like a renewing service later (i.e. pre-pay), and Blesta will treat it as a credit on their account.

However, it is possible to hide the "Make Payment" button, but it would require you to update a core template in the source code. To otherwise forcefully deny payments from customers would require additional logic to be added.

  • 0
Posted
9 hours ago, Tyson said:

Blesta doesn't currently have an option to deny accepting payments unless they are for specific invoices. A customer could add a payment now for something like a renewing service later (i.e. pre-pay), and Blesta will treat it as a credit on their account.

However, it is possible to hide the "Make Payment" button, but it would require you to update a core template in the source code. To otherwise forcefully deny payments from customers would require additional logic to be added.

Thanks For Replay ,

Ok i like to hide it within the code If  there any hint or place to start from,

it is a big application (Blesta) it will take some  time to look to the code.

 

  • 0
Posted
9 hours ago, naja7host said:

open file app\views\client\bootstrap\client_invoices.pdt

qoute this line


// array('name'=>$this->_("ClientInvoices.index.categorylink_make_payment", true), 'attributes'=>array("href"=>$this->base_uri . "pay/"))

 

Thakns man it work 

 

Realy Great and Fast Help

if please more help how to change or Hide mention of 'credits'   in the client area like the  attached image 

Screenshot (1).png

Screenshot (2).png

  • 0
Posted

Thanks to You All naja7host  &  Licensecart  

 

it Was Great and Fast Help you are the Best , for Who Asking I Do this COZ  2CO Requested This Removal To Start Accept the Payment Method.

 

 

 

 

  • 0
Posted
23 minutes ago, hazimdds said:

Thanks to You All naja7host  &  Licensecart  

it Was Great and Fast Help you are the Best , for Who Asking I Do this COZ  2CO Requested This Removal To Start Accept the Payment Method.

 

2CO is horrible.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...