[Documentation] Fixed images in how to make report

This commit is contained in:
Rohit Waghchaure 2016-10-24 17:09:26 +05:30
parent 8edb00f6c7
commit be0d83ed81
3 changed files with 5 additions and 5 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

View file

@ -6,7 +6,7 @@ To create a new Query Report:
### 1. Create a new Report
![Query Report](/assets/frappe_io/images/how-to/query-report.png)
![Query Report](/assets/query-report.png)
1. Set type as "Query Report"
1. Set the reference DocType - Users that have access to the reference DocType will have access to the report
@ -35,11 +35,11 @@ You can define complex queries such as:
### 3. Check the Report
![Query Report](/assets/frappe_io/images/how-to/query-report-out.png)
![Query Report](/assets/query-report-out.png)
### 4. Advanced (adding filters)
If you are making a standard report, you can add filters in your query report just like [script reports](https://frappe.io/kb/reports/how-to-make-script-reports) by adding a `.js` file in your query report folder. To include filters in your query, use `%(filter_key)s` where your filter value will be shown.
If you are making a standard report, you can add filters in your query report just like [script reports](https://frappe.github.io/frappe/user/en/guides/reports-and-printing/how-to-make-script-reports) by adding a `.js` file in your query report folder. To include filters in your query, use `%(filter_key)s` where your filter value will be shown.
For example

View file

@ -6,11 +6,11 @@ You can create tabulated reports using server side scripts by creating a new Rep
Since these reports give you unrestricted access via Python scripts, they can only be created by Administrators. The script part of the report becomes a part of the repository of the application. If you have not created an app, [read this](/developers/guide).
> Note: You must be in [Developer Mode](/developers/how-to/enable-developer-mode) to do this
> Note: You must be in [Developer Mode](https://frappe.github.io/frappe/user/en/guides/app-development/how-enable-developer-mode-in-frappe) to do this
### 1. Create a new Report
![Query Report](/assets/frappe_io/images/how-to/script-report.png)
![Query Report](/assets/img/script-report.png)
1. Set Report Type as "Script Report"
1. Set "Is Standard" as "Yes"