> For the complete documentation index, see [llms.txt](https://tailieu.abaha.vn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tailieu.abaha.vn/quan-ly-modules/17.-khoa-hoc-online/khoa-hoc-da-mua.md).

# Khóa học đã mua

Trang danh sách khoá học đã mua cho phép admin quản lý tất cả các đơn hàng khoá học khách hàng đã thanh toán. Bao gồm các thông tin:

* Mã đơn hàng
* Khách hàng: Tên + SĐT
* Giá trị đơn hàng
* Thời gian mua hàng: Thời gian khách đặt thành công
* Khoá học: Tên khoá học
* Ghi chú đơn hàng: Chỉ dành cho trường hợp admin xoá khoá học đã được khách mua trước đó.

Admin có thể thao tác:

* Tìm kiếm theo mã đơn, tên và sđt khách hàng
* Lọc theo thời gian mua
* Xuất excel
* Tạo mới đơn hàng

<figure><img src="/files/Ox0wG6NzCKE74Q5gkobZ" alt=""><figcaption></figcaption></figure>

### **1. Chi tiết khoá học**

Tại màn Danh sách khoá học đã mua , click vào mã đơn hàng Admin cửa hàng sẽ xem chi tiết được các đơn hàng mua khóa học của các khóa học chưa bị xóa.

Các thông tin bao gồm:

<figure><img src="/files/Tjl79oWbi0Z9IaRtc3H6" alt=""><figcaption></figcaption></figure>

* Nguồn đơn: Nguồn đơn đặt từ APP hoặc Admin tự tạo
* Ghi chú CSKH: Ghi chú nội bộ cửa hàng
* Ngày tạo đơn
* Khách hàng: Tên + SĐT
* Tên khoá học
* Phương thức thanh toán
* Giá trị đơn hàng

### **2. Tạo đơn hàng khoá học**

Tại màn Danh sách khoá học đã mua -> Click \[Tạo đơn hàng mới]

Admin điền thông tin khởi tạo đơn hàng bao gồm:

* Nguồn đơn: Nguồn đơn đặt từ APP hoặc Admin tự tạo (Tự động sinh)
* Ghi chú CSKH: Ghi chú nội bộ cửa hàng
* Khách hàng: Tên + SĐT
* Tên khoá học
* Phương thức thanh toán
* Thành tiền: khi chọn khóa học thì hiển thị số tiền tự động

Ấn \[Tạo đơn] để khởi tạo đơn hàng khoá học.

<figure><img src="/files/5wQZOktTDCos2W71jVWC" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://tailieu.abaha.vn/quan-ly-modules/17.-khoa-hoc-online/khoa-hoc-da-mua.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
