controller for pi taxes for admin page
This commit is contained in:
@@ -16,20 +16,17 @@ class CreatePiSaleJournalsTable extends Migration
|
||||
if(!Schema::hasTable('pi_sale_journal')) {
|
||||
Schema::create('pi_sale_journal', function(Blueprint $table) {
|
||||
$table->string('id')->unique();
|
||||
$table->integer('corporation_id')->nullabe();
|
||||
$table->integer('division')->default(0);
|
||||
$table->decimal('amount', 20, 2)->nullable();
|
||||
$table->decimal('balance', 20, 2)->nullable();
|
||||
$table->bigInteger('context_id')->nullable();
|
||||
$table->string('context_id_type')->nullable();
|
||||
$table->dateTime('date')->nullabe();
|
||||
$table->string('description')->nullabe();
|
||||
$table->integer('first_party_id')->nullable();
|
||||
$table->string('reason')->default(' ');
|
||||
$table->string('ref_type')->nullabe();
|
||||
$table->integer('second_party_id')->nullable();
|
||||
$table->decimal('tax', 20, 2)->default(0.00);
|
||||
$table->integer('tax_receiver_id')->nullable();
|
||||
$table->integer('corp_id');
|
||||
$table->integer('division');
|
||||
$table->integer('client_id');
|
||||
$table->string('date');
|
||||
$table->boolean('is_buy');
|
||||
$table->integer('journal_ref_id');
|
||||
$table->integer('location_id');
|
||||
$table->integer('quantity');
|
||||
$table->integer('transaction_id');
|
||||
$table->integer('type_id');
|
||||
$table->decimal('unit_price');
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user