wiki:AdminDashboard

Version 4 (modified by 233144, 8 hours ago) ( diff )

--

Admin opens dashboard

Actors

Admin

Scenario

  1. The admin clicks on the button with their username
  2. A dashboard with their information, favorited builds and their own builds is displayed.
SELECT
  username,
  email
FROM users
WHERE id = $userId
LIMIT 1;
SELECT
  id,
  user_id,
  name,
  created_at,
  total_price
FROM build
WHERE is_approved = false
ORDER BY created_at DESC;
SELECT
  id,
  user_id,
  name,
  created_at,
  total_price
FROM build
WHERE user_id = $userId
ORDER BY created_at DESC;
SELECT *
FROM suggestions
WHERE status = 'pending'
ORDER BY id DESC;

Attachments (2)

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.