managing a domestical accountancy

More
10 years 4 months ago #52624 by rottenberg
Hello

I want to create a domestical accountancy (management of a condominium).

No problem to create the name of the distincts appartements, no problem to enter the amount to pay each month with FC.

My question is : is it possible to display the sum of the amounts a of series of articles using FC ?

ex :
appt 1 :
01/2015 amount to pay : 20$ paid on 03/2015
02/2015 amount to pay : 20$ paid on 03/2015
03/2015 amount to pay : 20$
03/2015 amount paid 40$

total 60$ 40$

my problem is how to get the 60$ and 40$ which are result of the distinct articles displayed.


thank you for help

best regards

Michel

Please Log in or Create an account to join the conversation.

More
10 years 4 months ago #52625 by micker
actualy not with field (is plan)
but you can do it in template => load field individualy and use php to create a summ

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

More
10 years 4 months ago #52628 by rottenberg
thank you

I try it and give you the result

best regards

Michel

Please Log in or Create an account to join the conversation.

More
10 years 4 months ago #52634 by ggppdk
Hello

this is under development in v3.0

some details:

improvements for templating:
1. not only drag fied but also select display_method:
e.g. image field:
display
display_small
display_medium
display_large
display_single_image_total

e.g. text field
display_sum
display_average

in templating we will show the display variable with description


2. Provide position for TOTALs calculations

e.g. when you add a field there,
then call function:
onDisplayAggregate()

to calculate something out of ALL items in current view / current category
e.g. FOR ADDRESSINT
$html = onCalculateAggregate ( $field, $items_arr, 'map_all');

e.g. FOR TEXT field
$html = onCalculateAggregate ( $field, $items, 'average');
$html = onCalculateAggregate ( $field, $items, 'sum');
$html = onCalculateAggregate ( $field, $items, 'concatenate');


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.596 seconds
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline
Save