Answer the question
In order to leave comments, you need to log in
Which CRM, TODO to choose?
I work as a web developer in a website development company, plus I constantly lead my projects from freelance. I noticed that every half a year I switch from one system for storing notes and cases to another and nothing suits me completely.
I need to store contacts, project lists, to-do lists, various project notes (eg hosting access). Tried everything from Workflowy to Todoist and Megaplan.
Friends, how do you cope with your tasks and what do you use? Thank you!
Answer the question
In order to leave comments, you need to log in
I personally use vorkseshn, arranges everything "from" and "to".
Everything else is either expensive or does not have the full and necessary functionality.
I also had such a problem, then I spat and wrote my scheduler. Bitrix24, trill, megaplan was used as the basis for many ideas.
another good bourgeois comparative resource on PM products - saas-guide.com
$products = json_decode( '[{"value":"1000 рублей"},{"value":"500 рублей"},{"value":"5000 рублей"}]', true );
// или
$products = [ [ 'value' => '1000 рублей' ], [ 'value' => '500 рублей' ], [ 'value' => '5000 рублей' ] ];
$total_price = array_reduce( $products, function( $v, $i ) {
$v += intval( $i[ 'value' ], 10 );
return $v;
} );
echo $total_price; // 6500
As in any other PL:
1) Loop through the collection objects
2) Parse the value into value (in this case, you can use the explode function)
3) Sum the resulting value into $total_price
Well, you somehow mixed up the concepts ...
There is no such semantics in PHP ..
the array in PHP
$products = [
[ 'value'=> 1000],
[ 'value'=> 500],
[ 'value'=> 5000]
] ;
or
$products = [
1000,
500,
5000
];
Well, the sum is
$sum=array_reduce($products,function($n,$v){
$n += $v;
return $n;
});
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question