This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div> | |
<div class="p-2 rounded border shadow mb-2"> | |
<CheckBoxGroup :options="invoices"/> | |
</div> | |
<TextInput type="text" name="amount" label="Amount" id="amount" placeholder="Enter amount" value="" :error="error" /> | |
</div> | |
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div> | |
<div v-for="option in options"> | |
<div class="flex"> | |
<label class="md:w-2/3 flex text-gray-500 font-bold text-sm leading-tight items-center"> | |
<input class="mr-2" type="checkbox" :id="option.id" :value="option" v-model="checkedOptions"> | |
<div class="w-48" v-text="option.description"/> | |
<div class="w-16 text-right" v-text="option.valueDescription"/> | |
</label> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Http\Controllers; | |
use App\Cdr; | |
use Carbon\Carbon; | |
use Illuminate\Http\Request; | |
const HOURS=8; | |
const MAX_PHONECALL = 2; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Providers; | |
use App\Services\FusionApi; | |
use Illuminate\Contracts\Support\DeferrableProvider; | |
use Illuminate\Support\ServiceProvider; | |
class FusionApiProvider extends ServiceProvider implements DeferrableProvider | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Facades; | |
use Illuminate\Support\Facades\Facade; | |
class FusionApiFacade extends Facade | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Providers; | |
use App\Services\FusionApiService; | |
use Illuminate\Contracts\Support\DeferrableProvider; | |
use Illuminate\Support\ServiceProvider; | |
use Illuminate\Contracts\Config\Repository as Config; | |
class FusionApiProvider extends ServiceProvider implements DeferrableProvider |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Providers; | |
use App\Services\FusionApiService; | |
use Illuminate\Contracts\Support\DeferrableProvider; | |
use Illuminate\Support\ServiceProvider; | |
class FusionApiProvider extends ServiceProvider implements DeferrableProvider | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Services; | |
use App\Cdr; | |
use Carbon\Carbon; | |
use Illuminate\Contracts\Config\Repository; | |
use Illuminate\Database\QueryException; |
OlderNewer