Add pilot pay to journals; cleanup payment code #130

This commit is contained in:
Nabeel Shahzad
2018-03-02 13:12:39 -06:00
parent 284db21a3a
commit 9f89447070
10 changed files with 262 additions and 151 deletions

View File

@@ -20,9 +20,8 @@ trait HashId
/**
* Register callbacks
*/
protected static function boot()
protected static function bootHashId()
{
parent::boot();
static::creating(function ($model) {
if (empty($model->id)) {
$model->id = static::createNewHashId();