Commit 83008cdb6239147f565c79fd9fb9b57f508ae7e6
1 parent
e3eebde9
disocount => discount
Showing
1 changed file
with
6 additions
and
6 deletions
Show diff stats
src/lib/models/discount.php
| @@ -22,7 +22,7 @@ class discount extends \db | @@ -22,7 +22,7 @@ class discount extends \db | ||
| 22 | return $this->get( | 22 | return $this->get( |
| 23 | ' | 23 | ' |
| 24 | SELECT * FROM | 24 | SELECT * FROM |
| 25 | - public.disocount | 25 | + public.discount |
| 26 | ' | 26 | ' |
| 27 | , | 27 | , |
| 28 | [ | 28 | [ |
| @@ -42,7 +42,7 @@ class discount extends \db | @@ -42,7 +42,7 @@ class discount extends \db | ||
| 42 | return $this->get( | 42 | return $this->get( |
| 43 | ' | 43 | ' |
| 44 | SELECT * | 44 | SELECT * |
| 45 | - FROM public.disocount | 45 | + FROM public.discount |
| 46 | WHERE | 46 | WHERE |
| 47 | id = :id | 47 | id = :id |
| 48 | ', | 48 | ', |
| @@ -64,7 +64,7 @@ class discount extends \db | @@ -64,7 +64,7 @@ class discount extends \db | ||
| 64 | return $this->exec( | 64 | return $this->exec( |
| 65 | ' DELETE | 65 | ' DELETE |
| 66 | FROM | 66 | FROM |
| 67 | - public.disocount | 67 | + public.discount |
| 68 | WHERE | 68 | WHERE |
| 69 | id = :id | 69 | id = :id |
| 70 | ', | 70 | ', |
| @@ -85,7 +85,7 @@ class discount extends \db | @@ -85,7 +85,7 @@ class discount extends \db | ||
| 85 | return $this->get( | 85 | return $this->get( |
| 86 | ' | 86 | ' |
| 87 | INSERT INTO | 87 | INSERT INTO |
| 88 | - public.disocount | 88 | + public.discount |
| 89 | ( | 89 | ( |
| 90 | name, | 90 | name, |
| 91 | discount, | 91 | discount, |
| @@ -128,7 +128,7 @@ class discount extends \db | @@ -128,7 +128,7 @@ class discount extends \db | ||
| 128 | return $this->exec( | 128 | return $this->exec( |
| 129 | ' | 129 | ' |
| 130 | UPDATE | 130 | UPDATE |
| 131 | - public.disocount | 131 | + public.discount |
| 132 | SET | 132 | SET |
| 133 | name = :name, | 133 | name = :name, |
| 134 | discount = :discount, | 134 | discount = :discount, |
| @@ -160,7 +160,7 @@ class discount extends \db | @@ -160,7 +160,7 @@ class discount extends \db | ||
| 160 | SELECT | 160 | SELECT |
| 161 | COUNT(id) AS total | 161 | COUNT(id) AS total |
| 162 | FROM | 162 | FROM |
| 163 | - public.disocount | 163 | + public.discount |
| 164 | ', | 164 | ', |
| 165 | [ | 165 | [ |
| 166 | 166 |