distribusi

This commit is contained in:
2026-06-25 14:50:27 +07:00
parent 7d40bcfb53
commit 871b015ce2
4 changed files with 54 additions and 17 deletions
+2 -2
View File
@@ -10,13 +10,13 @@ class Distribution extends Model
{
use HasFactory, SoftDeletes;
protected $table = 'distributions';
protected $table = 'distribusi';
// Karena id adalah BIGINT auto-increment, default Laravel sudah benar (incrementing = true)
protected $fillable = [
'petani_id','panen_uid', 'nama_pengirim', 'offtaker_id', 'nama_offtaker',
'komoditas_id', 'berat_kg', 'grade_petani', 'grade_offtaker',
'alasan_perbedaan_grade', 'harga_per_kg', 'total',
'alasan', 'harga_per_kg', 'total',
'tgl_distribusi', 'tgl_terima', 'catatan', 'status',
'sync_status', 'created_date', 'updated_date',
];