diff --git a/app/Models/Contracts/Bid.php b/app/Models/Contracts/Bid.php
index 80b8f34bc..760e66d15 100644
--- a/app/Models/Contracts/Bid.php
+++ b/app/Models/Contracts/Bid.php
@@ -24,6 +24,7 @@ class Bid extends Model
'character_id',
'corporation_name',
'corporation_id',
+ 'notes',
];
protected $guarded = [];
diff --git a/database/migrations/2019_04_24_000001_create_contracts_table.php b/database/migrations/2019_04_24_000001_create_contracts_table.php
index 959b267ec..ec455328d 100644
--- a/database/migrations/2019_04_24_000001_create_contracts_table.php
+++ b/database/migrations/2019_04_24_000001_create_contracts_table.php
@@ -35,6 +35,7 @@ class CreateContractsTable extends Migration
$table->string('character_id');
$table->string('corporation_name');
$table->string('corporation_id');
+ $table->text('notes');
$table->timestamps();
});
}
diff --git a/resources/views/contracts/admin/displayend.blade.php b/resources/views/contracts/admin/displayend.blade.php
index e69de29bb..e220ce987 100644
--- a/resources/views/contracts/admin/displayend.blade.php
+++ b/resources/views/contracts/admin/displayend.blade.php
@@ -0,0 +1,60 @@
+@extends('layouts.b4')
+@section('content')
+
+
Contract End
+
+
+
+
+
+
+
+
+
+
+
+
+ | Bid Amount |
+ Character Name |
+ Corporation Name |
+ Notes |
+ Accept? |
+
+
+ {!! Form::open(['action' => 'ContractAdminController@endContract', 'method' => 'POST']) !!}
+ @foreach($bids as $bid)
+
+ | {{ $bid['bid_amount'] }} |
+ {{ $bid['character_name'] }} |
+ {{ $bid['corporation_name'] }} |
+ {{ $bid['notes'] }} |
+ {{ Form::radio('accept', $bid['id'], false, ['class' => 'form-control']) }} |
+
+ @endforeach
+
+
+
+
+
+
+
+@endsection
\ No newline at end of file
diff --git a/resources/views/contracts/enterbid.blade.php b/resources/views/contracts/enterbid.blade.php
index 56aaa1665..fb101e4fb 100644
--- a/resources/views/contracts/enterbid.blade.php
+++ b/resources/views/contracts/enterbid.blade.php
@@ -23,6 +23,8 @@
{{ Form::radio('suffix', 'M', false) }}
{{ Form::label('suffix', 'B') }}
{{ Form::radio('suffix', 'B', false) }}
+ {{ Form::label('notes', 'Notes') }}
+ {{ Form::textarea('notes', '', ['class' => 'form-control']) }}
{{ Form::submit('Submit', ['class' => 'btn btn-primary']) }}
{!! Form::close() !!}