Skip to content
This repository was archived by the owner on Nov 13, 2023. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions HelloAsso.Api.Samples/php/helloasso_stat.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

// Display all information from request
foreach ($json->resources as $action) {
echo "<h3>action de type $action->type d'un montant $action->montant effectuée le $action->date</h3><br/>";
echo "<h3>action de type $action->type d'un montant $action->amount effectuée le $action->date</h3><br/>";

if(count($action->custom_infos) > 0) {
echo "Liste des informations additionnelles:<br/>";
Expand Down Expand Up @@ -52,7 +52,7 @@
$photoValue = $photoIndex == null ? "" : $action->custom_infos[$photoIndex]->value;

// Now display summary with only id picture
echo "<h3>action de type $action->type d'un montant $action->montant effectuée le $action->date avec cette photo $photoValue</h3><br/>";
echo "<h3>action de type $action->type d'un montant $action->amount effectuée le $action->date avec cette photo $photoValue</h3><br/>";
}
}

Expand All @@ -72,4 +72,4 @@ function findIndex($array, $value) {
return null;
}

?>
?>