Munia's Book Haven

Manager Dashboard

Manager: {{ session['name'] }}

Email: {{ session['email'] }}

All Users

{% for user in users %} {% endfor %}
Name Email Role Actions View Orders View Reviews
{{ user.name }} {{ user.email }} {{ user.role }} {% if user.role != 'manager' %}
{% endif %}
View Orders View Reviews

Book Management

Add New Book

Search Books

{% if books %}

Search Results

{% for book in books %}

Title: {{ book.title }}

ISBN: {{ book.isbn }}

Author: {{ book.author_name }}

Edit Delete
{% endfor %}
{% endif %}

Existing Books

{% for book in books %}

Title: {{ book.title }}

ISBN: {{ book.isbn }}

ISBN13: {{ book.isbn13 }}

Language Code: {{ book.language_code }}

Number of Pages: {{ book.num_pages }}

Ratings Count: {{ book.ratings_count }}

Text Reviews Count: {{ book.text_reviews_count }}

Publication Date: {{ book.publication_date }}

Publisher: {{ book.publisher }}

Inventory: {{ book.inventory }}

Price: ${{ book.price }}

Edit Delete
{% endfor %}