Trying to get this to play nicely with Laravel Spark Teams - have modified the Team Model as follows:
use Illuminate\Database\Eloquent\Model;
use Illuminate\Notifications\Notifiable;
use Mpociot\VatCalculator\Traits\BillableWithinTheEU;
class Team extends Model
{
use Notifiable, Billable, BillableWithinTheEU {
BillableWithinTheEU::getTaxPercent insteadof Billable;
}
But get the following error:
(1/1) FatalErrorExceptionTrait method taxPercentage has not been applied, because there are collisions with other trait methods on Laravel\Spark\Team
Its been a long day so I'm probably missing something obvious, but do you have any ideas?
Trying to get this to play nicely with Laravel Spark Teams - have modified the Team Model as follows:
But get the following error:
(1/1) FatalErrorExceptionTrait method taxPercentage has not been applied, because there are collisions with other trait methods on Laravel\Spark\Team
Its been a long day so I'm probably missing something obvious, but do you have any ideas?