added TypeAccountReplenishment
This commit is contained in:
parent
f5a6877966
commit
0a50b7c28a
|
|
@ -23,5 +23,5 @@ class TypeAccountReplenishment extends Model
|
|||
|
||||
public $implement = ['RainLab.Translate.Behaviors.TranslatableModel'];
|
||||
|
||||
public $translatable = ['type'];
|
||||
public $translatable = ['type','requirements_documents','information'];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,3 +3,17 @@ fields:
|
|||
label: 'Вид пополнения счета'
|
||||
span: auto
|
||||
type: text
|
||||
tabs:
|
||||
fields:
|
||||
requirements_documents:
|
||||
label: 'Требования и документы'
|
||||
size: giant
|
||||
span: auto
|
||||
type: richeditor
|
||||
tab: 'Требования и документы'
|
||||
information:
|
||||
label: Информация
|
||||
size: giant
|
||||
span: auto
|
||||
type: richeditor
|
||||
tab: 'Требования и документы'
|
||||
|
|
|
|||
|
|
@ -0,0 +1,23 @@
|
|||
<?php namespace Atash\Contact\Updates;
|
||||
|
||||
use Schema;
|
||||
use October\Rain\Database\Updates\Migration;
|
||||
|
||||
class BuilderTableUpdateAtashContactTypeAccountReplenishment extends Migration
|
||||
{
|
||||
public function up()
|
||||
{
|
||||
Schema::table('atash_contact_type_account_replenishment', function($table)
|
||||
{
|
||||
$table->text('requirements_documents')->nullable();
|
||||
});
|
||||
}
|
||||
|
||||
public function down()
|
||||
{
|
||||
Schema::table('atash_contact_type_account_replenishment', function($table)
|
||||
{
|
||||
$table->dropColumn('requirements_documents');
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,23 @@
|
|||
<?php namespace Atash\Contact\Updates;
|
||||
|
||||
use Schema;
|
||||
use October\Rain\Database\Updates\Migration;
|
||||
|
||||
class BuilderTableUpdateAtashContactTypeAccountReplenishment2 extends Migration
|
||||
{
|
||||
public function up()
|
||||
{
|
||||
Schema::table('atash_contact_type_account_replenishment', function($table)
|
||||
{
|
||||
$table->text('information')->nullable();
|
||||
});
|
||||
}
|
||||
|
||||
public function down()
|
||||
{
|
||||
Schema::table('atash_contact_type_account_replenishment', function($table)
|
||||
{
|
||||
$table->dropColumn('information');
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
@ -132,3 +132,9 @@
|
|||
1.0.45:
|
||||
- 'Updated table atash_contact_account_replenishment'
|
||||
- builder_table_update_atash_contact_account_replenishment_2.php
|
||||
1.0.46:
|
||||
- 'Updated table atash_contact_type_account_replenishment'
|
||||
- builder_table_update_atash_contact_type_account_replenishment.php
|
||||
1.0.47:
|
||||
- 'Updated table atash_contact_type_account_replenishment'
|
||||
- builder_table_update_atash_contact_type_account_replenishment_2.php
|
||||
|
|
|
|||
|
|
@ -231,7 +231,7 @@ Route::group(['prefix' => 'api'], function() {
|
|||
Route::get('me', function() {
|
||||
|
||||
$me = \JWTAuth::parseToken()->authenticate()
|
||||
->only(['account_replenishment','online_card','online_credit','message','email','surname','name','middle_name','date_birth','passport','place_passport','address_residence','mobile_phone','home_phone','username','is_activated']);
|
||||
->only(['account_replenishment','online_card','online_credit','email','surname','name','middle_name','date_birth','passport','place_passport','address_residence','mobile_phone','home_phone','username','is_activated']);
|
||||
|
||||
return Response::json(compact('me'));
|
||||
|
||||
|
|
@ -360,7 +360,7 @@ Route::group(['prefix' => 'api'], function() {
|
|||
{
|
||||
Mail::send('vdomah.jwtauth::mail.message', $vars, function($message) {
|
||||
|
||||
$message->to('gerchekgerchek1@gmail.com', 'Admin Person');
|
||||
$message->to('bank_kart@halkbank.gov.tm', 'Admin Person');
|
||||
$message->subject('Plastik kartlar');
|
||||
|
||||
});
|
||||
|
|
@ -370,7 +370,7 @@ Route::group(['prefix' => 'api'], function() {
|
|||
{
|
||||
Mail::send('vdomah.jwtauth::mail.message', $vars, function($message) {
|
||||
|
||||
$message->to('gerchekgerchek1@gmail.com', 'Admin Person');
|
||||
$message->to('karzonline@halkbank.gov.tm', 'Admin Person');
|
||||
$message->subject('Plastik kartlar DALLER');
|
||||
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue