Laravel Datepicker And Eloquent Query
问题 I am making a page where I can use the date ranger, datepicker from jqueryui.com and i am very mewbie to laravel Framework. I have the eloquent query as follows, public function orderbydate() { $order =DB::table('sales_flat_order_items as s') ->leftJoin('sales_flat_orders as w', 'w.entity_id','=','s.order_id') ->select(array(DB::Raw('sum(s.amount_refunded) as amount_refunded'), DB::Raw('sum(s.row_total) as row_total'), DB::Raw('sum(s.discount_amount) as discount_amount'), DB::Raw('sum(s.tax