File tree Expand file tree Collapse file tree
awesome_dashboard/static/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11.o_dashboard {
22 background-color : #bfbfbf ;
33 display : flex ;
4- flex-direction : row ;
5- align-items : flex-start ;
4+ flex-flow : row wrap ;
5+ align-content : flex-start ;
66 gap : 1rem ;
77 padding : 0.5rem ;
8- flex-wrap : wrap ;
98 justify-content : flex-start ;
109}
Original file line number Diff line number Diff line change 77 <button class =" btn btn-primary" t-on-click =" openLeads" >Leads</button >
88 </t >
99
10- <DashboardItem >
10+ <DashboardItem size = " 1.5 " >
1111 <t t-set-slot =" title" >
1212 Average amount of t-shirt by order this month
1313 </t >
1818
1919 <DashboardItem size =" 2" >
2020 <t t-set-slot =" title" >
21- Average time for an order to go from 'newe ' to 'sent' or 'cancelled'
21+ Average time for an order to go from 'new ' to 'sent' or 'cancelled'
2222 </t >
2323 <t t-set-slot =" count" >
24- <t t-esc =" this.state.statistics.average_quantity " ></t >
24+ <t t-esc =" this.state.statistics.average_time " ></t >
2525 </t >
2626 </DashboardItem >
2727
3030 Number of new orders this month
3131 </t >
3232 <t t-set-slot =" count" >
33- <t t-esc =" this.state.statistics.average_quantity " ></t >
33+ <t t-esc =" this.state.statistics.nb_new_orders " ></t >
3434 </t >
3535 </DashboardItem >
3636
37- <DashboardItem size =" 0.8 " >
37+ <DashboardItem size =" 1.5 " >
3838 <t t-set-slot =" title" >
3939 Number of cancelled orders this month
4040 </t >
4141 <t t-set-slot =" count" >
42- <t t-esc =" this.state.statistics.average_quantity " ></t >
42+ <t t-esc =" this.state.statistics.nb_cancelled_orders " ></t >
4343 </t >
4444 </DashboardItem >
4545
46- <DashboardItem size =" 0.8 " >
46+ <DashboardItem size =" 1.5 " >
4747 <t t-set-slot =" title" >
4848 Total amount of new orders this month
4949 </t >
5050 <t t-set-slot =" count" >
51- <t t-esc =" this.state.statistics.average_quantity " ></t >
51+ <t t-esc =" this.state.statistics.total_amount " ></t >
5252 </t >
5353 </DashboardItem >
5454 </Layout >
You can’t perform that action at this time.
0 commit comments