Files
Pierre 0687900564 fix: Récupérer l'opération active depuis la table operations
- Corrige l'erreur SQL 'Unknown column fk_operation in users'
- L'opération active est récupérée depuis operations.chk_active = 1
- Jointure avec users pour filtrer par entité de l'admin créateur
- Query: SELECT o.id FROM operations o INNER JOIN users u ON u.fk_entite = o.fk_entite WHERE u.id = ? AND o.chk_active = 1
2026-01-26 16:57:08 +01:00

22 lines
739 B
PHP
Executable File

<?php
namespace Stripe\V2;
/**
* Base class for V2 events.
*
* This is concrete for use in our generated tests. Events returned from the \Stripe\V2\Core\EventService
* will be a subtype of \Stripe\V2\Event.
*
* @property string $id Unique identifier for the event.
* @property string $object String representing the object's type. Objects of the same type share the same value of the object field.
* @property int $created Time at which the object was created.
* @property \Stripe\StripeObject $reason Reason for the event.
* @property string $type The type of the event.
* @property null|string $context The Stripe account of the event
*/
class Event extends \Stripe\ApiResource
{
const OBJECT_NAME = 'v2.core.event';
}