From 21455bfd1004c4a3153050ac5995b8dc680c2042 Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Wed, 27 Jul 2016 16:48:53 +0200 Subject: Class names start with a capital --- include/about.php | 4 ++-- include/assignments-edit.php | 4 ++-- include/assignments-new.php | 4 ++-- include/assignments-overview.php | 20 ++++++++++---------- include/assignments-view.php | 14 +++++++------- include/assignments.php | 6 +++--- include/clients-edit.php | 4 ++-- include/clients-new.php | 2 +- include/clients-overview.php | 4 ++-- include/clients-view.php | 20 ++++++++++---------- include/clients.php | 6 +++--- include/contacts-edit.php | 4 ++-- include/contacts-new.php | 4 ++-- include/contacts-overview.php | 18 +++++++++--------- include/contacts.php | 6 +++--- include/discounts-edit.php | 4 ++-- include/discounts-new.php | 4 ++-- include/discounts-overview.php | 18 +++++++++--------- include/discounts.php | 6 +++--- include/home.php | 16 ++++++++-------- include/offers-edit.php | 4 ++-- include/offers-new.php | 4 ++-- include/offers-overview.php | 20 ++++++++++---------- include/offers-view.php | 28 ++++++++++++++-------------- include/offers.php | 12 ++++++------ include/settings.php | 4 ++-- include/users-new.php | 2 +- 27 files changed, 121 insertions(+), 121 deletions(-) (limited to 'include') diff --git a/include/about.php b/include/about.php index e7ab3d4..c2eb179 100644 --- a/include/about.php +++ b/include/about.php @@ -40,8 +40,8 @@ require('./header.php');
BusinessAdmin =constants::version?> is open source software under the GPL 3.0 license.
-A full version of the license is available here. An excerpt is shown below:
+BusinessAdmin =Constants::version?> is open source software under the GPL 3.0 license.
+A full version of the license is available here. An excerpt is shown below:
BusinessAdmin: administrative software for small companies
Copyright (C) 2015 Camil Staps (ViviSoft)
diff --git a/include/assignments-edit.php b/include/assignments-edit.php
index 7c63680..d2f5a6c 100644
--- a/include/assignments-edit.php
+++ b/include/assignments-edit.php
@@ -20,10 +20,10 @@
require_once('./conf.php');
require_once('./login-ajax.php');
-$response = new response();
+$response = new Response();
try {
- $assignment = new assignment($_pdo, $_REQUEST['pk']);
+ $assignment = new Assignment($_pdo, $_REQUEST['pk']);
$name = explode('-', $_REQUEST['name']);
$what_to_edit = $name[count($name) - 1];
diff --git a/include/assignments-new.php b/include/assignments-new.php
index 405c5fa..bcc545a 100644
--- a/include/assignments-new.php
+++ b/include/assignments-new.php
@@ -20,10 +20,10 @@
require_once('./conf.php');
require_once('./login-ajax.php');
-$response = new response();
+$response = new Response();
try {
- $offer = new offer($_pdo, $_REQUEST['offerId']);
+ $offer = new Offer($_pdo, $_REQUEST['offerId']);
$assignment = $offer->createAssignment(
$_REQUEST['title'],
diff --git a/include/assignments-overview.php b/include/assignments-overview.php
index 0e364d1..d4b350e 100644
--- a/include/assignments-overview.php
+++ b/include/assignments-overview.php
@@ -46,17 +46,17 @@ require_once('./login.php');
data-mixer-order-price='{$assignment->getPricePerHour()}'>
{$assignment->getId()}
- #{$assignment->getOffer()->getId()} to
- {$assignment->getOffer()->getContact()->getName()}
- ({$assignment->getOffer()->getContact()->getClient()->name})
+ #{$assignment->getOffer()->getId()} to
+ {$assignment->getOffer()->getContact()->getName()}
+ ({$assignment->getOffer()->getContact()->getClient()->name})
- {$assignment->getTitle()}
- {$assignment->getDescription(false)}
+ {$assignment->getTitle()}
+
- {$assignment->getHours()}h
+ {$assignment->getHours()}h
- ".constants::invoice_valuta."{$assignment->getPricePerHour()} / hr
- {$assignment->getVAT()}% VAT
+ ".Constants::invoice_valuta."{$assignment->getPricePerHour()} / hr
+ {$assignment->getVAT()}% VAT
@@ -77,7 +77,7 @@ require_once('./login.php');
Create new
-