Open geekelo opened 1 month ago
This file defines the ActiveAdmin interface for managing Chargeback
records. It provides read-only access to chargeback data, allowing administrators to view details but not create, edit, or delete records.
chargeback.rb
Chargeback
records under the "Legacy" menu with the label "Master Wallet - Chargebacks" in the ActiveAdmin interface.index
, show
) except for the create
, new
, edit
, and destroy
actions, making the Chargeback
records view-only.user
and payment
records to optimize database queries when displaying the index and show pages.created_at
in descending order, showing the most recent chargebacks first.permit_params
is commented out, which is fine since the actions for creating, editing, and destroying records are disabled.Chargeback
records.1st Chargeback
items.1st Chargeback
items.Chargeback
record.Chargeback
model.Chargeback Items
panel:
Chargeback
records provides a read-only interface, where administrators can view details of chargebacks but cannot modify them.index
view offers a comprehensive summary, including payment details, chargeback amounts, fees, and item counts.show
view provides detailed information about each chargeback and its associated items, organized neatly in a table format.
FILE