Skip to content

Instantly share code, notes, and snippets.

@stijn1989
Created January 10, 2021 08:55
Show Gist options
  • Save stijn1989/b7e3ec731a13b2f7a022bbaa8c4f9270 to your computer and use it in GitHub Desktop.
Save stijn1989/b7e3ec731a13b2f7a022bbaa8c4f9270 to your computer and use it in GitHub Desktop.
haha wtf ik was dronken zeker... :D
<?php
$versie = $detail->getArtikel()->getHuidigReceptVersie();
$detail->recept = \ArtikelInfo::findByArtikelAndReceptVersie($order->klant, $detail->artikel, $versie)->recept_versie;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment