Файловый менеджер - Редактировать - /home/easybachat/hisabat365.com/4a7891/app.zip
Ðазад
PK S�)[��Lr r Stock.phpnu �Iw�� <?php namespace App; use Illuminate\Database\Eloquent\Model; class Stock extends Model { /** * The table associated with the model. * * @var string */ protected $table = 'current_stocks'; protected $guarded = []; public function product() { return $this->belongsTo('App\Product',"product_id")->withDefault(); } }PK S�)[Y|O� GroupChatMessageStatus.phpnu �Iw�� <?php namespace App; use Illuminate\Database\Eloquent\Model; class GroupChatMessageStatus extends Model { /** * The table associated with the model. * * @var string */ protected $table = 'group_chat_message_status'; }PK S�)[!�#� � CurrencyRate.phpnu �Iw�� <?php namespace App; use Illuminate\Database\Eloquent\Model; class CurrencyRate extends Model { /** * The table associated with the model. * * @var string */ protected $table = 'currency_rates'; }PK S�)[� �� � Faq.phpnu �Iw�� <?php namespace App; use Illuminate\Database\Eloquent\Model; class Faq extends Model { /** * The table associated with the model. * * @var string */ protected $table = 'cm_faqs'; }PK S�)[ct8�� � ChatGroup.phpnu �Iw�� <?php namespace App; use Illuminate\Database\Eloquent\Model; class ChatGroup extends Model { /** * The table associated with the model. * * @var string */ protected $table = 'chat_groups'; public function creator(){ return $this->belongsTo('App\User','created_by')->withDefault(); } public function group_members(){ return $this->belongsToMany('App\User', 'chat_group_users', 'group_id', 'user_id'); } }PK S�)[h�:i� � PurchaseOrderItemTax.phpnu �Iw�� <?php namespace App; use Illuminate\Database\Eloquent\Model; class PurchaseOrderItemTax extends Model { /** * The table associated with the model. * * @var string */ protected $table = 'purchase_order_item_taxes'; }PK S�)[�k _D D Purchase.phpnu �Iw�� <?php namespace App; use Illuminate\Database\Eloquent\Model; class Purchase extends Model { /** * The table associated with the model. * * @var string */ protected $table = 'purchase_orders'; public function purchase_items() { return $this->hasMany('App\PurchaseOrderItem',"purchase_order_id"); } public function supplier() { return $this->belongsTo('App\Supplier',"supplier_id")->withDefault(); } public function tax() { return $this->belongsTo('App\Tax',"tax_id")->withDefault(); } }PK S�)[i�_�� � InvoiceTemplate.phpnu �Iw�� <?php namespace App; use Illuminate\Database\Eloquent\Model; class InvoiceTemplate extends Model { /** * The table associated with the model. * * @var string */ protected $table = 'invoice_templates'; }PK S�)[�g��� � ChatGroupUser.phpnu �Iw�� <?php namespace App; use Illuminate\Database\Eloquent\Model; class ChatGroupUser extends Model { /** * The table associated with the model. * * @var string */ protected $table = 'chat_group_users'; }PK S�)[���a� � FileManager.phpnu �Iw�� <?php namespace App; use Illuminate\Database\Eloquent\Model; class FileManager extends Model { /** * The table associated with the model. * * @var string */ protected $table = 'file_manager'; }PK S�)[9�cyI I Listeners/LogVerifiedUser.phpnu �Iw�� <?php namespace App\Listeners; use Illuminate\Auth\Events\Verified; use Illuminate\Queue\InteractsWithQueue; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Support\Facades\Mail; use App\Mail\RegistrationMail; use App\EmailTemplate; use App\Utilities\Overrider; class LogVerifiedUser { /** * Create the event listener. * * @return void */ public function __construct() { // } /** * Handle the event. * * @param Verified $event * @return void */ public function handle(Verified $event) { $user = $event->user; //Replace paremeter $replace = array( '{name}'=>$user->name, '{email}'=>$user->email, '{valid_to}' =>date('d M,Y', strtotime($user->valid_to)), ); //Send Welcome email Overrider::load("Settings"); $template = EmailTemplate::where('name','registration')->first(); $template->body = process_string($replace, $template->body); try{ Mail::to($user->email)->send(new RegistrationMail($template)); }catch (\Exception $e) { // Nothing } } } PK S�)[���� � ContactGroup.phpnu �Iw�� <?php namespace App; use Illuminate\Database\Eloquent\Model; class ContactGroup extends Model { /** * The table associated with the model. * * @var string */ protected $table = 'contact_groups'; }PK S�)[x� '