parent
320e3aa0ba
commit
cdef2abe1d
10 changed files with 151 additions and 55 deletions
@ -0,0 +1,36 @@ |
|||||||
|
<?php |
||||||
|
|
||||||
|
use Illuminate\Database\Migrations\Migration; |
||||||
|
use Illuminate\Database\Schema\Blueprint; |
||||||
|
use Illuminate\Support\Facades\Schema; |
||||||
|
|
||||||
|
class CreateJobsTable extends Migration |
||||||
|
{ |
||||||
|
/** |
||||||
|
* Run the migrations. |
||||||
|
* |
||||||
|
* @return void |
||||||
|
*/ |
||||||
|
public function up() |
||||||
|
{ |
||||||
|
Schema::create('jobs', function (Blueprint $table) { |
||||||
|
$table->bigIncrements('id'); |
||||||
|
$table->string('queue')->index(); |
||||||
|
$table->longText('payload'); |
||||||
|
$table->unsignedTinyInteger('attempts'); |
||||||
|
$table->unsignedInteger('reserved_at')->nullable(); |
||||||
|
$table->unsignedInteger('available_at'); |
||||||
|
$table->unsignedInteger('created_at'); |
||||||
|
}); |
||||||
|
} |
||||||
|
|
||||||
|
/** |
||||||
|
* Reverse the migrations. |
||||||
|
* |
||||||
|
* @return void |
||||||
|
*/ |
||||||
|
public function down() |
||||||
|
{ |
||||||
|
Schema::dropIfExists('jobs'); |
||||||
|
} |
||||||
|
} |
@ -0,0 +1,29 @@ |
|||||||
|
|
||||||
|
<style> |
||||||
|
.main-column{ |
||||||
|
display:flex; |
||||||
|
width:100%; |
||||||
|
} |
||||||
|
.column-one{ |
||||||
|
width:50%; |
||||||
|
} |
||||||
|
</style> |
||||||
|
|
||||||
|
<h1>@if($check !== '') Contact Details @else Quick Enquiry Details @endif </h1> |
||||||
|
<br /> |
||||||
|
<div class="main-column" style = "display:block; width:100%;"> |
||||||
|
<div class="column-one" style = "display:block; width:100%;"> |
||||||
|
<h3>Please, find out the @if(($check !== '')) contact @else quick enquiry @endif details</h3> |
||||||
|
<b>Full Name:</b> {{ $full_name }}<br /><br /> |
||||||
|
<b>Email:</b> {{ $email }}<br /><br /> |
||||||
|
<b>Phone:</b> {{$phone}}<br /><br /> |
||||||
|
@if($service !== '') |
||||||
|
<b>Service:</b> {{$service}}<br /><br /> |
||||||
|
@endif |
||||||
|
<b>Message:</b> {{ $contact_message }}<br /><br /> |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div> |
||||||
|
</div> |
||||||
|
|
Loading…
Reference in new issue