I have Campaign List in admin side.. I want to approve and disapprove campaign..
my campaign schema :
public function up()
{
Schema::create('campaign', function (Blueprint $table) {
$table->engine='InnoDB';
$table->increments('id');
$table->integer('users_id')->unsigned();
$table->foreign('users_id')->references('id')->on('users')
->onDelete('cascade')->onUpdate('cascade');
$table->string('campaign_name');
$table->float('campaign_goal',8,2);
$table->string('discription',400);
$table->string('image');
$table->string('category');
$table->date('start_date');
$table->date('end_date');
$table->float('total_fund',8,2);
$table->boolean('is_approved');
$table->softDeletes();
});
}
How to approve and disapprove campaign... Please provide code...
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2GbL7oe
via IFTTT
Aucun commentaire:
Enregistrer un commentaire