use Slim\Http\Request;
use Slim\Http\Response;
+use Galette\Entity\Adherent;
+use Galette\Entity\Contribution;
use Galette\Entity\Transaction;
use Galette\Repository\Contributions;
use Galette\Repository\Members;
{_T string="Attached contributions"}
{if $transaction->getMissingAmount() > 0}
<a
- href="{path_for name="contribution" data=["type" => "fee", "action" => "add"]}?trans_id={$transaction->id}"
+ href="{path_for name="addContribution" data=["type" => "fee"]}?trans_id={$transaction->id}"
class="button fright tooltip"
>
<i class="fas fa-user-check"></i>
<span class="sr-only">{_T string="Create a new fee that will be attached to the current transaction"}</span>
</a>
<a
- href="{path_for name="contribution" data=["type" => "donation", "action" => "add"]}?trans_id={$transaction->id}"
+ href="{path_for name="addContribution" data=["type" => "donation"]}?trans_id={$transaction->id}"
class="button fright tooltip"
>
<i class="fas fa-gift"></i>