fixing description issue

This commit is contained in:
Ritikesh yadav
2024-05-08 12:29:02 +05:30
parent 320c2a7978
commit f730e38dca
2 changed files with 3 additions and 3 deletions

View File

@@ -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');

View File

@@ -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"));