begin order form with registration

This commit is contained in:
Ludovic CANDELLIER
2022-06-26 23:33:39 +02:00
parent c2fd71e3d1
commit e435752484
36 changed files with 442 additions and 423 deletions

View File

@@ -451,7 +451,7 @@ class Articles
$tags[$tag['group']][] = $tag['name'];
}
}
return $tags;
return $tags ?? null;
}
public static function getPricesByArticle($article)

View File

@@ -18,6 +18,16 @@ class Homepages
return self::get(1)->text;
}
public static function getFooter()
{
return self::get(2)->text;
}
public static function getExtraFooter()
{
return self::get(3)->text;
}
public static function get($id)
{
return Homepage::find($id);