Hi.
I'm using sugar 5.1 CE
Is there a way to put the total amount on the Oportunity's list view?
Image follow atached.
Hi.
I'm using sugar 5.1 CE
Is there a way to put the total amount on the Oportunity's list view?
Image follow atached.
Hi kinshibuya
Are you going to display there the total amount of all Opportunities in the ListView?
If yes it is possible.
You need to:
1. define a view.list.php. This view.list.php will:
1.1. calculate the total amount;
1.2. define a new class from which the ListView object will be instantiated;
1.3. assign into a xtpl variable the total amount;
2. define a new ListView class, which extends ListViewSmart.php, from which the ListView object will be instantiated. This class will:
2.1. define a new xtpl file
3. create a new xtpl file, derived from ListViewGeneric.tpl. This one will
3.1. define the variable to be parsed from total amount.
That is it.
André Lopes
DevToolKit / Project of the Month - June 2009
Lampada Global Services- Open Source Solutions
Avenida Ipiranga, 318
Bloco B - CJ 1602
São Paulo, SP 01046-010
Brazil
Office: +55 11 3237-3110
Mobile: +55 11 7636-5859
e-mail: andre@lampadaglobal.com
Lampada Global delivers offshore software development and support services to customers around the world.
Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.
I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.
Thanks for the reply.
and for dashlet? is also possible?
It is possible, but it is more complicated.
You need to create a new class which extends the DashletGeneric, and your Dashlet class will extend this new one.
You should need to modify this new class to redefine the template.
The strategy is similar the suggested for ListView but a bit different.
Regards
André Lopes
DevToolKit / Project of the Month - June 2009
Lampada Global Services- Open Source Solutions
Avenida Ipiranga, 318
Bloco B - CJ 1602
São Paulo, SP 01046-010
Brazil
Office: +55 11 3237-3110
Mobile: +55 11 7636-5859
e-mail: andre@lampadaglobal.com
Lampada Global delivers offshore software development and support services to customers around the world.
Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.
I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.
I know lampada do this kind of customizations,
Can you do this on line? like giving us the files?
I could dig this up but i need this kinda fast.
How much would it cost?
Hi kinshibuya
Send me an email or ping me on skype 'andopes' to talk about that.
Regards
André Lopes
DevToolKit / Project of the Month - June 2009
Lampada Global Services- Open Source Solutions
Avenida Ipiranga, 318
Bloco B - CJ 1602
São Paulo, SP 01046-010
Brazil
Office: +55 11 3237-3110
Mobile: +55 11 7636-5859
e-mail: andre@lampadaglobal.com
Lampada Global delivers offshore software development and support services to customers around the world.
Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.
I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.
Hi,
I also having same requirement of showing the Total of Amount opportinuties in List View Grid and not into the dashlet . I have defined the view.list.php file but not getting it done .....
Hi what do you have in your view.list.php?
Priscila Kin Yamamoto Joranhezon
Phone: +55 61 32010000
priscila.joranhezon@nct.com.br
NCT Informática Ltda
kinshibuya,
Were you able to accomplish this? Would you be able to share how you did it?
Michael
hi...
i am new to sugar...
i am very much interested regarding the solution for creating afield on list view to display the total amount.
i to want to create the same filed like that...
can u explain how to create that...view.list.php file how to assing the total value to xtpl file
and how to develop xtpl file...
or send me the code if u have.....
please help me regarding that to learn....
my email : gramanjul@gmail.com
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks