[Vtigercrm-developers] discount approval in quotes feature

Rubén A. Estrada Orozco rulotec1 at gmail.com
Thu Jun 17 02:36:23 GMT 2021


Thanks Angelo,

I think your idea can be combined with Sukhdev's to have both the blocking
and the approval.

Thanks a lot!

Saludos

Rubén


On Wed, Jun 16, 2021 at 5:14 PM Angelo Paglialonga <
info at angelopaglialonga.com> wrote:

> Hi Ruben you could use Vtiger_Edit_Js.recordPreSave to catch saveevent ,
> check discount approval with a new group e.g. “can_add_discount" via ajax
> call
> and block save attempt showing a message via Vtiger_Helper_Js.showPnotify.
>
> To allow save you’ll need to serialize your form e.g. "params" and submit
> it via AppConnector.request(params).
>
> I Hope that helps.
>
> Angelo
>
>
>
>
> _______________
>
> Angelo Paglialonga
> Consulente per soluzioni CRM ad alto ROI.
>
> Telefono: 3386077866
> Skype: angelo.paglialonga
> Web: https://www.angelopaglialonga.com
>
>
>
> Il giorno 16 giu 2021, alle ore 18:04, Rubén A. Estrada Orozco <
> rulotec1 at gmail.com> ha scritto:
>
> Hi,
>
> In my case this comes up again and again. Clients ask for a way to block
> the modification of prices and discounts in quotes. Additionally, some
> clients ask for an approval mechanism for discounts.
>
> Is there a plugin for that? Wouldn't it be a good idea to introduce this
> feature in a future release?
> Please share your thoughts.
>
>
> Saludos
>
> Rubén
> _______________________________________________
> http://www.vtiger.com/
>
>
> _______________________________________________
> http://www.vtiger.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20210616/c36119b7/attachment.html>


More information about the vtigercrm-developers mailing list