class Order(models.Model):
number = models.CharField(max_length=32)
total = models.DecimalField(
max_digits=10, decimal_places=2
)
def save(self, *args, **kwargs):
self.total = self.recalc()
super().save(*args, **kwargs)
class Order(models.Model):
number = models.CharField(max_length=32)
total = models.DecimalField(
max_digits=10, decimal_places=2
)
def save(self, *args, **kwargs):
self.total = self.recalc()
super().save(*args, **kwargs)
class Order(models.Model):
number = models.CharField(max_length=32)
total = models.DecimalField(
max_digits=10, decimal_places=2
)
def save(self, *args, **kwargs):
self.total = self.recalc()
super().save(*args, **kwargs)
class Order(models.Model):
number = models.CharField(max_length=32)
total = models.DecimalField(
max_digits=10, decimal_places=2
)
def save(self, *args, **kwargs):
self.total = self.recalc()
super().save(*args, **kwargs)
class Order(models.Model):
number = models.CharField(max_length=32)
total = models.DecimalField(
max_digits=10, decimal_places=2
)
def save(self, *args, **kwargs):
self.total = self.recalc()
super().save(*args, **kwargs)
class Order(models.Model):
number = models.CharField(max_length=32)
total = models.DecimalField(
max_digits=10, decimal_places=2
)
def save(self, *args, **kwargs):
self.total = self.recalc()
super().save(*args, **kwargs)
class Order(models.Model):
number = models.CharField(max_length=32)
total = models.DecimalField(
max_digits=10, decimal_places=2
)
def save(self, *args, **kwargs):
self.total = self.recalc()
super().save(*args, **kwargs)
class Order(models.Model):
number = models.CharField(max_length=32)
total = models.DecimalField(
max_digits=10, decimal_places=2
)
def save(self, *args, **kwargs):
self.total = self.recalc()
super().save(*args, **kwargs)
class Order(models.Model):
number = models.CharField(max_length=32)
total = models.DecimalField(
max_digits=10, decimal_places=2
)
def save(self, *args, **kwargs):
self.total = self.recalc()
super().save(*args, **kwargs)
class Order(models.Model):
number = models.CharField(max_length=32)
total = models.DecimalField(
max_digits=10, decimal_places=2
)
def save(self, *args, **kwargs):
self.total = self.recalc()
super().save(*args, **kwargs)
class Order(models.Model):
number = models.CharField(max_length=32)
total = models.DecimalField(
max_digits=10, decimal_places=2
)
def save(self, *args, **kwargs):
self.total = self.recalc()
super().save(*args, **kwargs)
class Order(models.Model):
number = models.CharField(max_length=32)
total = models.DecimalField(
max_digits=10, decimal_places=2
)
def save(self, *args, **kwargs):
self.total = self.recalc()
super().save(*args, **kwargs)
class Order(models.Model):
number = models.CharField(max_length=32)
total = models.DecimalField(
max_digits=10, decimal_places=2
)
def save(self, *args, **kwargs):
self.total = self.recalc()
super().save(*args, **kwargs)
class Order(models.Model):
number = models.CharField(max_length=32)
total = models.DecimalField(
max_digits=10, decimal_places=2
)
def save(self, *args, **kwargs):
self.total = self.recalc()
super().save(*args, **kwargs)$el = new CIBlockElement;
$id = $el->Add([
"IBLOCK_ID" => $iblock,
"NAME" => $name,
"ACTIVE" => "Y",
]);
if (!$id) {
throw new Exception($el->LAST_ERROR);
}
$el = new CIBlockElement;
$id = $el->Add([
"IBLOCK_ID" => $iblock,
"NAME" => $name,
"ACTIVE" => "Y",
]);
if (!$id) {
throw new Exception($el->LAST_ERROR);
}
$el = new CIBlockElement;
$id = $el->Add([
"IBLOCK_ID" => $iblock,
"NAME" => $name,
"ACTIVE" => "Y",
]);
if (!$id) {
throw new Exception($el->LAST_ERROR);
}
$el = new CIBlockElement;
$id = $el->Add([
"IBLOCK_ID" => $iblock,
"NAME" => $name,
"ACTIVE" => "Y",
]);
if (!$id) {
throw new Exception($el->LAST_ERROR);
}
$el = new CIBlockElement;
$id = $el->Add([
"IBLOCK_ID" => $iblock,
"NAME" => $name,
"ACTIVE" => "Y",
]);
if (!$id) {
throw new Exception($el->LAST_ERROR);
}
$el = new CIBlockElement;
$id = $el->Add([
"IBLOCK_ID" => $iblock,
"NAME" => $name,
"ACTIVE" => "Y",
]);
if (!$id) {
throw new Exception($el->LAST_ERROR);
}
$el = new CIBlockElement;
$id = $el->Add([
"IBLOCK_ID" => $iblock,
"NAME" => $name,
"ACTIVE" => "Y",
]);
if (!$id) {
throw new Exception($el->LAST_ERROR);
}
$el = new CIBlockElement;
$id = $el->Add([
"IBLOCK_ID" => $iblock,
"NAME" => $name,
"ACTIVE" => "Y",
]);
if (!$id) {
throw new Exception($el->LAST_ERROR);
}
$el = new CIBlockElement;
$id = $el->Add([
"IBLOCK_ID" => $iblock,
"NAME" => $name,
"ACTIVE" => "Y",
]);
if (!$id) {
throw new Exception($el->LAST_ERROR);
}
$el = new CIBlockElement;
$id = $el->Add([
"IBLOCK_ID" => $iblock,
"NAME" => $name,
"ACTIVE" => "Y",
]);
if (!$id) {
throw new Exception($el->LAST_ERROR);
}
$el = new CIBlockElement;
$id = $el->Add([
"IBLOCK_ID" => $iblock,
"NAME" => $name,
"ACTIVE" => "Y",
]);
if (!$id) {
throw new Exception($el->LAST_ERROR);
}
$el = new CIBlockElement;
$id = $el->Add([
"IBLOCK_ID" => $iblock,
"NAME" => $name,
"ACTIVE" => "Y",
]);
if (!$id) {
throw new Exception($el->LAST_ERROR);
}
$el = new CIBlockElement;
$id = $el->Add([
"IBLOCK_ID" => $iblock,
"NAME" => $name,
"ACTIVE" => "Y",
]);
if (!$id) {
throw new Exception($el->LAST_ERROR);
}
$el = new CIBlockElement;
$id = $el->Add([
"IBLOCK_ID" => $iblock,
"NAME" => $name,
"ACTIVE" => "Y",
]);
if (!$id) {
throw new Exception($el->LAST_ERROR);
}{
"@context": "https://schema.org",
"@type": "Organization",
"name": "Optimus Team",
"url": "https://optimus-team.dev",
"foundingDate": "2012"
}
{
"@context": "https://schema.org",
"@type": "Organization",
"name": "Optimus Team",
"url": "https://optimus-team.dev",
"foundingDate": "2012"
}
{
"@context": "https://schema.org",
"@type": "Organization",
"name": "Optimus Team",
"url": "https://optimus-team.dev",
"foundingDate": "2012"
}
{
"@context": "https://schema.org",
"@type": "Organization",
"name": "Optimus Team",
"url": "https://optimus-team.dev",
"foundingDate": "2012"
}
{
"@context": "https://schema.org",
"@type": "Organization",
"name": "Optimus Team",
"url": "https://optimus-team.dev",
"foundingDate": "2012"
}
{
"@context": "https://schema.org",
"@type": "Organization",
"name": "Optimus Team",
"url": "https://optimus-team.dev",
"foundingDate": "2012"
}
{
"@context": "https://schema.org",
"@type": "Organization",
"name": "Optimus Team",
"url": "https://optimus-team.dev",
"foundingDate": "2012"
}
{
"@context": "https://schema.org",
"@type": "Organization",
"name": "Optimus Team",
"url": "https://optimus-team.dev",
"foundingDate": "2012"
}
{
"@context": "https://schema.org",
"@type": "Organization",
"name": "Optimus Team",
"url": "https://optimus-team.dev",
"foundingDate": "2012"
}
{
"@context": "https://schema.org",
"@type": "Organization",
"name": "Optimus Team",
"url": "https://optimus-team.dev",
"foundingDate": "2012"
}
{
"@context": "https://schema.org",
"@type": "Organization",
"name": "Optimus Team",
"url": "https://optimus-team.dev",
"foundingDate": "2012"
}
{
"@context": "https://schema.org",
"@type": "Organization",
"name": "Optimus Team",
"url": "https://optimus-team.dev",
"foundingDate": "2012"
}
{
"@context": "https://schema.org",
"@type": "Organization",
"name": "Optimus Team",
"url": "https://optimus-team.dev",
"foundingDate": "2012"
}
{
"@context": "https://schema.org",
"@type": "Organization",
"name": "Optimus Team",
"url": "https://optimus-team.dev",
"foundingDate": "2012"
}- name: build
run: npm ci && npm run build
- name: deploy
run: rsync -az ./out $HOST:/var/www
- name: healthcheck
run: curl -fsS $HOST/health
- name: build
run: npm ci && npm run build
- name: deploy
run: rsync -az ./out $HOST:/var/www
- name: healthcheck
run: curl -fsS $HOST/health
- name: build
run: npm ci && npm run build
- name: deploy
run: rsync -az ./out $HOST:/var/www
- name: healthcheck
run: curl -fsS $HOST/health
- name: build
run: npm ci && npm run build
- name: deploy
run: rsync -az ./out $HOST:/var/www
- name: healthcheck
run: curl -fsS $HOST/health
- name: build
run: npm ci && npm run build
- name: deploy
run: rsync -az ./out $HOST:/var/www
- name: healthcheck
run: curl -fsS $HOST/health
- name: build
run: npm ci && npm run build
- name: deploy
run: rsync -az ./out $HOST:/var/www
- name: healthcheck
run: curl -fsS $HOST/health
- name: build
run: npm ci && npm run build
- name: deploy
run: rsync -az ./out $HOST:/var/www
- name: healthcheck
run: curl -fsS $HOST/health
- name: build
run: npm ci && npm run build
- name: deploy
run: rsync -az ./out $HOST:/var/www
- name: healthcheck
run: curl -fsS $HOST/health
- name: build
run: npm ci && npm run build
- name: deploy
run: rsync -az ./out $HOST:/var/www
- name: healthcheck
run: curl -fsS $HOST/health
- name: build
run: npm ci && npm run build
- name: deploy
run: rsync -az ./out $HOST:/var/www
- name: healthcheck
run: curl -fsS $HOST/health
- name: build
run: npm ci && npm run build
- name: deploy
run: rsync -az ./out $HOST:/var/www
- name: healthcheck
run: curl -fsS $HOST/health
- name: build
run: npm ci && npm run build
- name: deploy
run: rsync -az ./out $HOST:/var/www
- name: healthcheck
run: curl -fsS $HOST/health
- name: build
run: npm ci && npm run build
- name: deploy
run: rsync -az ./out $HOST:/var/www
- name: healthcheck
run: curl -fsS $HOST/health
- name: build
run: npm ci && npm run build
- name: deploy
run: rsync -az ./out $HOST:/var/www
- name: healthcheck
run: curl -fsS $HOST/health