fixing description issue
This commit is contained in:
@@ -18,7 +18,7 @@ class Product extends Model
|
||||
|
||||
protected $hidden = ['tables_id', 'total_views', 'created_by', 'modified_by', 'updated_at', 'deleted_at'];
|
||||
|
||||
protected $fillable = ['tables_id', 'categories_id', 'total_views', 'status', 'top_pick', 'created_by', 'modified_by', 'presentation', 'fact_sheet', 'type', 'profit_sharing', 'upfront_rate', 'trail_rate', 'gst', 'tds', 'end_of_trail', 'channel_partner_aggrement'];
|
||||
protected $fillable = ['tables_id', 'description', 'categories_id', 'total_views', 'status', 'top_pick', 'created_by', 'modified_by', 'presentation', 'fact_sheet', 'type', 'profit_sharing', 'upfront_rate', 'trail_rate', 'gst', 'tds', 'end_of_trail', 'channel_partner_aggrement'];
|
||||
|
||||
// public function companies(){
|
||||
// return $this->belongsTo(Company::class,'id','companies_id');
|
||||
|
||||
@@ -259,7 +259,7 @@
|
||||
</div>
|
||||
<div class="col-md-6 fv-row">
|
||||
<label class=" fs-6 fw-semibold mb-2"><span class="required">Date Of Sale</span></label>
|
||||
<input type="date" id="edit_date_of_sale" name="date_of_sale" class="form-control form-control-solid" />
|
||||
<input type="date" id="edit_date_of_sale" value="12-12-2024" name="date_of_sale" class="form-control form-control-solid" />
|
||||
</div>
|
||||
<div class="col-md-6 fv-row">
|
||||
<label class=" fs-6 fw-semibold mb-2"><span class="required">Platform</span></label>
|
||||
@@ -332,7 +332,7 @@
|
||||
})
|
||||
|
||||
$('.edit-transaction-detail').click(function(e) {
|
||||
// alert($(this).data('id'));
|
||||
alert($(this).data('date_of_sale'));
|
||||
$('#edit-id').val($(this).data("id"));
|
||||
$('#edit-name').val($(this).data("name"));
|
||||
$('#edit-final_units_sold').val($(this).data("complete_units_sold"));
|
||||
|
||||
Reference in New Issue
Block a user