Resolve "Superficial UAT changes for release" #864

Merged
jankstudio merged 12 commits from 66-superficial-uat-changes-for-release into master 2018-04-03 05:55:22 +00:00
2 changed files with 6 additions and 3 deletions
Showing only changes of commit cc132288f8 - Show all commits

View file

@ -4,11 +4,13 @@ namespace App\Ramcar;
class TradeInType extends NameValue
{
const MOTOLITE = 'motolite';
const OTHER = 'other';
const PREMIUM = 'premium';
const MOTOLITE = 'motolite';
const OTHER = 'other';
const COLLECTION = [
'motolite' => 'Motolite',
'premium' => 'Premium',
'motolite' => 'Non-premium',
'other' => 'Other',
];
}

View file

@ -37,6 +37,7 @@ class InvoiceCreator
public function getTradeInRate($trade_in)
{
// TODO: modify this with the prices based on size
if ($trade_in == 'motolite')
return self::TIRATE_MOTOLITE;