This topic contains 12 replies, has 2 voices, and was last updated by abel 7 years, 8 months ago.
- Topic
Hi all! I was created a datagrid with code:
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576order-in-time-report:acl_resource: tna_report_order_by_time_viewsource:type: ormquery:from:- { table: TnaPosBundle:Order, alias: order_report_time }select:- order_report_time.id- order_report_time.doc_date- SUM( order_report_time.qty ) as sum_qty- SUM( order_report_time.amount ) as sum_amountwhere:and:- (order_report_time.doc_date >= :start_date AND order_report_time.doc_date <= :end_date)groupBy: order_report_time.doc_datebind_parameters:- start_date- end_datecolumns:doc_date:label: Datefrontend_type: datesum_qty:label: Sum qtysum_amount:label: Sum amountfrontend_type: currencytotals:total:extends: grand_totalper_page: truehide_if_one_page: truecolumns:doc_date:label: Page totalgrand_total:columns:doc_date:label: Grand totalsum_qty:expr: SUM( order_report_time.qty )sum_amount:expr: SUM( order_report_time.amount )formatter: currencysorters:columns:doc_date:data_name: order_report_time.doc_datesum_qty:data_name: sum_qtysum_amount:data_name: sum_amountdefault:model: ASCfilters:columns:doc_date:type: datedata_name: order_report_time.doc_datesum_qty:type: numberdata_name: sum_qtysum_amount:type: currencydata_name: sum_amountoptions:entityHint: report dataexport: trueentity_pagination: trueBut when I run, it cannot group by with my field.
Row grand-total run ok, but row page-total run uncorrect, it show value like grand-total (total of all value in grid, not in 1 page)
Some one can help me.
The forum ‘OroCRM – Programming Questions’ is closed to new topics and replies.