snapshot of https://github.com/krayin/laravel-crm.git (2.2, 2026-09-18; blobs > 131072B omitted)
Some checks failed
Admin | Playwright Tests / Admin | Playwright Tests | Shard 1 Of 6 (push) Failing after 37s
Admin | Playwright Tests / Admin | Playwright Tests | Shard 2 Of 6 (push) Failing after 7s
Admin | Playwright Tests / Admin | Playwright Tests | Shard 4 Of 6 (push) Failing after 7s
Admin | Playwright Tests / Admin | Playwright Tests | Shard 6 Of 6 (push) Failing after 6s
Linting Tests / PHP 8.3 test on ubuntu-latest (push) Failing after 5s
CI / PHP 8.3 test on ubuntu-latest (push) Failing after 6s
Skills Consistency / validate-skills (push) Successful in 10s
Admin | Playwright Tests / Admin | Playwright Tests | Shard 3 Of 6 (push) Failing after 7s
Admin | Playwright Tests / Admin | Playwright Tests | Shard 5 Of 6 (push) Failing after 6s

This commit is contained in:
upstream-mirror
2026-09-18 04:37:41 +05:00
commit 135ffdb085
1274 changed files with 144880 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
<?php
namespace Webkul\WebForm\Models;
use Illuminate\Database\Eloquent\Model;
use Webkul\WebForm\Contracts\WebForm as WebFormContract;
class WebForm extends Model implements WebFormContract
{
protected $fillable = [
'form_id',
'title',
'description',
'submit_button_label',
'submit_success_action',
'submit_success_content',
'create_lead',
'lead_pipeline_id',
'background_color',
'form_background_color',
'form_title_color',
'form_submit_button_color',
'attribute_label_color',
];
/**
* The attributes that belong to the activity.
*/
public function attributes()
{
return $this->hasMany(WebFormAttributeProxy::modelClass());
}
}

View File

@@ -0,0 +1,48 @@
<?php
namespace Webkul\WebForm\Models;
use Illuminate\Database\Eloquent\Model;
use Webkul\Attribute\Models\AttributeProxy;
use Webkul\WebForm\Contracts\WebFormAttribute as WebFormAttributeContract;
class WebFormAttribute extends Model implements WebFormAttributeContract
{
/**
* Indicates if the model should be timestamped.
*
* @var string
*/
public $timestamps = false;
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = [
'name',
'placeholder',
'is_required',
'is_hidden',
'sort_order',
'attribute_id',
'web_form_id',
];
/**
* Get the attribute that owns the attribute.
*/
public function attribute()
{
return $this->belongsTo(AttributeProxy::modelClass());
}
/**
* Get the web_form that owns the attribute.
*/
public function web_form()
{
return $this->belongsTo(WebFormProxy::modelClass());
}
}

View File

@@ -0,0 +1,7 @@
<?php
namespace Webkul\WebForm\Models;
use Konekt\Concord\Proxies\ModelProxy;
class WebFormAttributeProxy extends ModelProxy {}

View File

@@ -0,0 +1,7 @@
<?php
namespace Webkul\WebForm\Models;
use Konekt\Concord\Proxies\ModelProxy;
class WebFormProxy extends ModelProxy {}