Created
February 16, 2018 09:38
-
-
Save yhoyoex/ddc2592b908fc3aad577d629f2005dd5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$transaction = Shipping::with(['termin' => function ($query) use ($date_start, $date_end){ | |
$query->whereBetween('payment_date',[$date_start, $date_end]); | |
}]) | |
->whereBetween('created_at',[$date_start, $date_end]) | |
->get(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment